java.lang.RuntimeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • {panel:title=*This issue has moved*} {color:red}This issue has been moved permanently to [Adaptavist's Product Support JIRA instance|https://productsupport.adaptavist.com/browse/GRV-448].{color} All existing users of this instance should have the same username on our Product Support instance. However, you will very likely need to click on the [Can't access your account|https://productsupport.adaptavist.com/secure/ForgotLoginDetails.jspa] link in order to reset to a new password. {panel}Hi Jamie, I think this one is for real this time. :-) I wrote a script listener meant to go from one status to one of the next linked statuses in our workflow, following an "Issue Assigned" event firing. And after much effort to build this script for efficiency, accuracy and functionality, I am incurring stacktrace dumps AFTER a successful TransitionValidationResult test. :-( In this description I will paste in the stacktrace, or an excerpt of meaningful lines from the stack, and I'll attach my source code so you can see my implementation. I know it's exhausting to look at everyone's code, but I can tell you that the point of stacktrace occurs exactly at the call to issueService.transition(). 2014-05-16 14:28:54,037 http-bio-8080-exec-35 ERROR lsccad 868x98837x1 zhe304 192.168.27.109,192.168.85.33 /secure/AssignIssue.jspa [atlassian.event.internal. AsynchronousAbleEventDispatcher] There was an exception thrown trying to dispatch event 'com.atlassian.jira.event.issue.IssueEvent@6028fbea[issue=SOF-118941,c omment=<null>,worklog=<null>,changelog=[GenericEntity:ChangeGroup][id,418437][author,lsccad][created,2014-05-16 14:28:53.399][issue,169745],eventTypeId=3,send Mail=true,params={eventsource=action, baseurl=http://jira},subtasksUpdated=true]' from the invoker 'SingleParameterMethodListenerInvoker{method=public void co m.onresolve.jira.groovy.listener.ScriptRunnerUberListener.workflowEvent(com.atlassian.jira.event.issue.IssueEvent), listener=com.onresolve.jira.groovy.listene r.ScriptRunnerUberListener@78e8d4e8}'. java.lang.RuntimeException: No such property: issueService for class: com.test.LscJiraUtilListener at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:54) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$2.run(AsynchronousAbleEventDispatcher.java:66) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1.execute(AsynchronousAbleEventDispatcher.java:32) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:60) at com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:160) at com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:79) at com.atlassian.multitenant.event.DefaultPeeringEventPublisherManager.publish(DefaultPeeringEventPublisherManager.java:17) at com.atlassian.multitenant.event.PeeringEventPublisher.publish(PeeringEventPublisher.java:23) at com.atlassian.jira.event.issue.DefaultIssueEventManager.publishEvent(DefaultIssueEventManager.java:124) at com.atlassian.jira.event.issue.DefaultIssueEventManager.dispatchEvent(DefaultIssueEventManager.java:102) at com.atlassian.jira.issue.util.DefaultIssueUpdater.doUpdate(DefaultIssueUpdater.java:88) at com.atlassian.jira.issue.managers.DefaultIssueManager.doUpdate(DefaultIssueManager.java:598) at com.atlassian.jira.issue.managers.DefaultIssueManager.updateIssue(DefaultIssueManager.java:584) at com.atlassian.jira.web.action.issue.AssignIssue.doExecute(AssignIssue.java:141) at webwork.action.ActionSupport.execute(ActionSupport.java:165) Another excerpt of stack trace follows this line: Caused by: groovy.lang.MissingPropertyException: No such property: issueService for class: com.test.LscJiraUtilListener at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:50) at org.codehaus.groovy.runtime.callsite.GetEffectivePogoPropertySite.getProperty(GetEffectivePogoPropertySite.java:86) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGroovyObjectGetProperty(AbstractCallSite.java:231) at com.test.LscJiraUtilListener.workflowEvent(LscJiraUtilListener.groovy:95) at com.atlassian.jira.event.issue.IssueEventListener$workflowEvent.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42) at com.atlassian.jira.event.issue.IssueEventListener$workflowEvent.call(Unknown Source) at com.onresolve.jira.groovy.canned.workflow.listeners.CustomListener.doScript(CustomListener.groovy:65) at com.onresolve.jira.groovy.canned.CannedScript$doScript.call(Unknown Source) at com.onresolve.jira.groovy.CannedScriptRunner.runCannedScript(CannedScriptRunner.groovy:63) at com.onresolve.jira.groovy.GroovyRunner.run(GroovyRunner.java:52)
    via by Carl Eckhardt,
  • {panel:title=*This issue has moved*} {color:red}This issue has been moved permanently to [Adaptavist's Product Support JIRA instance|https://productsupport.adaptavist.com/browse/GRV-448].{color} All existing users of this instance should have the same username on our Product Support instance. However, you will very likely need to click on the [Can't access your account|https://productsupport.adaptavist.com/secure/ForgotLoginDetails.jspa] link in order to reset to a new password. {panel}Hi Jamie, I think this one is for real this time. :-) I wrote a script listener meant to go from one status to one of the next linked statuses in our workflow, following an "Issue Assigned" event firing. And after much effort to build this script for efficiency, accuracy and functionality, I am incurring stacktrace dumps AFTER a successful TransitionValidationResult test. :-( In this description I will paste in the stacktrace, or an excerpt of meaningful lines from the stack, and I'll attach my source code so you can see my implementation. I know it's exhausting to look at everyone's code, but I can tell you that the point of stacktrace occurs exactly at the call to issueService.transition(). 2014-05-16 14:28:54,037 http-bio-8080-exec-35 ERROR lsccad 868x98837x1 zhe304 192.168.27.109,192.168.85.33 /secure/AssignIssue.jspa [atlassian.event.internal. AsynchronousAbleEventDispatcher] There was an exception thrown trying to dispatch event 'com.atlassian.jira.event.issue.IssueEvent@6028fbea[issue=SOF-118941,c omment=<null>,worklog=<null>,changelog=[GenericEntity:ChangeGroup][id,418437][author,lsccad][created,2014-05-16 14:28:53.399][issue,169745],eventTypeId=3,send Mail=true,params={eventsource=action, baseurl=http://jira},subtasksUpdated=true]' from the invoker 'SingleParameterMethodListenerInvoker{method=public void co m.onresolve.jira.groovy.listener.ScriptRunnerUberListener.workflowEvent(com.atlassian.jira.event.issue.IssueEvent), listener=com.onresolve.jira.groovy.listene r.ScriptRunnerUberListener@78e8d4e8}'. java.lang.RuntimeException: No such property: issueService for class: com.test.LscJiraUtilListener at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:54) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$2.run(AsynchronousAbleEventDispatcher.java:66) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1.execute(AsynchronousAbleEventDispatcher.java:32) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:60) at com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:160) at com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:79) at com.atlassian.multitenant.event.DefaultPeeringEventPublisherManager.publish(DefaultPeeringEventPublisherManager.java:17) at com.atlassian.multitenant.event.PeeringEventPublisher.publish(PeeringEventPublisher.java:23) at com.atlassian.jira.event.issue.DefaultIssueEventManager.publishEvent(DefaultIssueEventManager.java:124) at com.atlassian.jira.event.issue.DefaultIssueEventManager.dispatchEvent(DefaultIssueEventManager.java:102) at com.atlassian.jira.issue.util.DefaultIssueUpdater.doUpdate(DefaultIssueUpdater.java:88) at com.atlassian.jira.issue.managers.DefaultIssueManager.doUpdate(DefaultIssueManager.java:598) at com.atlassian.jira.issue.managers.DefaultIssueManager.updateIssue(DefaultIssueManager.java:584) at com.atlassian.jira.web.action.issue.AssignIssue.doExecute(AssignIssue.java:141) at webwork.action.ActionSupport.execute(ActionSupport.java:165) Another excerpt of stack trace follows this line: Caused by: groovy.lang.MissingPropertyException: No such property: issueService for class: com.test.LscJiraUtilListener at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:50) at org.codehaus.groovy.runtime.callsite.GetEffectivePogoPropertySite.getProperty(GetEffectivePogoPropertySite.java:86) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGroovyObjectGetProperty(AbstractCallSite.java:231) at com.test.LscJiraUtilListener.workflowEvent(LscJiraUtilListener.groovy:95) at com.atlassian.jira.event.issue.IssueEventListener$workflowEvent.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42) at com.atlassian.jira.event.issue.IssueEventListener$workflowEvent.call(Unknown Source) at com.onresolve.jira.groovy.canned.workflow.listeners.CustomListener.doScript(CustomListener.groovy:65) at com.onresolve.jira.groovy.canned.CannedScript$doScript.call(Unknown Source) at com.onresolve.jira.groovy.CannedScriptRunner.runCannedScript(CannedScriptRunner.groovy:63) at com.onresolve.jira.groovy.GroovyRunner.run(GroovyRunner.java:52)
    via by Carl Eckhardt,
  • When I try to do a restore or shutdown JIRA I often (but not always) get an exception of the form: {noformat} 2012-03-20 14:07:44,578 Thread-12 ERROR [osgi.container.felix.FelixOsgiContainerManager] JarContent: Unable to read bytes. java.lang.IllegalStateException: zip file closed at java.util.zip.ZipFile.ensureOpen(ZipFile.java:415) at java.util.zip.ZipFile.getEntry(ZipFile.java:160) at java.util.jar.JarFile.getEntry(JarFile.java:208) at org.apache.felix.framework.util.JarFileX.getEntry(JarFileX.java:61) at org.apache.felix.framework.cache.JarContent.getEntryAsBytes(JarContent.java:120) at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.findClass(ModuleImpl.java:1738) at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:716) .... 2012-03-20 14:07:44,583 Thread-12 ERROR [atlassian.event.internal.EventPublisherImpl] There was an exception thrown trying to dispatch event 'com.atlassian.plugin.event.events.PluginFrameworkShutdownEvent@56dfbb87' from the invoker 'com.atlassian.event.internal.SingleParameterMethodListenerInvoker@2801d0b1'. java.lang.RuntimeException: org/springframework/context/ConfigurableApplicationContext at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:54) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$2.run(AsynchronousAbleEventDispatcher.java:60) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1.execute(AsynchronousAbleEventDispatcher.java:28) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:56) at com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:151) at com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:70) at com.atlassian.multitenant.event.DefaultPeeringEventPublisherManager.publish(DefaultPeeringEventPublisherManager.java:17) at com.atlassian.multitenant.event.PeeringEventPublisher.publish(PeeringEventPublisher.java:23) at com.atlassian.plugin.event.impl.DefaultPluginEventManager.broadcast(DefaultPluginEventManager.java:84) at com.atlassian.plugin.manager.DefaultPluginManager.shutdown(DefaultPluginManager.java:211) at com.atlassian.jira.ComponentManager$PluginSystem.shutdown(ComponentManager.java:709) at com.atlassian.jira.ComponentManager.shutdown(ComponentManager.java:293) at com.atlassian.jira.util.CompositeShutdown.shutdown(CompositeShutdown.java:32) at com.atlassian.jira.upgrade.ConsistencyCheckImpl.destroy(ConsistencyCheckImpl.java:86) at com.atlassian.jira.startup.DefaultJiraLauncher.stop(DefaultJiraLauncher.java:119) .... Caused by: java.lang.NoClassDefFoundError: org/springframework/context/ConfigurableApplicationContext at org.springframework.web.servlet.FrameworkServlet.destroy(FrameworkServlet.java:642) at com.atlassian.plugin.servlet.DelegatingPluginServlet.destroy(DelegatingPluginServlet.java:70) at com.atlassian.plugin.servlet.DefaultServletModuleManager.removeServletModule(DefaultServletModuleManager.java:162) at com.atlassian.plugin.servlet.descriptors.ServletModuleDescriptor.disabled(ServletModuleDescriptor.java:43) at com.atlassian.multitenant.plugins.MultiTenantModuleDescriptorFactory$LifecycleInterceptor$MultiTenantModuleDescriptorCreator.destroy(MultiTenantModuleDescriptorFactory.java:317) at com.atlassian.multitenant.plugins.MultiTenantModuleDescriptorFactory$LifecycleInterceptor$MultiTenantModuleDescriptorCreator.destroy(MultiTenantModuleDescriptorFactory.java:290) at com.atlassian.multitenant.impl.MultiTenantComponentMapImpl.onTenantStop(MultiTenantComponentMapImpl.java:177) ... Caused by: java.lang.ClassNotFoundException: org.springframework.context.ConfigurableApplicationContext at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:772) at org.apache.felix.framework.ModuleImpl.access$200(ModuleImpl.java:73) at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1690) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) {noformat} The attached log [^error.log] contains examples of both the error on shutdown and restore. It seems to occur when shutting down the plugin system.
    via by Brenden Bain [Atlassian],
  • When I try to do a restore or shutdown JIRA I often (but not always) get an exception of the form: {noformat} 2012-03-20 14:07:44,578 Thread-12 ERROR [osgi.container.felix.FelixOsgiContainerManager] JarContent: Unable to read bytes. java.lang.IllegalStateException: zip file closed at java.util.zip.ZipFile.ensureOpen(ZipFile.java:415) at java.util.zip.ZipFile.getEntry(ZipFile.java:160) at java.util.jar.JarFile.getEntry(JarFile.java:208) at org.apache.felix.framework.util.JarFileX.getEntry(JarFileX.java:61) at org.apache.felix.framework.cache.JarContent.getEntryAsBytes(JarContent.java:120) at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.findClass(ModuleImpl.java:1738) at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:716) .... 2012-03-20 14:07:44,583 Thread-12 ERROR [atlassian.event.internal.EventPublisherImpl] There was an exception thrown trying to dispatch event 'com.atlassian.plugin.event.events.PluginFrameworkShutdownEvent@56dfbb87' from the invoker 'com.atlassian.event.internal.SingleParameterMethodListenerInvoker@2801d0b1'. java.lang.RuntimeException: org/springframework/context/ConfigurableApplicationContext at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:54) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$2.run(AsynchronousAbleEventDispatcher.java:60) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1.execute(AsynchronousAbleEventDispatcher.java:28) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:56) at com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:151) at com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:70) at com.atlassian.multitenant.event.DefaultPeeringEventPublisherManager.publish(DefaultPeeringEventPublisherManager.java:17) at com.atlassian.multitenant.event.PeeringEventPublisher.publish(PeeringEventPublisher.java:23) at com.atlassian.plugin.event.impl.DefaultPluginEventManager.broadcast(DefaultPluginEventManager.java:84) at com.atlassian.plugin.manager.DefaultPluginManager.shutdown(DefaultPluginManager.java:211) at com.atlassian.jira.ComponentManager$PluginSystem.shutdown(ComponentManager.java:709) at com.atlassian.jira.ComponentManager.shutdown(ComponentManager.java:293) at com.atlassian.jira.util.CompositeShutdown.shutdown(CompositeShutdown.java:32) at com.atlassian.jira.upgrade.ConsistencyCheckImpl.destroy(ConsistencyCheckImpl.java:86) at com.atlassian.jira.startup.DefaultJiraLauncher.stop(DefaultJiraLauncher.java:119) .... Caused by: java.lang.NoClassDefFoundError: org/springframework/context/ConfigurableApplicationContext at org.springframework.web.servlet.FrameworkServlet.destroy(FrameworkServlet.java:642) at com.atlassian.plugin.servlet.DelegatingPluginServlet.destroy(DelegatingPluginServlet.java:70) at com.atlassian.plugin.servlet.DefaultServletModuleManager.removeServletModule(DefaultServletModuleManager.java:162) at com.atlassian.plugin.servlet.descriptors.ServletModuleDescriptor.disabled(ServletModuleDescriptor.java:43) at com.atlassian.multitenant.plugins.MultiTenantModuleDescriptorFactory$LifecycleInterceptor$MultiTenantModuleDescriptorCreator.destroy(MultiTenantModuleDescriptorFactory.java:317) at com.atlassian.multitenant.plugins.MultiTenantModuleDescriptorFactory$LifecycleInterceptor$MultiTenantModuleDescriptorCreator.destroy(MultiTenantModuleDescriptorFactory.java:290) at com.atlassian.multitenant.impl.MultiTenantComponentMapImpl.onTenantStop(MultiTenantComponentMapImpl.java:177) ... Caused by: java.lang.ClassNotFoundException: org.springframework.context.ConfigurableApplicationContext at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:772) at org.apache.felix.framework.ModuleImpl.access$200(ModuleImpl.java:73) at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1690) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) {noformat} The attached log [^error.log] contains examples of both the error on shutdown and restore. It seems to occur when shutting down the plugin system.
    via by Brenden Bain [Atlassian],
  • According to the document here:https://confluence.atlassian.com/display/JIRA/Setting+your+JIRA+Home+Directory Customer failed to setup JIRA home directory in JIRA 6 by applying the following parameter in server.xml: {noformat} <Parameter name="jira.home" value="c:/jira/home"/> {noformat} *Steps to reproduce:* # Using the *Alternative Method* in [Setting your JIRA Home Directory|https://confluence.atlassian.com/display/JIRA/Setting+your+JIRA+Home+Directory] # Start up JIRA. # The following error is shown. {noformat} 2013-05-27 15:58:32,881 localhost-startStop-1 ERROR [atlassian.event.internal.AsynchronousAbleEventDispatcher] There was an exception thrown trying to dispatch event 'com.atlassian.plugin.event.events.PluginFrameworkStartingEvent@34768dc8' from the invoker 'SingleParameterMethodListenerInvoker{method=public void com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.onStart(com.atlassian.plugin.event.events.PluginFrameworkStartingEvent), listener=com.atlassian.jira.plugin.JiraOsgiContainerManager@11cdc190}'. java.lang.RuntimeException: No valid JIRA Home directory. at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:54) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$2.run(AsynchronousAbleEventDispatcher.java:66) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1.execute(AsynchronousAbleEventDispatcher.java:32) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:60) at com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:160) at com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:79) at com.atlassian.plugin.event.impl.DefaultPluginEventManager.broadcast(DefaultPluginEventManager.java:84) at com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:193) at com.atlassian.jira.plugin.JiraPluginManager.start(JiraPluginManager.java:62) at com.atlassian.jira.ComponentManager$PluginSystem.start(ComponentManager.java:663) at com.atlassian.jira.ComponentManager.startJIRA(ComponentManager.java:218) at com.atlassian.jira.ComponentManager.bootstrapPluginsSystem(ComponentManager.java:178) at com.atlassian.jira.startup.BootstrapContainerLauncher.bootstrapJIRAWhenDBIsNotSetup(BootstrapContainerLauncher.java:93) at com.atlassian.jira.startup.BootstrapContainerLauncher.bootstrapJIRA(BootstrapContainerLauncher.java:60) at com.atlassian.jira.startup.BootstrapContainerLauncher.start(BootstrapContainerLauncher.java:29) at com.atlassian.jira.startup.DefaultJiraLauncher.preDbLaunch(DefaultJiraLauncher.java:81) at com.atlassian.jira.startup.DefaultJiraLauncher.access$000(DefaultJiraLauncher.java:30) at com.atlassian.jira.startup.DefaultJiraLauncher$1.run(DefaultJiraLauncher.java:68) at com.atlassian.jira.util.devspeed.JiraDevSpeedTimer.run(JiraDevSpeedTimer.java:33) at com.atlassian.jira.startup.DefaultJiraLauncher.start(DefaultJiraLauncher.java:64) at com.atlassian.jira.startup.LauncherContextListener.contextInitialized(LauncherContextListener.java:54) <+5> (StandardContext.java:4791) (StandardContext.java:5285) (LifecycleBase.java:150) (ContainerBase.java:1559) (ContainerBase.java:1549) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.IllegalStateException: No valid JIRA Home directory. at com.atlassian.jira.config.util.DefaultJiraHome.getHome(DefaultJiraHome.java:26) at com.atlassian.jira.plugin.webresource.JiraWebResourceIntegration.getTemporaryDirectory(JiraWebResourceIntegration.java:105) at com.atlassian.plugin.webresource.PluginResourceLocatorImpl.makePhysicalCache(PluginResourceLocatorImpl.java:115) at com.atlassian.plugin.webresource.PluginResourceLocatorImpl.<init>(PluginResourceLocatorImpl.java:86) at com.atlassian.plugin.webresource.PluginResourceLocatorImpl.<init>(PluginResourceLocatorImpl.java:73) <+2> (NativeConstructorAccessorImpl.java:39) (DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at org.picocontainer.defaults.InstantiatingComponentAdapter.newInstance(InstantiatingComponentAdapter.java:100) at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.instantiateComponent(ConstructorInjectionComponentAdapter.java:200) at org.picocontainer.defaults.InstantiatingComponentAdapter.getComponentInstance(InstantiatingComponentAdapter.java:48) at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:42) at org.picocontainer.defaults.SynchronizedComponentAdapter.getComponentInstance(SynchronizedComponentAdapter.java:35) at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:42) at com.atlassian.jira.config.component.ProfilingComponentAdapter.getComponentInstance(ProfilingComponentAdapter.java:45) at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getConstructorArguments(ConstructorInjectionComponentAdapter.java:222) at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.instantiateComponent(ConstructorInjectionComponentAdapter.java:198) at org.picocontainer.defaults.InstantiatingComponentAdapter.getComponentInstance(InstantiatingComponentAdapter.java:48) at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:42) at org.picocontainer.defaults.SynchronizedComponentAdapter.getComponentInstance(SynchronizedComponentAdapter.java:35) at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:42) at com.atlassian.jira.config.component.ProfilingComponentAdapter.getComponentInstance(ProfilingComponentAdapter.java:45) at com.atlassian.jira.ComponentContainer.getComponentInstance(ComponentContainer.java:105) at com.atlassian.jira.ComponentContainer$Registry.getComponents(ComponentContainer.java:335) at com.atlassian.jira.ComponentContainer$HostComponentProviderImpl.provide(ComponentContainer.java:124) at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.collectHostComponents(FelixOsgiContainerManager.java:516) at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.start(FelixOsgiContainerManager.java:242) at com.atlassian.jira.plugin.JiraOsgiContainerManager.start(JiraOsgiContainerManager.java:79) at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.onStart(FelixOsgiContainerManager.java:204) <+3> (NativeMethodAccessorImpl.java:39) (DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36) ... 30 more {noformat} *Finding* * This problem has not happened in *JIRA 5.2*. * Tested in JIRA 5.2 and 6 standalone version. *Workaround* Specify the JIRA home path as a parameter to run JIRA. If you're using Tomcat, this is done in CATALINA_OPTS: {code}-Djira.home=/path/to/jira/home{code}
    via by John Chin Kim Loong [Atlassian],
  • We experience a case where issues which appear on the scrum board disappear after being changed, e.g. moved between sprints, or moved from "To Do" to "In Progress". At one of the first cases that we noticed this, a user moved an issue from the current sprint into a future sprint using drag-n-drop in the Plan view then he refreshed the view and the issue appeared back in the original sprint but when opening the ticket the field "Sprint" showed the correct updated sprint. We suspect that when this happened, the following stack trace was emitted by Jira: {noformat} 2014-07-07 17:08:47,798 http-bio-8080-exec-116 ERROR dominicg 1028x11900915x1 5iwrk0 10.175.32.175,10.175.32.108 /rest/greenhopper/1.0/sprint/rank [atlassian.event.internal.AsynchronousAbleEventDispatcher] There was an exception thrown trying to dispatch event 'com.atlassian.jira.event.issue.IssueEvent@6c85f91f[issue=BWT-25677,comment=<null>,worklog=<null>,changelog=[GenericEntity:ChangeGroup][id,270201][author,dominicg][created,2014-07-07 17:08:46.966][issue,37869],eventTypeId=2,sendMail=true,params={eventsource=action, baseurl=http://jira.bigworldtech.com},subtasksUpdated=true]' from the invoker 'SingleParameterMethodListenerInvoker{method=public void com.onresolve.jira.groovy.listener.ScriptRunnerUberListener.workflowEvent(com.atlassian.jira.event.issue.IssueEvent), listener=com.onresolve.jira.groovy.listener.ScriptRunnerUberListener@2753fdd4}'. java.lang.RuntimeException: No such property: addresses for class: ScopeChangeListener at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:54) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$2.run(AsynchronousAbleEventDispatcher.java:66) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1.execute(AsynchronousAbleEventDispatcher.java:32) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:60) at com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:160) at com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:79) at com.atlassian.jira.event.issue.DefaultIssueEventManager.publishEvent(DefaultIssueEventManager.java:124) at com.atlassian.jira.event.issue.DefaultIssueEventManager.dispatchEvent(DefaultIssueEventManager.java:102) at com.atlassian.jira.issue.util.DefaultIssueUpdater.storeModifiedFields(DefaultIssueUpdater.java:95) at com.atlassian.jira.issue.util.DefaultIssueUpdater.doUpdate(DefaultIssueUpdater.java:49) at com.atlassian.jira.issue.managers.DefaultIssueManager.doUpdate(DefaultIssueManager.java:779) at com.atlassian.jira.issue.managers.DefaultIssueManager.updateIssue(DefaultIssueManager.java:765) at com.atlassian.jira.bc.issue.DefaultIssueService.update(DefaultIssueService.java:273) at com.atlassian.jira.bc.issue.DefaultIssueService.update(DefaultIssueService.java:247) at sun.reflect.GeneratedMethodAccessor2284.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129) at com.sun.proxy.$Proxy441.update(Unknown Source) at sun.reflect.GeneratedMethodAccessor2284.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154) at com.sun.proxy.$Proxy441.update(Unknown Source) at com.atlassian.greenhopper.service.issue.IssueUpdateServiceImpl.update(IssueUpdateServiceImpl.java:73) at com.atlassian.greenhopper.service.sprint.SprintIssueServiceImpl.updateIssuesInSprint(SprintIssueServiceImpl.java:283) at com.atlassian.greenhopper.service.sprint.SprintIssueServiceImpl.updateFutureActiveSprintOrBacklog(SprintIssueServiceImpl.java:103) at com.atlassian.greenhopper.web.rapid.sprint.SprintRankResource$1.call(SprintRankResource.java:107) at com.atlassian.greenhopper.web.rapid.sprint.SprintRankResource$1.call(SprintRankResource.java:78) at com.atlassian.greenhopper.web.util.RestCall.response(RestCall.java:48) at com.atlassian.greenhopper.web.AbstractResource.response(AbstractResource.java:60) at com.atlassian.greenhopper.web.rapid.sprint.SprintRankResource.updateSprintAndRank(SprintRankResource.java:77) at sun.reflect.GeneratedMethodAccessor4489.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$ResponseOutInvoker$1.invoke(DispatchProviderHelper.java:234) at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$1.intercept(DispatchProviderHelper.java:100) at com.atlassian.plugins.rest.common.interceptor.impl.DefaultMethodInvocation.invoke(DefaultMethodInvocation.java:61) at com.atlassian.plugins.rest.common.expand.interceptor.ExpandInterceptor.intercept(ExpandInterceptor.java:38) at com.atlassian.plugins.rest.common.interceptor.impl.DefaultMethodInvocation.invoke(DefaultMethodInvocation.java:61) at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper.invokeMethodWithInterceptors(DispatchProviderHelper.java:132) at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$ResponseOutInvoker._dispatch(DispatchProviderHelper.java:230) at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75) at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288) at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108) at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84) at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469) at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400) at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349) at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339) at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416) at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537) {noformat} In more recent cases, when moving an issue from the "To Do" column to "In Progress" using drag and drop, the issue completely dropped off the scrum board but when entering to the issue view I see that the status was updated. I tried to follow the instructions in https://confluence.atlassian.com/display/GHKB/Issues+are+not+appearing+in+GreenHopper+Rapid+Boards but the "Spring" field is locked so I can't verify things like its "Search Template". What can we do to fix this? Thanks.
    via by Amos Shapira,
  • On JIRA 6.1.5, if you edit SLA rules on a project a few times rapidly, I notice this stacktrace gets generated. If I disable the Webhook plugin completely, then the problem goes away. I don't see any weird side-effects other than the error messages. {code} 2013-12-31 00:08:55,828 JiraTaskExectionThread-20 ERROR xxxx 6x4873x1 lvswjo 172.25.28.203 /rest/servicedesk/1/servicedesk/AURA/sla/consistency [atlassian.event.internal.AsynchronousAbleEventDispatcher] There was an exception thrown trying to dispatch event 'com.atlassian.jira.issue.index.ReindexIssuesStartedEvent@2974d43b' from the invoker 'SingleParameterMethodListenerInvoker{method=public void com.atlassian.webhooks.plugin.WebHookEventsProcessor.onEvent(java.lang.Object), listener=com.atlassian.webhooks.plugin.WebHookEventsProcessor@658ef2dc}'. java.lang.RuntimeException: attempt to unlock read lock, not locked by current thread at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:54) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$2.run(AsynchronousAbleEventDispatcher.java:66) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1.execute(AsynchronousAbleEventDispatcher.java:32) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:60) at com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:160) at com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:79) at com.atlassian.jira.issue.index.DefaultIndexManager.reIndexIssues(DefaultIndexManager.java:460) at com.atlassian.jira.issue.index.DefaultIndexManager.reIndexIssues(DefaultIndexManager.java:437) at com.atlassian.jira.issue.index.DefaultIndexManager.reIndexIssues(DefaultIndexManager.java:430) at com.atlassian.jira.issue.index.DefaultIndexManager.release(DefaultIndexManager.java:417) <+2> (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.atlassian.util.profiling.object.ObjectProfiler.profiledInvoke(ObjectProfiler.java:83) at com.atlassian.jira.config.component.SwitchingInvocationHandler.invoke(SwitchingInvocationHandler.java:28) at com.sun.proxy.$Proxy147.release(Unknown Source) <+2> (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129) at com.sun.proxy.$Proxy147.release(Unknown Source) <+2> (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154) at com.sun.proxy.$Proxy147.release(Unknown Source) at com.atlassian.servicedesk.internal.sla.task.ConsistencyTask.processIssuesById(ConsistencyTask.java:229) at com.atlassian.servicedesk.internal.sla.task.ConsistencyTask.processIssues(ConsistencyTask.java:139) at com.atlassian.servicedesk.internal.sla.task.ConsistencyTask.doMigrate(ConsistencyTask.java:100) at com.atlassian.servicedesk.internal.sla.task.ConsistencyTask.call(ConsistencyTask.java:63) at com.atlassian.servicedesk.internal.sla.task.ConsistencyTask.call(ConsistencyTask.java:23) at com.atlassian.jira.task.TaskManagerImpl$TaskCallableDecorator.call(TaskManagerImpl.java:374) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at com.atlassian.jira.task.ForkedThreadExecutor$ForkedRunnableDecorator.run(ForkedThreadExecutor.java:250) at java.lang.Thread.run(Thread.java:744) Caused by: java.lang.IllegalMonitorStateException: attempt to unlock read lock, not locked by current thread at java.util.concurrent.locks.ReentrantReadWriteLock$Sync.unmatchedUnlockException(ReentrantReadWriteLock.java:447) at java.util.concurrent.locks.ReentrantReadWriteLock$Sync.tryReleaseShared(ReentrantReadWriteLock.java:431) at java.util.concurrent.locks.AbstractQueuedSynchronizer.releaseShared(AbstractQueuedSynchronizer.java:1340) at java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock.unlock(ReentrantReadWriteLock.java:883) at com.atlassian.webhooks.plugin.OsgiWebHookProviderWebHookRegistry.getWebHooks(OsgiWebHookProviderWebHookRegistry.java:103) at com.atlassian.webhooks.plugin.DelegatingWebHookRegistry$2.apply(DelegatingWebHookRegistry.java:40) at com.atlassian.webhooks.plugin.DelegatingWebHookRegistry$2.apply(DelegatingWebHookRegistry.java:36) at com.google.common.collect.Iterators$8.next(Iterators.java:782) at com.google.common.collect.Iterables$3.next(Iterables.java:505) at com.google.common.collect.Iterables$3.next(Iterables.java:498) at com.google.common.collect.Iterators$5.hasNext(Iterators.java:540) at com.atlassian.webhooks.plugin.WebHookEventsProcessor.doOnEvent(WebHookEventsProcessor.java:37) at com.atlassian.webhooks.plugin.WebHookEventsProcessor.onEvent(WebHookEventsProcessor.java:32) <+2> (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36) ... 36 more {code}
    via by David Yu,
    • java.lang.RuntimeException: No such property: issueService for class: com.test.LscJiraUtilListener at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:54) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$2.run(AsynchronousAbleEventDispatcher.java:66) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1.execute(AsynchronousAbleEventDispatcher.java:32) at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:60) at com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:160) at com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:79) at com.atlassian.multitenant.event.DefaultPeeringEventPublisherManager.publish(DefaultPeeringEventPublisherManager.java:17) at com.atlassian.multitenant.event.PeeringEventPublisher.publish(PeeringEventPublisher.java:23) at com.atlassian.jira.event.issue.DefaultIssueEventManager.publishEvent(DefaultIssueEventManager.java:124) at com.atlassian.jira.event.issue.DefaultIssueEventManager.dispatchEvent(DefaultIssueEventManager.java:102) at com.atlassian.jira.issue.util.DefaultIssueUpdater.doUpdate(DefaultIssueUpdater.java:88) at com.atlassian.jira.issue.managers.DefaultIssueManager.doUpdate(DefaultIssueManager.java:598) at com.atlassian.jira.issue.managers.DefaultIssueManager.updateIssue(DefaultIssueManager.java:584) at com.atlassian.jira.web.action.issue.AssignIssue.doExecute(AssignIssue.java:141) at webwork.action.ActionSupport.execute(ActionSupport.java:165)
    No Bugmate found.