Error in Automation Plugin

We just started to use Automation plugin and created a rule that should act on created issues. If a certain value is set it should be transitioned to a specific status. This does not work, instead we get an error. 

2015-05-26 15:36:56,387 pool-8-thread-1 ERROR vernsenb 885x637410x2 1mk17sc 10.30.61.204 /secure/AddComment.jspa [plugin.automation.scheduler.RuleCallable] Exception while executing the rule
java.lang.NullPointerException
	at com.atlassian.plugin.automation.jira.util.JqlMatcherService.getMatchedIssue(JqlMatcherService.java:65)
	at com.atlassian.plugin.automation.jira.trigger.IssueEventTrigger.getItems(IssueEventTrigger.java:116)
	at com.atlassian.plugin.automation.scheduler.RuleCallable.call(RuleCallable.java:48)
	at com.atlassian.plugin.automation.scheduler.RuleCallable.call(RuleCallable.java:19)
	at com.atlassian.plugin.automation.scheduler.ThreadLocalExecutor.executeAs(ThreadLocalExecutor.java:55)
	at com.atlassian.plugin.automation.scheduler.DefaultAutomationEventHandler$2.doInTransaction(DefaultAutomationEventHandler.java:96)
	at com.atlassian.sal.core.transaction.HostContextTransactionTemplate$1.doInTransaction(HostContextTransactionTemplate.java:25)
	at com.atlassian.jira.DefaultHostContextAccessor.doInTransaction(DefaultHostContextAccessor.java:34)  <+2>
	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.$Proxy438.doInTransaction(Unknown Source)  <+2>
	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.$Proxy438.doInTransaction(Unknown Source)
	at com.atlassian.sal.core.transaction.HostContextTransactionTemplate.execute(HostContextTransactionTemplate.java:21)  <+2>
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
	at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58)
	at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
	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.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56)
	at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
	at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
	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 com.sun.proxy.$Proxy2252.execute(Unknown Source)
	at com.atlassian.plugin.automation.scheduler.DefaultAutomationEventHandler.execute(DefaultAutomationEventHandler.java:89)
	at com.atlassian.plugin.automation.scheduler.DefaultAutomationEventHandler.access$000(DefaultAutomationEventHandler.java:16)
	at com.atlassian.plugin.automation.scheduler.DefaultAutomationEventHandler$1.run(DefaultAutomationEventHandler.java:81)
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

1 answer

1 accepted

Accepted Answer
0 votes

Which version of ATM plugin are you using?

Version 1.5.3 - latest version.

I've just published 1.5.4. Can you try that one and post stacktrace if possible? Probably you should move this to https://bitbucket.org/atlassianlabs/automation/issues

Thanks! I will have the sysadmin do this asap and get back to you.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 25, 2018 in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

418 views 7 5
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you