Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Plugin: Jira Misc Workflow Extension

Roche September 16, 2021

Hi,

 

I have problems closing an Issue on a Kanban Project. I am not sure if it is affecting the plugin: Jira Misc Workflow Extension. Before extending the trial version it worked. This plugin is running on a Jira Server version. The error I get is attached.

 

Thank you in advance

 

"image.pngimage.png

 

 

 

 

 

3 answers

2 accepted

1 vote
Answer accepted
David Fischer
Community Champion
September 16, 2021

If you look closely at the screenshot you shared, the JMWE app is disabled. You need to click on the Enable button.

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 16, 2021

Whoops!  I didn't notice that!  Thanks David!

0 votes
Answer accepted
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 16, 2021

This error is typically thrown when something has gone badly wrong.  FunctionProvider class usually means "can't even load the code for the validator or post-function", but can also happen when they're badly configured, or out of licence.

But, we don't know if it is the JMWE throwing the problem.

You're not out of licence on JMWE, so it must be something else.  I would want to check the workflow for the configuration of validators and post-functions.  And ideally, the logs, as they would contain a pointer to the exact class that has failed.

0 votes
Roche September 20, 2021

Hi,

 

Yes, thank you I already enable it, I disabled since I thought it was the problem. However, I still see that I cannot transition when I create an issue. I send you the postfuntion and the screenshot of the issue either.

Iimage.pngimage.png

 

Looking at the log file, it seems there is an exception, maybe it fails the workflow association. I would like to send you the log file, so you can see the latest issue created "SOLIC-263"


Log file attached: 

Roche September 20, 2021

2021-09-20 12:13:48,132+0200 plugin-transaction-0 INFO [c.a.jira.plugin.PluginTransactionListener] [plugin-transaction] numberStartEvents:660, numberEndEvents:660, numberSendEvents:418, numberEventsInTransactions:16951, numberOfPluginEnableEvents:313
2021-09-20 12:15:55,045+0200 https-jsse-nio-443-exec-1922 DEBUG ferrerbm 735x3585993x2 15t1jqc 92.178.212.201,172.70.59.133 /rest/jmwe/1/groovy/syntax [c.a.activeobjects.osgi.ActiveObjectsServiceFactory] getService bundle [com.innovalog.jmwe.jira-misc-workflow-extensions]
2021-09-20 12:18:13,069+0200 https-jsse-nio-443-exec-1992 INFO ferrerbm 738x3586093x1 15t1jqc 92.178.212.201,172.70.59.133 /secure/admin/workflows/PublishDraftWorkflow.jspa [c.a.jira.workflow.OSWorkflowManager] User 'ferrerbm(ferrerbm)' updated workflow 'SOL_Esquema Flujo_Solicitudes DH' at 'Mon Sep 20 12:18:13 CEST 2021'
2021-09-20 12:18:48,133+0200 plugin-transaction-0 INFO [c.a.jira.plugin.PluginTransactionListener] [plugin-transaction] numberStartEvents:660, numberEndEvents:660, numberSendEvents:418, numberEventsInTransactions:16951, numberOfPluginEnableEvents:313
2021-09-20 12:19:03,480+0200 https-jsse-nio-443-exec-1988 INFO ferrerbm 739x3586247x1 15t1jqc 92.178.212.201,172.70.59.133 /secure/admin/workflows/PublishDraftWorkflow.jspa [c.a.jira.workflow.OSWorkflowManager] User 'ferrerbm(ferrerbm)' updated workflow 'SOL_Esquema Flujo_Solicitudes DH' at 'Mon Sep 20 12:19:03 CEST 2021'
2021-09-20 12:19:18,674+0200 https-jsse-nio-443-exec-1993 ERROR ferrerbm 739x3586287x1 15t1jqc 92.178.212.201,172.70.59.133 /secure/QuickCreateIssue.jspa [c.a.event.internal.AsynchronousAbleEventDispatcher] There was an exception thrown trying to dispatch event [com.atlassian.jira.event.issue.IssueEvent@7eacb930[issue=SOLIC-263,comment=<null>,worklog=<null>,changelog=<null>,eventTypeId=13,sendMail=true,params={eventsource=workflow, baseurl=https://jira-roche.clinical-services.net},subtasksUpdated=false,spanningOperation=Optional.empty]] from the invoker [SingleParameterMethodListenerInvoker{method=public void cz.morosystems.j2j.core.processors.listener.IssueEventListener.onIssueEvent(com.atlassian.jira.event.issue.IssueEvent), listener=cz.morosystems.j2j.core.processors.listener.IssueEventListener@3ee1a238}]
java.lang.RuntimeException: Listener: cz.morosystems.j2j.core.processors.listener.IssueEventListener event: com.atlassian.jira.event.issue.IssueEvent
at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:52)
at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.lambda$null$0(AsynchronousAbleEventDispatcher.java:37)
at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:85)
at com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:227)
at com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:112)
at com.atlassian.jira.event.issue.DefaultIssueEventManager.publishEventIfNotificationsAreEnabled(DefaultIssueEventManager.java:180)
at com.atlassian.jira.event.issue.DefaultIssueEventManager.publishEvent(DefaultIssueEventManager.java:162)
at com.atlassian.jira.event.issue.DefaultIssueEventManager.publishAsRedundant(DefaultIssueEventManager.java:204)
at com.atlassian.jira.event.issue.DefaultIssueEventManager.dispatchRedundantEvent(DefaultIssueEventManager.java:101)
at com.atlassian.jira.workflow.function.event.FireIssueEventFunction.execute(FireIssueEventFunction.java:62)
at com.opensymphony.workflow.AbstractWorkflow.executeFunction(AbstractWorkflow.java:1014)
at com.opensymphony.workflow.AbstractWorkflow.transitionWorkflow(AbstractWorkflow.java:1407)
at com.opensymphony.workflow.AbstractWorkflow.initialize(AbstractWorkflow.java:606)
at com.atlassian.jira.workflow.OSWorkflowManager.createIssue(OSWorkflowManager.java:754)
at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:592)
at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:501)
at com.atlassian.jira.issue.managers.RequestCachingIssueManager.createIssue(RequestCachingIssueManager.java:195)
at com.atlassian.jira.bc.issue.DefaultIssueService.create(DefaultIssueService.java:253)
at com.atlassian.jira.bc.issue.DefaultIssueService.create(DefaultIssueService.java:221)
... 2 filtered
at java.lang.reflect.Method.invoke(Unknown Source)
at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26)
at com.sun.proxy.$Proxy484.create(Unknown Source)
... 2 filtered
at java.lang.reflect.Method.invoke(Unknown Source)
at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:131)
at com.sun.proxy.$Proxy484.create(Unknown Source)
at com.atlassian.jira.quickedit.action.QuickCreateIssue.doExecute(QuickCreateIssue.java:308)
... 1 filtered
at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:63)
... 7 filtered
at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
... 48 filtered
at com.atlassian.greenhopper.jira.filters.ClassicBoardRouter.doFilter(ClassicBoardRouter.java:62)
... 7 filtered
at com.atlassian.jira.plugin.mobile.web.filter.MobileAppRequestFilter.doFilter(MobileAppRequestFilter.java:37)
... 4 filtered
at com.atlassian.jira.plugin.mobile.login.MobileLoginSuccessFilter.doFilter(MobileLoginSuccessFilter.java:54)
... 3 filtered
at com.atlassian.diagnostics.internal.platform.monitor.http.HttpRequestMonitoringFilter.doFilter(HttpRequestMonitoringFilter.java:55)
... 8 filtered
at com.atlassian.web.servlet.plugin.request.RedirectInterceptingFilter.doFilter(RedirectInterceptingFilter.java:21)
... 51 filtered
at net.youngaweb.jira.ServletFilterKa.doFilter(ServletFilterKa.kt:316)
... 3 filtered
at com.atlassian.troubleshooting.thready.filter.AbstractThreadNamingFilter.doFilter(AbstractThreadNamingFilter.java:46)
... 14 filtered
at com.atlassian.jira.security.JiraSecurityFilter.lambda$doFilter$0(JiraSecurityFilter.java:66)
... 1 filtered
at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:64)
... 39 filtered
at com.atlassian.jira.servermetrics.CorrelationIdPopulatorFilter.doFilter(CorrelationIdPopulatorFilter.java:30)
... 5 filtered
at net.customware.plugins.connector.jira.servlet.SameSiteCookieAttributeFilter.doFilter(SameSiteCookieAttributeFilter.java:101)
... 8 filtered
at com.atlassian.web.servlet.plugin.request.RedirectInterceptingFilter.doFilter(RedirectInterceptingFilter.java:21)
... 4 filtered
at com.atlassian.troubleshooting.thready.filter.AbstractThreadNamingFilter.doFilter(AbstractThreadNamingFilter.java:46)
... 3 filtered
at com.atlassian.web.servlet.plugin.LocationCleanerFilter.doFilter(LocationCleanerFilter.java:36)
... 29 filtered
at com.atlassian.jira.servermetrics.MetricsCollectorFilter.doFilter(MetricsCollectorFilter.java:25)
... 25 filtered
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at cz.morosystems.j2j.core.processors.listener.IssueEventListener.onIssueEvent(IssueEventListener.java:81)
at sun.reflect.GeneratedMethodAccessor2230.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:42)

Roche September 27, 2021

Hi,

 

I was wondering if you had de chance to review my answer, with the log and having activated the plugin already. It seems that in the creation of the issue I cannot move on the workflow (also not creating any postfunction manually)

 

Thank you in advance

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 27, 2021

Ok, so now you have a problem with another app - the errors are about something in cz.morosystems.

I would want to check what that app is next (again, maybe disabling it to see how the error changes)

Roche September 28, 2021

Hi Nic,

 

Yes, I saw that log, but when I checked I saw that the plugin was disabled. Very strange... do you think any other issue can be affecting?

 

Thanks

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 28, 2021

Which app was it?  Do you get the error if you re-enable it?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events