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)

Atlassian JIRA | Mauro Fernandez Badii [Atlassian] | 8 months ago
  1. 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)
  2. 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)
  3. 0

    开源中国(OSChina.NET)

    oschina.net | 1 year ago
    java.lang.IllegalStateException: Tomcat connector in failed state at org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServle tContainer.start(TomcatEmbeddedServletContainer.java:157) at org.springframework.boot.context.embedded.EmbeddedWebApplicationConte xt.startEmbeddedServletContainer(EmbeddedWebApplicationContext.java:288) at org.springframework.boot.context.embedded.EmbeddedWebApplicationConte xt.finishRefresh(EmbeddedWebApplicationContext.java:141) at org.springframework.context.support.AbstractApplicationContext.refres h(AbstractApplicationContext.java:483) at org.springframework.boot.context.embedded.EmbeddedWebApplicationConte xt.refresh(EmbeddedWebApplicationContext.java:118) at org.springframework.boot.SpringApplication.refresh(SpringApplication. java:686) at org.springframework.boot.SpringApplication.run(SpringApplication.java :320) at org.springframework.boot.SpringApplication.run(SpringApplication.java :957) at org.springframework.boot.SpringApplication.run(SpringApplication.java :946) at com.baidu.rigel.biplatform.tesseract.application.TesseractApplication .main(TesseractApplication.java:63)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error while parsing common domain names using InternetDomainName.java

    GitHub | 2 years ago | marios-caspida
    java.lang.IllegalStateException: Not under a public suffix: us-east-1.amazonaws.com > at com.google.common.base.Preconditions.checkState(Preconditions.java:197) > at com.google.common.net.InternetDomainName.topPrivateDomain(InternetDomainName.java:424) > at *****.main(MyTestJavaClass.java:8> 9)
  6. 0

    android sqlite database access raising lock error

    Stack Overflow | 3 years ago | mungaih pk
    java.lang.IllegalStateException: database /data/data/com.intelligent.stocktrader/databases/stocktrader.db (conn# 0) already closed 09-11 13:11:15.329: W/System.err(22091): at android.database.sqlite.SQLiteDatabase.verifyDbIsOpen(SQLiteDatabase.java:2082) 09-11 13:11:15.329: W/System.err(22091): at android.database.sqlite.SQLiteDatabase.lock(SQLiteDatabase.java:413) 09-11 13:11:15.329: W/System.err(22091): at android.database.sqlite.SQLiteDatabase.lock(SQLiteDatabase.java:400) 09-11 13:11:15.329: W/System.err(22091): at android.database.sqlite.SQLiteQuery.fillWindow(SQLiteQuery.java:79) 09-11 13:11:15.339: W/System.err(22091): at android.database.sqlite.SQLiteCursor.fillWindow(SQLiteCursor.java:160) 09-11 13:11:15.339: W/System.err(22091): at android.database.sqlite.SQLiteCursor.getCount(SQLiteCursor.java:152) 09-11 13:11:15.339: W/System.err(22091): at android.database.AbstractCursor.moveToPosition(AbstractCursor.java:158) 09-11 13:11:15.349: W/System.err(22091): at android.database.AbstractCursor.moveToFirst(AbstractCursor.java:235) 09-11 13:11:15.349: W/System.err(22091): at com.intelligent.stocktrader.database.ShareService.checkWatchList(ShareService.java:160) 09-11 13:11:15.349: W/System.err(22091): at com.intelligent.stocktrader.database.ShareService.onCreate(ShareService.java:63) 09-11 13:11:15.359: W/System.err(22091): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2252) 09-11 13:11:15.359: W/System.err(22091): at android.app.ActivityThread.access$1600(ActivityThread.java:122) 09-11 13:11:15.359: W/System.err(22091): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1200) 09-11 13:11:15.369: W/System.err(22091): at android.os.Handler.dispatchMessage(Handler.java:99) 09-11 13:11:15.369: W/System.err(22091): at android.os.Looper.loop(Looper.java:137) 09-11 13:11:15.369: W/System.err(22091): at android.app.ActivityThread.main(ActivityThread.java:4340) 09-11 13:11:15.369: W/System.err(22091): at java.lang.reflect.Method.invokeNative(Native Method)

    3 unregistered visitors
    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 '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)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke()
    2. Java RT
      Method.invoke
      1. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      2. java.lang.reflect.Method.invoke(Method.java:497)
      2 frames
    3. com.atlassian.plugin
      ContextClassLoaderSettingInvocationHandler.invoke
      1. com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26)
      1 frame