Forums

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

What could be the reason for not being able to import workflows / connecting to marketplace?

Petra Margaritoff
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 30, 2019

In a new Jira software installation (8.4.2), I try to access the workflows on the Atlassian Marketplace in order to import one suitable to my needs. Unfortunately, I always receive an error message: "Es konnte keine Verbindung zu Atlassian Marketplace zum Durchsuchen von Arbeitsabläufen hergestellt werden." (roughly translated: Can not connect to Atlassian Marketplace in order to search for workflows).

Generally, the server can connect to the marketplace jsut fine. Installing add-ons from there is working perfectly fine. So it seems to be a workflow-related issue.

Our Jira is running on Debian Linux 4.19.0-6-amd64 using Java 11.0.4. and a MariaDB. The one unusual configuration might be that email in/out is not configured, because we are running the system in an academical situation with lots of different students.

The excerpt from the logfile looks like this:

2019-10-29 17:13:51,365 http-nio-8080-exec-2 ERROR petra 1033x6504x1 xus49l 141.22.66.70 /rest/wfshare/1.0/workflowbundles/summary/0 [c.a.p.r.c.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: class com.atlassian.upm.api.util.Option tried to access method 'com.google.common.collect.UnmodifiableIterator com.google.common.collect.Iterators.emptyIterator()' (com.atlassian.upm.api.util.Option is in unnamed module of loader org.apache.felix.framework.BundleWiringImpl$BundleClassLoader @1ea9ad7; com.google.common.collect.Iterators is in unnamed module of loader org.apache.catalina.loader.ParallelWebappClassLoader @434839cb)
java.lang.IllegalAccessError: class com.atlassian.upm.api.util.Option tried to access method 'com.google.common.collect.UnmodifiableIterator com.google.common.collect.Iterators.emptyIterator()' (com.atlassian.upm.api.util.Option is in unnamed module of loader org.apache.felix.framework.BundleWiringImpl$BundleClassLoader @1ea9ad7; com.google.common.collect.Iterators is in unnamed module of loader org.apache.catalina.loader.ParallelWebappClassLoader @434839cb)
at com.atlassian.upm.api.util.Option.iterator(Option.java:120)
at com.atlassian.marketplace.client.impl.PluginsImpl.getQueryBaseUri(PluginsImpl.java:145)
at com.atlassian.marketplace.client.impl.PluginsImpl.find(PluginsImpl.java:57)
at com.atlassian.jira.plugins.workflow.sharing.pac.MPacClientImpl.getWorkflowBundleListByFilter(MPacClientImpl.java:66)
at com.atlassian.jira.plugins.workflow.sharing.importer.rest.WorkflowBundlesResource.getWorkflowBundles(WorkflowBundlesResource.java:43)
at jdk.internal.reflect.GeneratedMethodAccessor1640.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
... 19 filtered
at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:159)
... 1 filtered
at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:69)
... 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: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)
... 57 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:37)
... 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:189)
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:180)
at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.doFilterImpl(CustomerContextSettingFilter.java:131)
at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.doFilter(CustomerContextSettingFilter.java:120)
... 4 filtered
at com.atlassian.jwt.internal.servlet.JwtAuthFilter.doFilter(JwtAuthFilter.java:37)
... 8 filtered
at com.atlassian.web.servlet.plugin.request.RedirectInterceptingFilter.doFilter(RedirectInterceptingFilter.java:21)
... 4 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 java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.base/java.lang.Thread.run(Thread.java:834)
2019-10-29 17:13:51,386 http-nio-8080-exec-7 ERROR petra 1033x6505x2 xus49l 141.22.66.70 /rest/wfshare/1.0/workflowbundles/summary/0 [c.a.p.r.c.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: class com.atlassian.upm.api.util.Option tried to access method 'com.google.common.collect.UnmodifiableIterator com.google.common.collect.Iterators.emptyIterator()' (com.atlassian.upm.api.util.Option is in unnamed module of loader org.apache.felix.framework.BundleWiringImpl$BundleClassLoader @1ea9ad7; com.google.common.collect.Iterators is in unnamed module of loader org.apache.catalina.loader.ParallelWebappClassLoader @434839cb)
java.lang.IllegalAccessError: class com.atlassian.upm.api.util.Option tried to access method 'com.google.common.collect.UnmodifiableIterator com.google.common.collect.Iterators.emptyIterator()' (com.atlassian.upm.api.util.Option is in unnamed module of loader org.apache.felix.framework.BundleWiringImpl$BundleClassLoader @1ea9ad7; com.google.common.collect.Iterators is in unnamed module of loader org.apache.catalina.loader.ParallelWebappClassLoader @434839cb)
at com.atlassian.upm.api.util.Option.iterator(Option.java:120)
at com.atlassian.marketplace.client.impl.PluginsImpl.getQueryBaseUri(PluginsImpl.java:145)
at com.atlassian.marketplace.client.impl.PluginsImpl.find(PluginsImpl.java:57)
at com.atlassian.jira.plugins.workflow.sharing.pac.MPacClientImpl.getWorkflowBundleListByFilter(MPacClientImpl.java:66)
at com.atlassian.jira.plugins.workflow.sharing.importer.rest.WorkflowBundlesResource.getWorkflowBundles(WorkflowBundlesResource.java:43)
at jdk.internal.reflect.GeneratedMethodAccessor1640.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
... 19 filtered
at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:159)
... 1 filtered
at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:69)
... 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: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)
... 57 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:37)
... 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:189)
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:180)
at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.doFilterImpl(CustomerContextSettingFilter.java:131)
at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.doFilter(CustomerContextSettingFilter.java:120)
... 4 filtered
at com.atlassian.jwt.internal.servlet.JwtAuthFilter.doFilter(JwtAuthFilter.java:37)
... 8 filtered
at com.atlassian.web.servlet.plugin.request.RedirectInterceptingFilter.doFilter(RedirectInterceptingFilter.java:21)
... 4 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 java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.base/java.lang.Thread.run(Thread.java:834)

 

1 answer

1 accepted

0 votes
Answer accepted
Earl McCutcheon
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 31, 2019

Hello @Petra Margaritoff ,

When you run into issues connecting to the marketplace it's usually going to be aUPD settings on the network.

I would recomend checking out the troubleshooting guide at the following link for marketplace connectivity issues and rule out these items:

Let me know how it goes and what you find.

As a workaround while you are checking out the network settings you can go directly to the Marketplace and search for workflows and download them locally and follow the steps to import the workflow as covered in  "Sharing your workflow: Importing from a local instance" 

Regards,
Earl

Petra Margaritoff
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 7, 2019

Hello @Earl McCutcheon ,

Thank you very much for your quick reply. We could rule out the items stated in Problems Connecting to the Atlassian Marketplace and the problem still persists.

But your workaround is a life saver. I have installed the workflows manually now, so the urgency level decreased by a couple of powers.

Thanks again and

Regards

Petra

Like Earl McCutcheon likes this

Suggest an answer

Log in or Sign up to answer