Details
-
Bug
-
Resolution: Fixed
-
High
-
2.5.5
Description
Summary
While creating a new Service Desk, the administrator gets the following exception on the screen:
Could not initialize class com.atlassian.servicedesk.plugins.automation.internal.bootstrap.database.schema.common.querydsl.Tables Please contact the system administrator.
The Service Desk is created if you reload the page, but it appears to be corrupt as there are no Request Types, Queues, SLAs
Steps to Reproduce
- Install JIRA Service Desk on JIRA.
- In the Service Desk menu, click Create a Service Desk.
- Fill in Project name and Project key and click Create.
Expected Results
The Service Desk is created without any error messages and is usable after that.
Actual Results
The below exception is thrown in the atlassian-jira.log file:
2015-09-07 14:52:20,573 http-bio-8080-exec-17 ERROR pcora 892x1294x1 xi0v7g 0:0:0:0:0:0:0:1 /rest/servicedesk/1/servicedesk/gettingstarted [common.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: Could not initialize class com.atlassian.servicedesk.plugins.automation.internal.bootstrap.database.schema.common.querydsl.Tables java.lang.NoClassDefFoundError: Could not initialize class com.atlassian.servicedesk.plugins.automation.internal.bootstrap.database.schema.common.querydsl.Tables at com.atlassian.servicedesk.plugins.automation.internal.configuration.project.dao.querydsl.ProjectUserContextDaoImpl.setRunAsUserContextConfigForProject(ProjectUserContextDaoImpl.java:54) at com.atlassian.servicedesk.plugins.automation.internal.configuration.project.ProjectRunAsUserContextConfigManagerImpl.setRunAsUserContextConfigForProject(ProjectRunAsUserContextConfigManagerImpl.java:66) at com.atlassian.servicedesk.plugins.automation.internal.configuration.project.ProjectRunAsUserContextConfigServiceImpl.setRunAsUserContextConfigForProject(ProjectRunAsUserContextConfigServiceImpl.java:108) at com.atlassian.servicedesk.internal.automation.defaultrule.DefaultAutomationRuleServiceImpl.setRunAsUserContextConfigForProject(DefaultAutomationRuleServiceImpl.java:187) at com.atlassian.servicedesk.internal.feature.gettingstarted.GettingStartedService.com$atlassian$servicedesk$internal$feature$gettingstarted$GettingStartedService$$setAutomationRunAsUser(GettingStartedService.scala:428) at com.atlassian.servicedesk.internal.feature.gettingstarted.GettingStartedService$$anonfun$createServiceDeskForEmptyProject$1$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$5.apply(GettingStartedService.scala:158) at com.atlassian.servicedesk.internal.feature.gettingstarted.GettingStartedService$$anonfun$createServiceDeskForEmptyProject$1$$anonfun$apply$2$$anonfun$apply$4$$anonfun$apply$5.apply(GettingStartedService.scala:155) at scalaz.$bslash$div$class.flatMap(Either.scala:117) at scalaz.$bslash$div$minus.flatMap(Either.scala:283) at com.atlassian.servicedesk.internal.feature.gettingstarted.GettingStartedService$$anonfun$createServiceDeskForEmptyProject$1$$anonfun$apply$2$$anonfun$apply$4.apply(GettingStartedService.scala:155) at com.atlassian.servicedesk.internal.feature.gettingstarted.GettingStartedService$$anonfun$createServiceDeskForEmptyProject$1$$anonfun$apply$2$$anonfun$apply$4.apply(GettingStartedService.scala:150) at scalaz.$bslash$div$class.flatMap(Either.scala:117) at scalaz.$bslash$div$minus.flatMap(Either.scala:283) at com.atlassian.servicedesk.internal.feature.gettingstarted.GettingStartedService$$anonfun$createServiceDeskForEmptyProject$1$$anonfun$apply$2.apply(GettingStartedService.scala:150) at com.atlassian.servicedesk.internal.feature.gettingstarted.GettingStartedService$$anonfun$createServiceDeskForEmptyProject$1$$anonfun$apply$2.apply(GettingStartedService.scala:147) at scalaz.$bslash$div$class.flatMap(Either.scala:117)
Notes
JIRA 6.4.11
Workaround
- Uninstall JIRA Service Desk 2.5.5;
- Download version 2.5.4;
- Install the OBR through the Upload Add-on link in the Manage Add-ons page as per Installing add-ons - Installing by file upload