java.lang.IllegalStateException: No current interview

JIRA | Tony DeBat | 8 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Currently if user A takes over a locked interview from user B and user B continues to work, they will receive a null pointer exception because they no longer have access to the interview. For example: 2009-07-10 13:31:47,375 - INFO - $MenuItemSelectionBehavior - linkPageClass = HomePage, pageClass = HomePage 2009-07-10 13:31:47,375 - INFO - $MenuItemSelectionBehavior - linkPageClass = ParticipantSearchPage, pageClass = HomePage 2009-07-10 13:31:48,094 - ERROR - apache.wicket.RequestCycle - No current interview java.lang.IllegalStateException: No current interview at org.obiba.onyx.core.service.impl.DefaultInterviewManagerImpl.getInterviewedParticipant(DefaultInterviewManagerImpl.java:57) at org.obiba.onyx.core.service.impl.DefaultActiveInterviewServiceImpl.getParticipant(DefaultActiveInterviewServiceImpl.java:64) at org.obiba.onyx.core.service.impl.DefaultActiveInterviewServiceImpl.getStageExecution(DefaultActiveInterviewServiceImpl.java:76) at sun.reflect.GeneratedMethodAccessor82.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy56.getStageExecution(Unknown Source) at sun.reflect.GeneratedMethodAccessor82.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) Instead, when an interview is no longer available a NoSuchInterviewException should be thrown. This exception can then be caught and the user directed to a different page. (Perhaps the interview list page.) Currently they see an error page. See the "Unresolved issues" section of: http://wiki.obiba.org/confluence/display/ONYX/Locking+Interviews Also see: http://wiki.obiba.org/confluence/pages/viewpage.action?pageId=5242989

    JIRA | 8 years ago | Tony DeBat
    java.lang.IllegalStateException: No current interview
  2. 0

    Currently if user A takes over a locked interview from user B and user B continues to work, they will receive a null pointer exception because they no longer have access to the interview. For example: 2009-07-10 13:31:47,375 - INFO - $MenuItemSelectionBehavior - linkPageClass = HomePage, pageClass = HomePage 2009-07-10 13:31:47,375 - INFO - $MenuItemSelectionBehavior - linkPageClass = ParticipantSearchPage, pageClass = HomePage 2009-07-10 13:31:48,094 - ERROR - apache.wicket.RequestCycle - No current interview java.lang.IllegalStateException: No current interview at org.obiba.onyx.core.service.impl.DefaultInterviewManagerImpl.getInterviewedParticipant(DefaultInterviewManagerImpl.java:57) at org.obiba.onyx.core.service.impl.DefaultActiveInterviewServiceImpl.getParticipant(DefaultActiveInterviewServiceImpl.java:64) at org.obiba.onyx.core.service.impl.DefaultActiveInterviewServiceImpl.getStageExecution(DefaultActiveInterviewServiceImpl.java:76) at sun.reflect.GeneratedMethodAccessor82.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy56.getStageExecution(Unknown Source) at sun.reflect.GeneratedMethodAccessor82.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) Instead, when an interview is no longer available a NoSuchInterviewException should be thrown. This exception can then be caught and the user directed to a different page. (Perhaps the interview list page.) Currently they see an error page. See the "Unresolved issues" section of: http://wiki.obiba.org/confluence/display/ONYX/Locking+Interviews Also see: http://wiki.obiba.org/confluence/pages/viewpage.action?pageId=5242989

    JIRA | 8 years ago | Tony DeBat
    java.lang.IllegalStateException: No current interview
  3. 0

    User had a internal error when trying to complete the Spirometry stage. My feeling is that some one inadvertently took over a in progress interview. Log excerpt that may in indicate the issue. Full log attached. 2009-07-10 13:31:47,375 - INFO - $MenuItemSelectionBehavior - linkPageClass = HomePage, pageClass = HomePage 2009-07-10 13:31:47,375 - INFO - $MenuItemSelectionBehavior - linkPageClass = ParticipantSearchPage, pageClass = HomePage 2009-07-10 13:31:48,094 - ERROR - apache.wicket.RequestCycle - No current interview java.lang.IllegalStateException: No current interview at org.obiba.onyx.core.service.impl.DefaultInterviewManagerImpl.getInterviewedParticipant(DefaultInterviewManagerImpl.java:57) at org.obiba.onyx.core.service.impl.DefaultActiveInterviewServiceImpl.getParticipant(DefaultActiveInterviewServiceImpl.java:64) at org.obiba.onyx.core.service.impl.DefaultActiveInterviewServiceImpl.getStageExecution(DefaultActiveInterviewServiceImpl.java:76) at sun.reflect.GeneratedMethodAccessor82.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy56.getStageExecution(Unknown Source) at sun.reflect.GeneratedMethodAccessor82.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy40.getStageExecution(Unknown Source) at sun.reflect.GeneratedMethodAccessor82.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:416) at org.apache.wicket.proxy.$Proxy55.getStageExecution(Unknown Source) at org.obiba.onyx.jade.core.wicket.JadePanel$1$1.onFinish(JadePanel.java:80) at org.obiba.onyx.wicket.wizard.WizardForm.onFinishSubmit(WizardForm.java:166) at org.obiba.onyx.wicket.wizard.WizardForm$3.onSubmit(WizardForm.java:131) at org.apache.wicket.ajax.markup.html.form.AjaxButton$1.onSubmit(AjaxButton.java:86) at org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:128) at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:163) at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:297) at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:100) at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:91) at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1175) at org.apache.wicket.RequestCycle.step(RequestCycle.java:1252) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1353) at org.apache.wicket.RequestCycle.request(RequestCycle.java:493) at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:355) at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:200) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Unknown Source) 2009-07-10 13:31:49,141 - INFO - $MenuItemSelectionBehavior - linkPageClass = HomePage, pageClass = ParticipantSearchPage 2009-07-10 13:31:49,141 - INFO - $MenuItemSelectionBehavior - linkPageClass = ParticipantSearchPage, pageClass = ParticipantSearchPage 2009-07-10 13:31:58,391 - WARN - form.AbstractTextComponent - Couldn't resolve model type of Model:classname=[org.apache.wicket.model.PropertyModel]:nestedModel=[username = "rrathod"]:expression=[username] for [MarkupContainer [Component id = username]], please set the type yourself. 2009-07-10 13:31:58,391 - WARN - form.AbstractTextComponent - Couldn't resolve model type of Model:classname=[org.apache.wicket.model.PropertyModel]:nestedModel=[username = "rrathod"]:expression=[password] for [MarkupContainer [Component id = password]], please set the type yourself. 2009-07-10 13:31:59,422 - INFO - r.MiniSpirInstrumentRunner - Number of best measurements expected: 1 2009-07-10 13:31:59,438 - INFO - r.MiniSpirInstrumentRunner - Sending the first best measure... Email sent by Nurse Manager: My is that Kelly would have fired off an email to address this already however we found another computer glitch this afternoon during the Physical measures testing for PID # 5030140. During the testing in station 1, thought our technician had completed the Spirometry testing, had saved the results in the system. When the system prompted her for her password and to rescan the PID she found that the system had bumped her back to an internal error screen. Our technician chose the 'Return to Home Page option she found that Onyx shut down completely. She re- logged back in and access the Main Interview screen and noted that the Spirometry test was listed as "in Progress". The only option still available to her in the actions column was Cancel. She selected this option, selected 'technical problem form the list of drop down boxes, then she found the test now listed it as 'Cancelled'. New option of Skip or Re-Instate now appear. She reviewed the issue with Kelly who was at the centre during that time frame. As the participant was light-headed from previous attempts we elected not to repeat the test but documented the issue by Adding a comment. Is there any way to retrieve the lost data from this participant?

    JIRA | 8 years ago | Dwain Elson
    java.lang.IllegalStateException: No current interview
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Warning - "You are probably missing the ObjectifyFilter" - in deployed application only

    Google Groups | 2 years ago | Arpit
    java.lang.IllegalStateException: You have not started an Objectify context. You are probably missing the ObjectifyFilter. If you are not running in the context of an http request, see the ObjectifyService.run() method. at com.googlecode.objectify.ObjectifyService.ofy(ObjectifyService.java:44) at com.googlecode.objectify.impl.ref.LiveRef.ofy(LiveRef.java:64) at com.googlecode.objectify.impl.ref.LiveRef.isLoaded(LiveRef.java:55) at com.googlecode.objectify.Ref.getValue(Ref.java:83) at com.googlecode.objectify.impl.ref.LiveRef.writeReplace(LiveRef.java:74) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  6. 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 | 1 year 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)

    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

      No current interview

      at org.obiba.onyx.core.service.impl.DefaultInterviewManagerImpl.getInterviewedParticipant()
    2. org.obiba.onyx
      DefaultActiveInterviewServiceImpl.getStageExecution
      1. org.obiba.onyx.core.service.impl.DefaultInterviewManagerImpl.getInterviewedParticipant(DefaultInterviewManagerImpl.java:57)
      2. org.obiba.onyx.core.service.impl.DefaultActiveInterviewServiceImpl.getParticipant(DefaultActiveInterviewServiceImpl.java:64)
      3. org.obiba.onyx.core.service.impl.DefaultActiveInterviewServiceImpl.getStageExecution(DefaultActiveInterviewServiceImpl.java:76)
      3 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor82.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      3. java.lang.reflect.Method.invoke(Unknown Source)
      3 frames
    4. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      3 frames
    5. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
      1 frame
    6. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      2 frames
    7. Unknown
      $Proxy56.getStageExecution
      1. $Proxy56.getStageExecution(Unknown Source)
      1 frame
    8. Java RT
      DelegatingMethodAccessorImpl.invoke
      1. sun.reflect.GeneratedMethodAccessor82.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      2 frames