java.lang.IllegalStateException: An issue type with the name 'Incident' exists already. 2016-02-02 11:23:40.130977500 at com.atlassian.jira.config.DefaultIssueTypeManager.createIssueTypeAndAddToDefaultScheme(DefaultIssueTypeManager.java:141)

Atlassian JIRA | Marco Garcia [Atlassian] | 10 months ago
  1. 0

    h3. Summary When creating a Service Desk project for the first time, if a default issue type that would be created during the project creation process already exists, it must match the intended case sensitivity or project creation will fail. For example: If an issue type exists titled "INCIDENT", project creation will fail when creating an IT Service Desk as the process is attempting to create an issue type titled "Incident". This would also fail with any other case configuration that differs from the default "Incident", such as "INCident","InciDENT",etc.. h3. Environment * JIRA Service Desk v3.2.0-OD-01-001 * JIRA Service Desk v3.1.0-OD-12-001 h3. Steps to Reproduce On an instance that currently doesn't contain a Service Desk project: # Create an Issue Type titled "INCIDENT" # Attempt to create an IT Service Desk # Observe error: - {code}Hmm... we couldn't create your project due to an unknown error. Try refreshing the page to start again.{code} h3. Expected Results Projected should be created, using existing issue type's case structure. h3. Actual Results The below exception is thrown in the JIRA log file: {noformat} 2016-02-02 11:23:40.130911500 2016-02-02 11:23:40,122 http-nio-2990-exec-1301 ERROR sysadmin 683x221172x1 1ar6uib 4.15.43.214,165.254.226.114,127.0.0.1 /rest/project-templates/1.0/templates [c.a.jira.project.ProjectCreateRegistrarImpl] The handler with id com.atlassian.jira.project-templates-plugin:apply-project-template-handler threw an exception while handling a notification about a project being created 2016-02-02 11:23:40.130915500 java.lang.IllegalStateException: An issue type with the name 'Incident' exists already. 2016-02-02 11:23:40.130977500 at com.atlassian.jira.config.DefaultIssueTypeManager.createIssueTypeAndAddToDefaultScheme(DefaultIssueTypeManager.java:141) 2016-02-02 11:23:40.130978500 at com.atlassian.jira.config.DefaultIssueTypeManager.createIssueTypeAndAddToDefaultScheme(DefaultIssueTypeManager.java:171) 2016-02-02 11:23:40.130978500 at com.atlassian.jira.config.DefaultIssueTypeManager.createIssueType(DefaultIssueTypeManager.java:98) 2016-02-02 11:23:40.130986500 at sun.reflect.GeneratedMethodAccessor14289.invoke(Unknown Source) 2016-02-02 11:23:40.130987500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2016-02-02 11:23:40.130988500 at java.lang.reflect.Method.invoke(Method.java:497) 2016-02-02 11:23:40.130996500 at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26) 2016-02-02 11:23:40.130996500 at com.sun.proxy.$Proxy73.createIssueType(Unknown Source) 2016-02-02 11:23:40.130997500 ... 2 filtered {noformat} h3. Notes This has been verified on all issue types associated with the default Service Desk project templates. Project creation does not fail with the same scenario for JIRA Software and Business project templates. h3.Workaround - Edit the existing Issue Type to the default intended case sensitivity, and re-attempt project creation. - If you would prefer a different case sensitivity of your issue types, you can create the service desk project and then edit the issue type afterwards.

    Atlassian JIRA | 10 months ago | Marco Garcia [Atlassian]
    java.lang.IllegalStateException: An issue type with the name 'Incident' exists already. 2016-02-02 11:23:40.130977500 at com.atlassian.jira.config.DefaultIssueTypeManager.createIssueTypeAndAddToDefaultScheme(DefaultIssueTypeManager.java:141)
  2. 0

    h3. Summary When creating a Service Desk project for the first time, if a default issue type that would be created during the project creation process already exists, it must match the intended case sensitivity or project creation will fail. For example: If an issue type exists titled "INCIDENT", project creation will fail when creating an IT Service Desk as the process is attempting to create an issue type titled "Incident". This would also fail with any other case configuration that differs from the default "Incident", such as "INCident","InciDENT",etc.. h3. Environment * JIRA Service Desk v3.2.0-OD-01-001 * JIRA Service Desk v3.1.0-OD-12-001 h3. Steps to Reproduce On an instance that currently doesn't contain a Service Desk project: # Create an Issue Type titled "INCIDENT" # Attempt to create an IT Service Desk # Observe error: - {code}Hmm... we couldn't create your project due to an unknown error. Try refreshing the page to start again.{code} h3. Expected Results Projected should be created, using existing issue type's case structure. h3. Actual Results The below exception is thrown in the JIRA log file: {noformat} 2016-02-02 11:23:40.130911500 2016-02-02 11:23:40,122 http-nio-2990-exec-1301 ERROR sysadmin 683x221172x1 1ar6uib 4.15.43.214,165.254.226.114,127.0.0.1 /rest/project-templates/1.0/templates [c.a.jira.project.ProjectCreateRegistrarImpl] The handler with id com.atlassian.jira.project-templates-plugin:apply-project-template-handler threw an exception while handling a notification about a project being created 2016-02-02 11:23:40.130915500 java.lang.IllegalStateException: An issue type with the name 'Incident' exists already. 2016-02-02 11:23:40.130977500 at com.atlassian.jira.config.DefaultIssueTypeManager.createIssueTypeAndAddToDefaultScheme(DefaultIssueTypeManager.java:141) 2016-02-02 11:23:40.130978500 at com.atlassian.jira.config.DefaultIssueTypeManager.createIssueTypeAndAddToDefaultScheme(DefaultIssueTypeManager.java:171) 2016-02-02 11:23:40.130978500 at com.atlassian.jira.config.DefaultIssueTypeManager.createIssueType(DefaultIssueTypeManager.java:98) 2016-02-02 11:23:40.130986500 at sun.reflect.GeneratedMethodAccessor14289.invoke(Unknown Source) 2016-02-02 11:23:40.130987500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2016-02-02 11:23:40.130988500 at java.lang.reflect.Method.invoke(Method.java:497) 2016-02-02 11:23:40.130996500 at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26) 2016-02-02 11:23:40.130996500 at com.sun.proxy.$Proxy73.createIssueType(Unknown Source) 2016-02-02 11:23:40.130997500 ... 2 filtered {noformat} h3. Notes This has been verified on all issue types associated with the default Service Desk project templates. Project creation does not fail with the same scenario for JIRA Software and Business project templates. h3.Workaround - Edit the existing Issue Type to the default intended case sensitivity, and re-attempt project creation. - If you would prefer a different case sensitivity of your issue types, you can create the service desk project and then edit the issue type afterwards.

    Atlassian JIRA | 10 months ago | Marco Garcia [Atlassian]
    java.lang.IllegalStateException: An issue type with the name 'Incident' exists already. 2016-02-02 11:23:40.130977500 at com.atlassian.jira.config.DefaultIssueTypeManager.createIssueTypeAndAddToDefaultScheme(DefaultIssueTypeManager.java:141)
  3. 0

    h3. Summary Creating a JIRA Software Project (Scrum, Kanban or Basic), if the Issue Types "Epic" or "Story" exist but are not of type "Standard" the project creation fails. h3. Environment * JIRA Software h3. Steps to Reproduce # Remove Issue Types "Story" or "Epic" if they exist. # Create an Issue Type called "Story" or "Epic" of type" "Sub-Task" # Create a Scrum, Kanban or Basic Software project h3. Expected Results The project is created with either the same Issue Type that exists or a new one that meets the requirements. Else, a message on screens specifies the problem so it can be corrected. h3. Actual Results On the last step of the project creation, the following message is shown: {quote} Hmm... we couldn't create your project due to an unknown error. Try refreshing the page to start again. {quote} JIRA logs the error: {noformat} 2016-04-01 16:20:25.128269500 2016-04-01 05:20:25,123 http-nio-2990-exec-4 ERROR username 980x1976x1 fwe3kl 59.167.133.100 /rest/project-templates/1.0/templates [c.a.jira.project.ProjectCreateRegistrarImpl] The handler with id com.atlassian.jira.project-templates-plugin:apply-project-template-handler threw an exception while handling a notification about a project being created 2016-04-01 16:20:25.128272500 java.lang.IllegalStateException: An issue type with the name 'Story' exists already. 2016-04-01 16:20:25.128272500 at com.atlassian.jira.config.DefaultIssueTypeManager.createIssueTypeAndAddToDefaultScheme(DefaultIssueTypeManager.java:141) 2016-04-01 16:20:25.128304500 at com.atlassian.jira.config.DefaultIssueTypeManager.createIssueTypeAndAddToDefaultScheme(DefaultIssueTypeManager.java:171) 2016-04-01 16:20:25.128305500 at com.atlassian.jira.config.DefaultIssueTypeManager.createIssueType(DefaultIssueTypeManager.java:98) 2016-04-01 16:20:25.128305500 at sun.reflect.GeneratedMethodAccessor1103.invoke(Unknown Source) 2016-04-01 16:20:25.128310500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2016-04-01 16:20:25.128310500 at java.lang.reflect.Method.invoke(Method.java:497) 2016-04-01 16:20:25.128310500 at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26) 2016-04-01 16:20:25.128317500 at com.sun.proxy.$Proxy17.createIssueType(Unknown Source) 2016-04-01 16:20:25.128317500 ... 2 filtered 2016-04-01 16:20:25.128317500 at java.lang.reflect.Method.invoke(Method.java:497) 2016-04-01 16:20:25.128317500 at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:136) 2016-04-01 16:20:25.128321500 at com.sun.proxy.$Proxy17.createIssueType(Unknown Source) 2016-04-01 16:20:25.128322500 at com.atlassian.greenhopper.manager.issue.issuetypes.AbstractIssueTypeProvider.produceIssueType(AbstractIssueTypeProvider.java:148) 2016-04-01 16:20:25.128322500 at com.atlassian.greenhopper.manager.issue.issuetypes.AbstractIssueTypeProvider.ensureIssueTypeIsAvailable(AbstractIssueTypeProvider.java:114) 2016-04-01 16:20:25.128326500 at com.atlassian.greenhopper.manager.issue.issuetypes.AbstractIssueTypeProvider.getOrCreateIssueType(AbstractIssueTypeProvider.java:48) 2016-04-01 16:20:25.128327500 at com.atlassian.greenhopper.service.issue.IssueTypeServiceImpl.getOrCreateStoryIssueType(IssueTypeServiceImpl.java:28) 2016-04-01 16:20:25.128328500 at com.atlassian.greenhopper.service.issue.IssueTypeSchemeServiceImpl.addAllAgileIssueTypesToScheme(IssueTypeSchemeServiceImpl.java:33) 2016-04-01 16:20:25.128332500 at com.atlassian.greenhopper.web.rapid.project.AgileProjectConfiguratorImpl.extendConfiguration(AgileProjectConfiguratorImpl.java:81) 2016-04-01 16:20:25.128333500 at com.atlassian.greenhopper.web.rapid.project.AgileProjectConfiguratorImpl.configure(AgileProjectConfiguratorImpl.java:42) 2016-04-01 16:20:25.128334500 at com.atlassian.greenhopper.web.rapid.project.ProjectCreateHookHelperImpl.configureProject(ProjectCreateHookHelperImpl.java:77) 2016-04-01 16:20:25.128338500 at com.atlassian.greenhopper.web.rapid.project.GreenHopperProjectCreateHook.configure(GreenHopperProjectCreateHook.java:45) 2016-04-01 16:20:25.128338500 at com.atlassian.jira.projecttemplates.service.ApplyProjectTemplateHandler.applyProjectTemplate(ApplyProjectTemplateHandler.java:65) 2016-04-01 16:20:25.128339500 at com.atlassian.jira.projecttemplates.service.ApplyProjectTemplateHandler.onProjectCreated(ApplyProjectTemplateHandler.java:53) 2016-04-01 16:20:25.128343500 at com.atlassian.jira.project.ProjectCreateRegistrarImpl.notifyAllHandlers(ProjectCreateRegistrarImpl.java:36) 2016-04-01 16:20:25.128343500 at com.atlassian.jira.bc.project.DefaultProjectService.notifyHandlersOfProjectCreated(DefaultProjectService.java:394) 2016-04-01 16:20:25.128358500 at com.atlassian.jira.bc.project.DefaultProjectService.createProjectInternal(DefaultProjectService.java:379) 2016-04-01 16:20:25.128358500 at com.atlassian.jira.bc.project.DefaultProjectService.createProject(DefaultProjectService.java:349) 2016-04-01 16:20:25.128359500 ... 2 filtered 2016-04-01 16:20:25.128359500 at java.lang.reflect.Method.invoke(Method.java:497) 2016-04-01 16:20:25.128363500 at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26) 2016-04-01 16:20:25.128363500 at com.sun.proxy.$Proxy236.createProject(Unknown Source) 2016-04-01 16:20:25.128364500 ... 2 filtered 2016-04-01 16:20:25.128364500 at java.lang.reflect.Method.invoke(Method.java:497) 2016-04-01 16:20:25.128364500 at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:136) 2016-04-01 16:20:25.128368500 at com.sun.proxy.$Proxy236.createProject(Unknown Source) 2016-04-01 16:20:25.128369500 at com.atlassian.jira.projecttemplates.service.ProjectTemplateServiceImpl.applyProjectTemplate(ProjectTemplateServiceImpl.java:173) 2016-04-01 16:20:25.128369500 at com.atlassian.jira.projecttemplates.rest.ProjectTemplatesResource.createProjectFromFormRequest(ProjectTemplatesResource.java:170) 2016-04-01 16:20:25.128377500 ... 2 filtered 2016-04-01 16:20:25.128377500 at java.lang.reflect.Method.invoke(Method.java:497) 2016-04-01 16:20:25.128378500 at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) 2016-04-01 16:20:25.128379500 ... 12 filtered 2016-04-01 16:20:25.128379500 at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:154) 2016-04-01 16:20:25.128388500 ... 1 filtered 2016-04-01 16:20:25.128388500 at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:68) 2016-04-01 16:20:25.128389500 ... 50 filtered 2016-04-01 16:20:25.128389500 at com.atlassian.web.servlet.plugin.request.RedirectInterceptingFilter.doFilter(RedirectInterceptingFilter.java:21) 2016-04-01 16:20:25.128397500 ... 42 filtered 2016-04-01 16:20:25.128397500 at com.atlassian.plugin.connect.plugin.auth.scope.ApiScopingFilter.doFilter(ApiScopingFilter.java:81) 2016-04-01 16:20:25.128398500 ... 14 filtered 2016-04-01 16:20:25.128398500 at com.atlassian.jira.security.JiraSecurityFilter.lambda$doFilter$0(JiraSecurityFilter.java:76) 2016-04-01 16:20:25.128399500 at com.atlassian.jira.security.JiraSecurityFilter$$Lambda$428/30580541.doFilter(Unknown Source) 2016-04-01 16:20:25.128406500 ... 1 filtered 2016-04-01 16:20:25.128406500 at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:74) 2016-04-01 16:20:25.128412500 ... 16 filtered 2016-04-01 16:20:25.128412500 at com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestSeraphFilter.java:37) 2016-04-01 16:20:25.128413500 ... 16 filtered 2016-04-01 16:20:25.128413500 at com.atlassian.studio.jira.homepage.CloudHomepageFilter$Action.lambda$nextInFilterChain$1(CloudHomepageFilter.java:110) 2016-04-01 16:20:25.128414500 at com.atlassian.studio.jira.homepage.CloudHomepageFilter$Action$$Lambda$425/6405433.execute(Unknown Source) 2016-04-01 16:20:25.128421500 at com.atlassian.studio.jira.homepage.CloudHomepageFilter.doFilter(CloudHomepageFilter.java:68) 2016-04-01 16:20:25.128421500 ... 17 filtered 2016-04-01 16:20:25.128421500 at com.atlassian.jira.servermetrics.CorrelationIdPopulatorFilter.doFilter(CorrelationIdPopulatorFilter.java:30) 2016-04-01 16:20:25.128422500 ... 5 filtered 2016-04-01 16:20:25.128422500 at com.atlassian.plugin.connect.plugin.auth.user.ThreeLeggedAuthFilter.doFilter(ThreeLeggedAuthFilter.java:110) 2016-04-01 16:20:25.128427500 ... 3 filtered 2016-04-01 16:20:25.128428500 at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.lambda$invokeFilterChain$0(CustomerContextSettingFilter.java:174) 2016-04-01 16:20:25.128428500 at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter$$Lambda$781/21320988.call(Unknown Source) 2016-04-01 16:20:25.128438500 at com.atlassian.servicedesk.internal.utils.context.ReentrantThreadLocalBasedCodeContext.rteInvoke(ReentrantThreadLocalBasedCodeContext.java:142) 2016-04-01 16:20:25.128439500 at com.atlassian.servicedesk.internal.utils.context.ReentrantThreadLocalBasedCodeContext.runOutOfContext(ReentrantThreadLocalBasedCodeContext.java:94) 2016-04-01 16:20:25.128440500 at com.atlassian.servicedesk.internal.utils.context.CustomerContextServiceImpl.outOfCustomerContext(CustomerContextServiceImpl.java:44) 2016-04-01 16:20:25.128445500 at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.outOfCustomerContext(CustomerContextSettingFilter.java:169) 2016-04-01 16:20:25.128446500 at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.doFilterImpl(CustomerContextSettingFilter.java:125) 2016-04-01 16:20:25.128447500 at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.doFilter(CustomerContextSettingFilter.java:116) 2016-04-01 16:20:25.128452500 ... 3 filtered 2016-04-01 16:20:25.128453500 at com.atlassian.jwt.internal.servlet.JwtAuthFilter.doFilter(JwtAuthFilter.java:32) 2016-04-01 16:20:25.128453500 ... 8 filtered 2016-04-01 16:20:25.128453500 at com.atlassian.web.servlet.plugin.request.RedirectInterceptingFilter.doFilter(RedirectInterceptingFilter.java:21) 2016-04-01 16:20:25.128464500 ... 4 filtered 2016-04-01 16:20:25.128465500 at com.atlassian.web.servlet.plugin.LocationCleanerFilter.doFilter(LocationCleanerFilter.java:36) 2016-04-01 16:20:25.128465500 ... 29 filtered 2016-04-01 16:20:25.128466500 at com.atlassian.jira.servermetrics.MetricsCollectorFilter.doFilter(MetricsCollectorFilter.java:25) 2016-04-01 16:20:25.128466500 ... 28 filtered 2016-04-01 16:20:25.128472500 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 2016-04-01 16:20:25.128472500 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 2016-04-01 16:20:25.128473500 at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) 2016-04-01 16:20:25.128473500 at java.lang.Thread.run(Thread.java:745) 2016-04-01 16:20:25.198996500 2016-04-01 05:20:25,194 http-nio-2990-exec-4 ERROR username 980x1976x1 fwe3kl 59.167.133.100 /rest/project-templates/1.0/templates [c.a.p.r.c.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: An error occurred while notifying that a project was created 2016-04-01 16:20:25.198998500 java.lang.RuntimeException: An error occurred while notifying that a project was created 2016-04-01 16:20:25.198999500 at com.atlassian.jira.bc.project.DefaultProjectService.notifyHandlersOfProjectCreated(DefaultProjectService.java:397) 2016-04-01 16:20:25.199034500 at com.atlassian.jira.bc.project.DefaultProjectService.createProjectInternal(DefaultProjectService.java:379) 2016-04-01 16:20:25.199035500 at com.atlassian.jira.bc.project.DefaultProjectService.createProject(DefaultProjectService.java:349) 2016-04-01 16:20:25.199035500 at sun.reflect.GeneratedMethodAccessor965.invoke(Unknown Source) 2016-04-01 16:20:25.199036500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2016-04-01 16:20:25.199040500 at java.lang.reflect.Method.invoke(Method.java:497) 2016-04-01 16:20:25.199041500 at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26) 2016-04-01 16:20:25.199047500 at com.sun.proxy.$Proxy236.createProject(Unknown Source) 2016-04-01 16:20:25.199047500 ... 2 filtered 2016-04-01 16:20:25.199047500 at java.lang.reflect.Method.invoke(Method.java:497) 2016-04-01 16:20:25.199048500 at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:136) 2016-04-01 16:20:25.199052500 at com.sun.proxy.$Proxy236.createProject(Unknown Source) 2016-04-01 16:20:25.199052500 at com.atlassian.jira.projecttemplates.service.ProjectTemplateServiceImpl.applyProjectTemplate(ProjectTemplateServiceImpl.java:173) 2016-04-01 16:20:25.199053500 at com.atlassian.jira.projecttemplates.rest.ProjectTemplatesResource.createProjectFromFormRequest(ProjectTemplatesResource.java:170) 2016-04-01 16:20:25.199062500 ... 2 filtered 2016-04-01 16:20:25.199062500 at java.lang.reflect.Method.invoke(Method.java:497) 2016-04-01 16:20:25.199062500 at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) 2016-04-01 16:20:25.199063500 ... 12 filtered 2016-04-01 16:20:25.199063500 at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:154) 2016-04-01 16:20:25.199067500 ... 1 filtered 2016-04-01 16:20:25.199067500 at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:68) 2016-04-01 16:20:25.199072500 ... 50 filtered 2016-04-01 16:20:25.199073500 at com.atlassian.web.servlet.plugin.request.RedirectInterceptingFilter.doFilter(RedirectInterceptingFilter.java:21) 2016-04-01 16:20:25.199073500 ... 42 filtered 2016-04-01 16:20:25.199073500 at com.atlassian.plugin.connect.plugin.auth.scope.ApiScopingFilter.doFilter(ApiScopingFilter.java:81) 2016-04-01 16:20:25.199074500 ... 14 filtered 2016-04-01 16:20:25.199078500 at com.atlassian.jira.security.JiraSecurityFilter.lambda$doFilter$0(JiraSecurityFilter.java:76) 2016-04-01 16:20:25.199078500 at com.atlassian.jira.security.JiraSecurityFilter$$Lambda$428/30580541.doFilter(Unknown Source) 2016-04-01 16:20:25.199079500 ... 1 filtered 2016-04-01 16:20:25.199079500 at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:74) 2016-04-01 16:20:25.199079500 ... 16 filtered 2016-04-01 16:20:25.199079500 at com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestSeraphFilter.java:37) 2016-04-01 16:20:25.199083500 ... 16 filtered 2016-04-01 16:20:25.199084500 at com.atlassian.studio.jira.homepage.CloudHomepageFilter$Action.lambda$nextInFilterChain$1(CloudHomepageFilter.java:110) 2016-04-01 16:20:25.199084500 at com.atlassian.studio.jira.homepage.CloudHomepageFilter$Action$$Lambda$425/6405433.execute(Unknown Source) 2016-04-01 16:20:25.199085500 at com.atlassian.studio.jira.homepage.CloudHomepageFilter.doFilter(CloudHomepageFilter.java:68) 2016-04-01 16:20:25.199090500 ... 17 filtered 2016-04-01 16:20:25.199090500 at com.atlassian.jira.servermetrics.CorrelationIdPopulatorFilter.doFilter(CorrelationIdPopulatorFilter.java:30) 2016-04-01 16:20:25.199091500 ... 5 filtered 2016-04-01 16:20:25.199091500 at com.atlassian.plugin.connect.plugin.auth.user.ThreeLeggedAuthFilter.doFilter(ThreeLeggedAuthFilter.java:110) 2016-04-01 16:20:25.199091500 ... 3 filtered 2016-04-01 16:20:25.199095500 at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.lambda$invokeFilterChain$0(CustomerContextSettingFilter.java:174) 2016-04-01 16:20:25.199095500 at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter$$Lambda$781/21320988.call(Unknown Source) 2016-04-01 16:20:25.199096500 at com.atlassian.servicedesk.internal.utils.context.ReentrantThreadLocalBasedCodeContext.rteInvoke(ReentrantThreadLocalBasedCodeContext.java:142) 2016-04-01 16:20:25.199100500 at com.atlassian.servicedesk.internal.utils.context.ReentrantThreadLocalBasedCodeContext.runOutOfContext(ReentrantThreadLocalBasedCodeContext.java:94) 2016-04-01 16:20:25.199101500 at com.atlassian.servicedesk.internal.utils.context.CustomerContextServiceImpl.outOfCustomerContext(CustomerContextServiceImpl.java:44) 2016-04-01 16:20:25.199106500 at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.outOfCustomerContext(CustomerContextSettingFilter.java:169) 2016-04-01 16:20:25.199106500 at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.doFilterImpl(CustomerContextSettingFilter.java:125) 2016-04-01 16:20:25.199107500 at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.doFilter(CustomerContextSettingFilter.java:116) 2016-04-01 16:20:25.199111500 ... 3 filtered 2016-04-01 16:20:25.199111500 at com.atlassian.jwt.internal.servlet.JwtAuthFilter.doFilter(JwtAuthFilter.java:32) 2016-04-01 16:20:25.199111500 ... 8 filtered 2016-04-01 16:20:25.199111500 at com.atlassian.web.servlet.plugin.request.RedirectInterceptingFilter.doFilter(RedirectInterceptingFilter.java:21) 2016-04-01 16:20:25.199112500 ... 4 filtered 2016-04-01 16:20:25.199118500 at com.atlassian.web.servlet.plugin.LocationCleanerFilter.doFilter(LocationCleanerFilter.java:36) 2016-04-01 16:20:25.199119500 ... 29 filtered 2016-04-01 16:20:25.199119500 at com.atlassian.jira.servermetrics.MetricsCollectorFilter.doFilter(MetricsCollectorFilter.java:25) 2016-04-01 16:20:25.199119500 ... 28 filtered 2016-04-01 16:20:25.199119500 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 2016-04-01 16:20:25.199120500 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 2016-04-01 16:20:25.199126500 at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) 2016-04-01 16:20:25.199126500 at java.lang.Thread.run(Thread.java:745) {noformat} h3. Notes Basic Software fails with Story issue type although it is not on the scheme. h3.Workaround Remove (or rename if in use by other custom project) issue types "Story" and "Epic" and create a new project. The issue types will be recreated automatically.

    Atlassian JIRA | 8 months ago | Mauro Fernandez Badii [Atlassian]
    java.lang.IllegalStateException: An issue type with the name 'Story' exists already. 2016-04-01 16:20:25.128272500 at com.atlassian.jira.config.DefaultIssueTypeManager.createIssueTypeAndAddToDefaultScheme(DefaultIssueTypeManager.java:141) 2016-04-01 16:20:25.128304500 at com.atlassian.jira.config.DefaultIssueTypeManager.createIssueTypeAndAddToDefaultScheme(DefaultIssueTypeManager.java:171) 2016-04-01 16:20:25.128305500 at com.atlassian.jira.config.DefaultIssueTypeManager.createIssueType(DefaultIssueTypeManager.java:98) 2016-04-01 16:20:25.128305500 at sun.reflect.GeneratedMethodAccessor1103.invoke(Unknown Source)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    h3. Summary Creating a JIRA Software Project (Scrum, Kanban or Basic), if the Issue Types "Epic" or "Story" exist but are not of type "Standard" the project creation fails. h3. Environment * JIRA Software h3. Steps to Reproduce # Remove Issue Types "Story" or "Epic" if they exist. # Create an Issue Type called "Story" or "Epic" of type" "Sub-Task" # Create a Scrum, Kanban or Basic Software project h3. Expected Results The project is created with either the same Issue Type that exists or a new one that meets the requirements. Else, a message on screens specifies the problem so it can be corrected. h3. Actual Results On the last step of the project creation, the following message is shown: {quote} Hmm... we couldn't create your project due to an unknown error. Try refreshing the page to start again. {quote} JIRA logs the error: {noformat} 2016-04-01 16:20:25.128269500 2016-04-01 05:20:25,123 http-nio-2990-exec-4 ERROR username 980x1976x1 fwe3kl 59.167.133.100 /rest/project-templates/1.0/templates [c.a.jira.project.ProjectCreateRegistrarImpl] The handler with id com.atlassian.jira.project-templates-plugin:apply-project-template-handler threw an exception while handling a notification about a project being created 2016-04-01 16:20:25.128272500 java.lang.IllegalStateException: An issue type with the name 'Story' exists already. 2016-04-01 16:20:25.128272500 at com.atlassian.jira.config.DefaultIssueTypeManager.createIssueTypeAndAddToDefaultScheme(DefaultIssueTypeManager.java:141) 2016-04-01 16:20:25.128304500 at com.atlassian.jira.config.DefaultIssueTypeManager.createIssueTypeAndAddToDefaultScheme(DefaultIssueTypeManager.java:171) 2016-04-01 16:20:25.128305500 at com.atlassian.jira.config.DefaultIssueTypeManager.createIssueType(DefaultIssueTypeManager.java:98) 2016-04-01 16:20:25.128305500 at sun.reflect.GeneratedMethodAccessor1103.invoke(Unknown Source) 2016-04-01 16:20:25.128310500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2016-04-01 16:20:25.128310500 at java.lang.reflect.Method.invoke(Method.java:497) 2016-04-01 16:20:25.128310500 at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26) 2016-04-01 16:20:25.128317500 at com.sun.proxy.$Proxy17.createIssueType(Unknown Source) 2016-04-01 16:20:25.128317500 ... 2 filtered 2016-04-01 16:20:25.128317500 at java.lang.reflect.Method.invoke(Method.java:497) 2016-04-01 16:20:25.128317500 at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:136) 2016-04-01 16:20:25.128321500 at com.sun.proxy.$Proxy17.createIssueType(Unknown Source) 2016-04-01 16:20:25.128322500 at com.atlassian.greenhopper.manager.issue.issuetypes.AbstractIssueTypeProvider.produceIssueType(AbstractIssueTypeProvider.java:148) 2016-04-01 16:20:25.128322500 at com.atlassian.greenhopper.manager.issue.issuetypes.AbstractIssueTypeProvider.ensureIssueTypeIsAvailable(AbstractIssueTypeProvider.java:114) 2016-04-01 16:20:25.128326500 at com.atlassian.greenhopper.manager.issue.issuetypes.AbstractIssueTypeProvider.getOrCreateIssueType(AbstractIssueTypeProvider.java:48) 2016-04-01 16:20:25.128327500 at com.atlassian.greenhopper.service.issue.IssueTypeServiceImpl.getOrCreateStoryIssueType(IssueTypeServiceImpl.java:28) 2016-04-01 16:20:25.128328500 at com.atlassian.greenhopper.service.issue.IssueTypeSchemeServiceImpl.addAllAgileIssueTypesToScheme(IssueTypeSchemeServiceImpl.java:33) 2016-04-01 16:20:25.128332500 at com.atlassian.greenhopper.web.rapid.project.AgileProjectConfiguratorImpl.extendConfiguration(AgileProjectConfiguratorImpl.java:81) 2016-04-01 16:20:25.128333500 at com.atlassian.greenhopper.web.rapid.project.AgileProjectConfiguratorImpl.configure(AgileProjectConfiguratorImpl.java:42) 2016-04-01 16:20:25.128334500 at com.atlassian.greenhopper.web.rapid.project.ProjectCreateHookHelperImpl.configureProject(ProjectCreateHookHelperImpl.java:77) 2016-04-01 16:20:25.128338500 at com.atlassian.greenhopper.web.rapid.project.GreenHopperProjectCreateHook.configure(GreenHopperProjectCreateHook.java:45) 2016-04-01 16:20:25.128338500 at com.atlassian.jira.projecttemplates.service.ApplyProjectTemplateHandler.applyProjectTemplate(ApplyProjectTemplateHandler.java:65) 2016-04-01 16:20:25.128339500 at com.atlassian.jira.projecttemplates.service.ApplyProjectTemplateHandler.onProjectCreated(ApplyProjectTemplateHandler.java:53) 2016-04-01 16:20:25.128343500 at com.atlassian.jira.project.ProjectCreateRegistrarImpl.notifyAllHandlers(ProjectCreateRegistrarImpl.java:36) 2016-04-01 16:20:25.128343500 at com.atlassian.jira.bc.project.DefaultProjectService.notifyHandlersOfProjectCreated(DefaultProjectService.java:394) 2016-04-01 16:20:25.128358500 at com.atlassian.jira.bc.project.DefaultProjectService.createProjectInternal(DefaultProjectService.java:379) 2016-04-01 16:20:25.128358500 at com.atlassian.jira.bc.project.DefaultProjectService.createProject(DefaultProjectService.java:349) 2016-04-01 16:20:25.128359500 ... 2 filtered 2016-04-01 16:20:25.128359500 at java.lang.reflect.Method.invoke(Method.java:497) 2016-04-01 16:20:25.128363500 at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26) 2016-04-01 16:20:25.128363500 at com.sun.proxy.$Proxy236.createProject(Unknown Source) 2016-04-01 16:20:25.128364500 ... 2 filtered 2016-04-01 16:20:25.128364500 at java.lang.reflect.Method.invoke(Method.java:497) 2016-04-01 16:20:25.128364500 at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:136) 2016-04-01 16:20:25.128368500 at com.sun.proxy.$Proxy236.createProject(Unknown Source) 2016-04-01 16:20:25.128369500 at com.atlassian.jira.projecttemplates.service.ProjectTemplateServiceImpl.applyProjectTemplate(ProjectTemplateServiceImpl.java:173) 2016-04-01 16:20:25.128369500 at com.atlassian.jira.projecttemplates.rest.ProjectTemplatesResource.createProjectFromFormRequest(ProjectTemplatesResource.java:170) 2016-04-01 16:20:25.128377500 ... 2 filtered 2016-04-01 16:20:25.128377500 at java.lang.reflect.Method.invoke(Method.java:497) 2016-04-01 16:20:25.128378500 at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) 2016-04-01 16:20:25.128379500 ... 12 filtered 2016-04-01 16:20:25.128379500 at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:154) 2016-04-01 16:20:25.128388500 ... 1 filtered 2016-04-01 16:20:25.128388500 at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:68) 2016-04-01 16:20:25.128389500 ... 50 filtered 2016-04-01 16:20:25.128389500 at com.atlassian.web.servlet.plugin.request.RedirectInterceptingFilter.doFilter(RedirectInterceptingFilter.java:21) 2016-04-01 16:20:25.128397500 ... 42 filtered 2016-04-01 16:20:25.128397500 at com.atlassian.plugin.connect.plugin.auth.scope.ApiScopingFilter.doFilter(ApiScopingFilter.java:81) 2016-04-01 16:20:25.128398500 ... 14 filtered 2016-04-01 16:20:25.128398500 at com.atlassian.jira.security.JiraSecurityFilter.lambda$doFilter$0(JiraSecurityFilter.java:76) 2016-04-01 16:20:25.128399500 at com.atlassian.jira.security.JiraSecurityFilter$$Lambda$428/30580541.doFilter(Unknown Source) 2016-04-01 16:20:25.128406500 ... 1 filtered 2016-04-01 16:20:25.128406500 at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:74) 2016-04-01 16:20:25.128412500 ... 16 filtered 2016-04-01 16:20:25.128412500 at com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestSeraphFilter.java:37) 2016-04-01 16:20:25.128413500 ... 16 filtered 2016-04-01 16:20:25.128413500 at com.atlassian.studio.jira.homepage.CloudHomepageFilter$Action.lambda$nextInFilterChain$1(CloudHomepageFilter.java:110) 2016-04-01 16:20:25.128414500 at com.atlassian.studio.jira.homepage.CloudHomepageFilter$Action$$Lambda$425/6405433.execute(Unknown Source) 2016-04-01 16:20:25.128421500 at com.atlassian.studio.jira.homepage.CloudHomepageFilter.doFilter(CloudHomepageFilter.java:68) 2016-04-01 16:20:25.128421500 ... 17 filtered 2016-04-01 16:20:25.128421500 at com.atlassian.jira.servermetrics.CorrelationIdPopulatorFilter.doFilter(CorrelationIdPopulatorFilter.java:30) 2016-04-01 16:20:25.128422500 ... 5 filtered 2016-04-01 16:20:25.128422500 at com.atlassian.plugin.connect.plugin.auth.user.ThreeLeggedAuthFilter.doFilter(ThreeLeggedAuthFilter.java:110) 2016-04-01 16:20:25.128427500 ... 3 filtered 2016-04-01 16:20:25.128428500 at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.lambda$invokeFilterChain$0(CustomerContextSettingFilter.java:174) 2016-04-01 16:20:25.128428500 at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter$$Lambda$781/21320988.call(Unknown Source) 2016-04-01 16:20:25.128438500 at com.atlassian.servicedesk.internal.utils.context.ReentrantThreadLocalBasedCodeContext.rteInvoke(ReentrantThreadLocalBasedCodeContext.java:142) 2016-04-01 16:20:25.128439500 at com.atlassian.servicedesk.internal.utils.context.ReentrantThreadLocalBasedCodeContext.runOutOfContext(ReentrantThreadLocalBasedCodeContext.java:94) 2016-04-01 16:20:25.128440500 at com.atlassian.servicedesk.internal.utils.context.CustomerContextServiceImpl.outOfCustomerContext(CustomerContextServiceImpl.java:44) 2016-04-01 16:20:25.128445500 at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.outOfCustomerContext(CustomerContextSettingFilter.java:169) 2016-04-01 16:20:25.128446500 at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.doFilterImpl(CustomerContextSettingFilter.java:125) 2016-04-01 16:20:25.128447500 at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.doFilter(CustomerContextSettingFilter.java:116) 2016-04-01 16:20:25.128452500 ... 3 filtered 2016-04-01 16:20:25.128453500 at com.atlassian.jwt.internal.servlet.JwtAuthFilter.doFilter(JwtAuthFilter.java:32) 2016-04-01 16:20:25.128453500 ... 8 filtered 2016-04-01 16:20:25.128453500 at com.atlassian.web.servlet.plugin.request.RedirectInterceptingFilter.doFilter(RedirectInterceptingFilter.java:21) 2016-04-01 16:20:25.128464500 ... 4 filtered 2016-04-01 16:20:25.128465500 at com.atlassian.web.servlet.plugin.LocationCleanerFilter.doFilter(LocationCleanerFilter.java:36) 2016-04-01 16:20:25.128465500 ... 29 filtered 2016-04-01 16:20:25.128466500 at com.atlassian.jira.servermetrics.MetricsCollectorFilter.doFilter(MetricsCollectorFilter.java:25) 2016-04-01 16:20:25.128466500 ... 28 filtered 2016-04-01 16:20:25.128472500 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 2016-04-01 16:20:25.128472500 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 2016-04-01 16:20:25.128473500 at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) 2016-04-01 16:20:25.128473500 at java.lang.Thread.run(Thread.java:745) 2016-04-01 16:20:25.198996500 2016-04-01 05:20:25,194 http-nio-2990-exec-4 ERROR username 980x1976x1 fwe3kl 59.167.133.100 /rest/project-templates/1.0/templates [c.a.p.r.c.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: An error occurred while notifying that a project was created 2016-04-01 16:20:25.198998500 java.lang.RuntimeException: An error occurred while notifying that a project was created 2016-04-01 16:20:25.198999500 at com.atlassian.jira.bc.project.DefaultProjectService.notifyHandlersOfProjectCreated(DefaultProjectService.java:397) 2016-04-01 16:20:25.199034500 at com.atlassian.jira.bc.project.DefaultProjectService.createProjectInternal(DefaultProjectService.java:379) 2016-04-01 16:20:25.199035500 at com.atlassian.jira.bc.project.DefaultProjectService.createProject(DefaultProjectService.java:349) 2016-04-01 16:20:25.199035500 at sun.reflect.GeneratedMethodAccessor965.invoke(Unknown Source) 2016-04-01 16:20:25.199036500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2016-04-01 16:20:25.199040500 at java.lang.reflect.Method.invoke(Method.java:497) 2016-04-01 16:20:25.199041500 at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26) 2016-04-01 16:20:25.199047500 at com.sun.proxy.$Proxy236.createProject(Unknown Source) 2016-04-01 16:20:25.199047500 ... 2 filtered 2016-04-01 16:20:25.199047500 at java.lang.reflect.Method.invoke(Method.java:497) 2016-04-01 16:20:25.199048500 at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:136) 2016-04-01 16:20:25.199052500 at com.sun.proxy.$Proxy236.createProject(Unknown Source) 2016-04-01 16:20:25.199052500 at com.atlassian.jira.projecttemplates.service.ProjectTemplateServiceImpl.applyProjectTemplate(ProjectTemplateServiceImpl.java:173) 2016-04-01 16:20:25.199053500 at com.atlassian.jira.projecttemplates.rest.ProjectTemplatesResource.createProjectFromFormRequest(ProjectTemplatesResource.java:170) 2016-04-01 16:20:25.199062500 ... 2 filtered 2016-04-01 16:20:25.199062500 at java.lang.reflect.Method.invoke(Method.java:497) 2016-04-01 16:20:25.199062500 at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) 2016-04-01 16:20:25.199063500 ... 12 filtered 2016-04-01 16:20:25.199063500 at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:154) 2016-04-01 16:20:25.199067500 ... 1 filtered 2016-04-01 16:20:25.199067500 at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:68) 2016-04-01 16:20:25.199072500 ... 50 filtered 2016-04-01 16:20:25.199073500 at com.atlassian.web.servlet.plugin.request.RedirectInterceptingFilter.doFilter(RedirectInterceptingFilter.java:21) 2016-04-01 16:20:25.199073500 ... 42 filtered 2016-04-01 16:20:25.199073500 at com.atlassian.plugin.connect.plugin.auth.scope.ApiScopingFilter.doFilter(ApiScopingFilter.java:81) 2016-04-01 16:20:25.199074500 ... 14 filtered 2016-04-01 16:20:25.199078500 at com.atlassian.jira.security.JiraSecurityFilter.lambda$doFilter$0(JiraSecurityFilter.java:76) 2016-04-01 16:20:25.199078500 at com.atlassian.jira.security.JiraSecurityFilter$$Lambda$428/30580541.doFilter(Unknown Source) 2016-04-01 16:20:25.199079500 ... 1 filtered 2016-04-01 16:20:25.199079500 at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:74) 2016-04-01 16:20:25.199079500 ... 16 filtered 2016-04-01 16:20:25.199079500 at com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestSeraphFilter.java:37) 2016-04-01 16:20:25.199083500 ... 16 filtered 2016-04-01 16:20:25.199084500 at com.atlassian.studio.jira.homepage.CloudHomepageFilter$Action.lambda$nextInFilterChain$1(CloudHomepageFilter.java:110) 2016-04-01 16:20:25.199084500 at com.atlassian.studio.jira.homepage.CloudHomepageFilter$Action$$Lambda$425/6405433.execute(Unknown Source) 2016-04-01 16:20:25.199085500 at com.atlassian.studio.jira.homepage.CloudHomepageFilter.doFilter(CloudHomepageFilter.java:68) 2016-04-01 16:20:25.199090500 ... 17 filtered 2016-04-01 16:20:25.199090500 at com.atlassian.jira.servermetrics.CorrelationIdPopulatorFilter.doFilter(CorrelationIdPopulatorFilter.java:30) 2016-04-01 16:20:25.199091500 ... 5 filtered 2016-04-01 16:20:25.199091500 at com.atlassian.plugin.connect.plugin.auth.user.ThreeLeggedAuthFilter.doFilter(ThreeLeggedAuthFilter.java:110) 2016-04-01 16:20:25.199091500 ... 3 filtered 2016-04-01 16:20:25.199095500 at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.lambda$invokeFilterChain$0(CustomerContextSettingFilter.java:174) 2016-04-01 16:20:25.199095500 at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter$$Lambda$781/21320988.call(Unknown Source) 2016-04-01 16:20:25.199096500 at com.atlassian.servicedesk.internal.utils.context.ReentrantThreadLocalBasedCodeContext.rteInvoke(ReentrantThreadLocalBasedCodeContext.java:142) 2016-04-01 16:20:25.199100500 at com.atlassian.servicedesk.internal.utils.context.ReentrantThreadLocalBasedCodeContext.runOutOfContext(ReentrantThreadLocalBasedCodeContext.java:94) 2016-04-01 16:20:25.199101500 at com.atlassian.servicedesk.internal.utils.context.CustomerContextServiceImpl.outOfCustomerContext(CustomerContextServiceImpl.java:44) 2016-04-01 16:20:25.199106500 at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.outOfCustomerContext(CustomerContextSettingFilter.java:169) 2016-04-01 16:20:25.199106500 at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.doFilterImpl(CustomerContextSettingFilter.java:125) 2016-04-01 16:20:25.199107500 at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.doFilter(CustomerContextSettingFilter.java:116) 2016-04-01 16:20:25.199111500 ... 3 filtered 2016-04-01 16:20:25.199111500 at com.atlassian.jwt.internal.servlet.JwtAuthFilter.doFilter(JwtAuthFilter.java:32) 2016-04-01 16:20:25.199111500 ... 8 filtered 2016-04-01 16:20:25.199111500 at com.atlassian.web.servlet.plugin.request.RedirectInterceptingFilter.doFilter(RedirectInterceptingFilter.java:21) 2016-04-01 16:20:25.199112500 ... 4 filtered 2016-04-01 16:20:25.199118500 at com.atlassian.web.servlet.plugin.LocationCleanerFilter.doFilter(LocationCleanerFilter.java:36) 2016-04-01 16:20:25.199119500 ... 29 filtered 2016-04-01 16:20:25.199119500 at com.atlassian.jira.servermetrics.MetricsCollectorFilter.doFilter(MetricsCollectorFilter.java:25) 2016-04-01 16:20:25.199119500 ... 28 filtered 2016-04-01 16:20:25.199119500 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 2016-04-01 16:20:25.199120500 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 2016-04-01 16:20:25.199126500 at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) 2016-04-01 16:20:25.199126500 at java.lang.Thread.run(Thread.java:745) {noformat} h3. Notes Basic Software fails with Story issue type although it is not on the scheme. h3.Workaround Remove (or rename if in use by other custom project) issue types "Story" and "Epic" and create a new project. The issue types will be recreated automatically.

    Atlassian JIRA | 8 months ago | Mauro Fernandez Badii [Atlassian]
    java.lang.IllegalStateException: An issue type with the name 'Story' exists already. 2016-04-01 16:20:25.128272500 at com.atlassian.jira.config.DefaultIssueTypeManager.createIssueTypeAndAddToDefaultScheme(DefaultIssueTypeManager.java:141) 2016-04-01 16:20:25.128304500 at com.atlassian.jira.config.DefaultIssueTypeManager.createIssueTypeAndAddToDefaultScheme(DefaultIssueTypeManager.java:171) 2016-04-01 16:20:25.128305500 at com.atlassian.jira.config.DefaultIssueTypeManager.createIssueType(DefaultIssueTypeManager.java:98) 2016-04-01 16:20:25.128305500 at sun.reflect.GeneratedMethodAccessor1103.invoke(Unknown Source)
  6. 0

    Re: [jira] [Created] (KYLIN-1464) org.apache.kylin.cube.CubeInstance.getDataModelDesc throw java.lang.NullPointerException

    kylin-dev | 9 months ago | hongbin ma
    java.lang.IllegalStateException: Derived can only be defined on lookup > table, > > you need to redefine the cube desc > > On Thu, Mar 3, 2016 at 6:44 AM, zhaoyunjiong (JIRA) <jira@apache.org> > wrote: > >> zhaoyunjiong created KYLIN-1464: >> ----------------------------------- >> >> Summary: org.apache.kylin.cube.CubeInstance.getDataModelDesc >> throw java.lang.NullPointerException >> Key: KYLIN-1464 >> URL: https://issues.apache.org/jira/browse/KYLIN-1464 >> Project: Kylin >> Issue Type: Bug >> Reporter: zhaoyunjiong >> Assignee: zhaoyunjiong >> >> >> User report can't see models from Web UI. >> After I check log, I found java.lang.NullPointerException >> {quote} >> 2016-03-02 08:06:59,645 ERROR [http-bio-7070-exec-22] >> controller.BasicController:44 : >> java.lang.NullPointerException >> at >> org.apache.kylin.cube.CubeInstance.getDataModelDesc(CubeInstance.java:128) >> at >> org.apache.kylin.metadata.MetadataManager.getModels(MetadataManager.java:326) >> at >> org.apache.kylin.rest.service.ModelService.listAllModels(ModelService.java:55) >> at >> org.apache.kylin.rest.service.ModelService.getModels(ModelService.java:74) >> at >> org.apache.kylin.rest.service.ModelService$$FastClassByCGLIB$$eb0205be.invoke(<generated>) >> at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      An issue type with the name 'Incident' exists already. 2016-02-02 11:23:40.130977500 at com.atlassian.jira.config.DefaultIssueTypeManager.createIssueTypeAndAddToDefaultScheme(DefaultIssueTypeManager.java:141)

      at com.atlassian.jira.config.DefaultIssueTypeManager.createIssueTypeAndAddToDefaultScheme()
    2. com.atlassian.jira
      DefaultIssueTypeManager.createIssueType
      1. com.atlassian.jira.config.DefaultIssueTypeManager.createIssueTypeAndAddToDefaultScheme(DefaultIssueTypeManager.java:171)
      2. com.atlassian.jira.config.DefaultIssueTypeManager.createIssueType(DefaultIssueTypeManager.java:98)
      2 frames