Exceptions occur in Workflow Designer / View Workflow using Java 1.7

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

When trying to view/edit a Workflow using the Workflow Designer or viewing a workflow through an issue JIRA throws exceptions:

Using the ' View Workflow' button from within an issueView Workflow from the Administration PanelEditing Workflow using the Workflow Designer

(the spinner freezes indefinitely)

 

The following appears in the atlassian-jira.log:

2013-03-12 16:53:52,473 http-bio-80-exec-25 ERROR erawlins 1013x164x1 85fimc 0:0:0:0:0:0:0:1 /plugins/servlet/workflow/thumbnail/getThumbnail [plugins.workflow.servlet.WorkflowThumbnailServlet] Error getting workflow thumbnail, returning default image.
java.lang.IllegalArgumentException: Comparison method violates its general contract!
    at java.util.ComparableTimSort.mergeLo(ComparableTimSort.java:714)
    at java.util.ComparableTimSort.mergeAt(ComparableTimSort.java:451)
    at java.util.ComparableTimSort.mergeForceCollapse(ComparableTimSort.java:392)
... 

Or appears in the GUI, as from the previous screenshot:

com.exadel.flamingo.service.exception.ServiceInvokationException: java.lang.reflect.InvocationTargetException
	at com.exadel.flamingo.service.spring.utils.AMFSpringMethodInvoker.makeCall(AMFSpringMethodInvoker.java:150)
	at com.sysbliss.jira.plugins.workflow.amf.JWDAMF3RemotingMessageProcessor.process(JWDAMF3RemotingMessageProcessor.java:56)

Cause

This seems to be happening due to a bug in Java 1.7 (FELIX-3571). We are also tracking this in  JRA-32072 - Getting issue details... STATUS

Workaround

Java 6 is not supported for JIRA 6.0.x and higher. Unfortunately there is no current known workaround for this in JIRA 6.0.x and higher with a supported Java version.

  1. Shutdown JIRA.
  2. Install Java 6 as per our Installing Java docs.
  3. Restart JIRA.

Resolution

tip/resting Created with Sketch.

To fix this problem, please upgrade JIRA to version 6.1, which introduces a new workflow designer.

 

Last modified on Nov 2, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.