Details
-
Bug
-
Status: Closed
-
Medium
-
Resolution: Fixed
-
Xporter DC V7.0
-
None
Description
The issue only happens if a workflow post-function or Automation for Jira integration triggers the first export right after the app installation. If the first export right after the app installation is manual, all the exports will work.
Workaround
After installing the app, go to an issue and export the issue. The first export must the a manual export.
How To reproduce
Scenario 1 (Export triggered by Automation for Jira)
- Install Xporter from Marketplace
- Go to Managed Apps > Xporter Section and click on File Server and add a new fileserver
- Go to Managed Apps > Xporter Section and click on Templates
- Install the template Sample Javascript from the Template Store
- Edit the template and add Automation for Jira as a template scope.
- Go to Automation for Jira and create a rule
- Field Change trigger
- Action: Xporter
- Select the Sample javascript template and upload the report to the FTP server that was created.
- Go to and issue and edit the field configured on the Automation rule.
Scenario 2 (Export triggered by workflow post-function)
- Install Xporter from Marketplace
- Go to Managed Apps > Xporter Section and click on File Server and add a new fileserver
- Go to Managed Apps > Xporter Section and click on Templates
- Install the template Sample Javascript from the Template Store
- Edit on workflow and configure an Xporter multi-action workflow post-function
- Template: Sample Javascript
- Action: Upload the report to the FTP server created.
- Go to and issue and do the transition configured on the previous step.
2024-03-08 08:25:57,102+0100 http-nio-8080-exec-9 ERROR jan.mikulasek-adm 505x1037x1 310nxz 10.1.10.100,127.0.0.1 /rest/cb-automation/latest/project/10502/rule/101/execute/CCNAOD-859 [c.x.j.c.d.b.api.javascript.JavaScriptExecutorService] Xporter was not able to initialize DocGraalVmEnginejava.lang.IllegalStateException: No language and polyglot implementation was found on the classpath. Make sure the truffle-api.jar is on the classpath. at org.graalvm.polyglot.Engine$PolyglotInvalid.noPolyglotImplementationFound(Engine.java:991) at org.graalvm.polyglot.Engine$PolyglotInvalid.createHostAccess(Engine.java:981) at org.graalvm.polyglot.Engine$Builder.build(Engine.java:621) at com.xpandit.jiraxporter.commons.document.builder.api.javascript.engine.impl.DocGraalVmEngine.<init>(DocGraalVmEngine.java:43) at com.xpandit.jiraxporter.commons.document.builder.api.javascript.JavaScriptExecutorService.initializeEngine(JavaScriptExecutorService.java:98) at com.xpandit.jiraxporter.commons.document.builder.api.javascript.JavaScriptExecutorService.executeJavascript(JavaScriptExecutorService.java:73) at com.xpandit.jiraxporter.commons.document.builder.impl.aspose.word.replacer.processor.JavascriptProcessor.process(JavascriptProcessor.java:45) at com.xpandit.jiraxporter.commons.document.builder.impl.aspose.word.replacer.processor.ParagraphProcessor.processNode(ParagraphProcessor.java:459) at com.xpandit.jiraxporter.commons.document.builder.impl.aspose.word.replacer.processor.ParagraphProcessor.process(ParagraphProcessor.java:149) at com.xpandit.jiraxporter.commons.document.builder.impl.aspose.word.replacer.processor.DocumentProcessor.processItem(DocumentProcessor.java:578) at com.xpandit.jiraxporter.commons.document.builder.impl.aspose.word.replacer.processor.DocumentProcessor.process(DocumentProcessor.java:227) at com.xpandit.jiraxporter.commons.document.builder.impl.aspose.word.replacer.processor.StaticProcessor.process(StaticProcessor.java:59) at com.xpandit.jiraxporter.commons.document.builder.impl.aspose.word.replacer.processor.DynamicProcessor.process(DynamicProcessor.java:189) at com.xpandit.jiraxporter.commons.document.builder.impl.aspose.word.replacer.processor.XporterProcessor.process(XporterProcessor.java:98) at com.xpandit.jiraxporter.commons.document.builder.impl.aspose.word.AsposeWordConverter.convert(AsposeWordConverter.java:348) at com.xpandit.jiraxporter.j.a.a.a(Unknown Source) at com.xpandit.jiraxporter.integration.automationforjira.XporterActionIntegration.createDocument(Unknown Source) at com.xpandit.jiraxporter.integration.automationforjira.XporterActionIntegration.execute(Unknown Source) at com.codebarrel.jira.plugin.automation.thirdparty.ThirdPartyComponentExecutor.execute(ThirdPartyComponentExecutor.java:49) at com.codebarrel.automation.api.service.ComponentChainImpl.doExecute(ComponentChainImpl.java:76) at com.codebarrel.automation.api.service.SingleRuleExecutorServiceImpl.execute(SingleRuleExecutorServiceImpl.java:270) at com.codebarrel.jira.plugin.automation.service.execution.JiraAutomationExecutionService.runRule(JiraAutomationExecutionService.java:72) at com.codebarrel.jira.plugin.automation.service.execution.JiraAutomationExecutionService.lambda$processEventWithRule$0(JiraAutomationExecutionService.java:49) at com.codebarrel.jira.plugin.automation.service.execution.JiraThreadLocalExecutor.lambda$executeAs$0(JiraThreadLocalExecutor.java:37) at com.codebarrel.jira.plugin.automation.service.execution.JiraThreadLocalExecutor.executeAsWithResult(JiraThreadLocalExecutor.java:67) at com.codebarrel.jira.plugin.automation.service.execution.JiraThreadLocalExecutor.executeAsWithResult(JiraThreadLocalExecutor.java:53) at com.codebarrel.jira.plugin.automation.service.execution.JiraThreadLocalExecutor.executeAs(JiraThreadLocalExecutor.java:36) at com.codebarrel.jira.plugin.automation.service.execution.JiraAutomationExecutionService.processEventWithRule(JiraAutomationExecutionService.java:48) at com.codebarrel.jira.plugin.automation.service.ManualTriggerServiceImpl.executeRule(ManualTriggerServiceImpl.java:237) at com.codebarrel.jira.plugin.automation.rest.RuleResource.executeManualRule(RuleResource.java:315) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.base/java.lang.reflect.Method.invoke(Unknown Source) ... 19 filtered at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:171) ... 1 filtered at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:75) ... 32 filtered at com.atlassian.servicedesk.internal.web.ExternalCustomerLockoutFilter.doFilter(ExternalCustomerLockoutFilter.java:55) ... 8 filtered at com.atlassian.jira.plugin.mobile.web.filter.MobileAppRequestFilter.doFilter(MobileAppRequestFilter.java:59) ... 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:54) ... 8 filtered at com.atlassian.web.servlet.plugin.request.RedirectInterceptingFilter.doFilter(RedirectInterceptingFilter.java:21) ... 43 filtered at com.atlassian.oauth2.scopes.web.ReadWriteScopeFilter.doFilter(ReadWriteScopeFilter.java:46) ... 3 filtered at com.atlassian.ratelimiting.internal.filter.RateLimitFilter.doFilter(RateLimitFilter.java:73) ... 3 filtered at com.atlassian.troubleshooting.thready.filter.AbstractThreadNamingFilter.doFilter(AbstractThreadNamingFilter.java:46) ... 17 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) ... 16 filtered at com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestSeraphFilter.java:38) ... 3 filtered at com.atlassian.pats.web.filter.TokenBasedAuthenticationFilter.doFilter(TokenBasedAuthenticationFilter.java:82) ... 3 filtered at com.atlassian.oauth2.provider.core.web.AccessTokenFilter.doFilter(AccessTokenFilter.java:82) ... 19 filtered at com.atlassian.jira.servermetrics.CorrelationIdPopulatorFilter.doFilter(CorrelationIdPopulatorFilter.java:30) ... 5 filtered at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.lambda$invokeFilterChain$0(CustomerContextSettingFilter.java:221) at com.atlassian.servicedesk.internal.api.util.context.ReentrantThreadLocalBasedCodeContext.rteInvoke(ReentrantThreadLocalBasedCodeContext.java:136) at com.atlassian.servicedesk.internal.api.util.context.ReentrantThreadLocalBasedCodeContext.runOutOfContext(ReentrantThreadLocalBasedCodeContext.java:89) at com.atlassian.servicedesk.internal.utils.context.CustomerContextServiceImpl.runOutOfCustomerContext(CustomerContextServiceImpl.java:47) at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.outOfCustomerContext(CustomerContextSettingFilter.java:212) at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.doFilterImpl(CustomerContextSettingFilter.java:140) at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.doFilter(CustomerContextSettingFilter.java:129) ... 4 filtered at com.atlassian.jwt.internal.servlet.JwtAuthFilter.doFilter(JwtAuthFilter.java:37) ... 8 filtered at com.atlassian.ratelimiting.internal.filter.RateLimitPreAuthFilter.doFilter(RateLimitPreAuthFilter.java:71) ... 3 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) ... 26 filtered at com.atlassian.jira.servermetrics.MetricsCollectorFilter.doFilter(MetricsCollectorFilter.java:25) ... 25 filtered at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Unknown Source)
Attachments
Issue Links
- mentioned in
-
Page Loading...