I get 500 oops error while switching the workflow or workflow scheme, below are the logs Edited

java.lang.NullPointerException
at com.atlassian.jira.web.action.admin.workflow.scheme.SelectProjectWorkflowSchemeStep2.getSelectListName(SelectProjectWorkflowSchemeStep2.java:186) [classes/:?]
at com.atlassian.jira.web.action.admin.workflow.scheme.SelectProjectWorkflowSchemeStep2.addMigrationMappings(SelectProjectWorkflowSchemeStep2.java:139) [classes/:?]
at com.atlassian.jira.web.action.admin.workflow.scheme.SelectProjectWorkflowSchemeStep2.access$100(SelectProjectWorkflowSchemeStep2.java:42) [classes/:?]
at com.atlassian.jira.web.action.admin.workflow.scheme.SelectProjectWorkflowSchemeStep2$1.call(SelectProjectWorkflowSchemeStep2.java:107) [classes/:?]
at com.atlassian.jira.web.action.admin.workflow.scheme.SelectProjectWorkflowSchemeStep2$1.call(SelectProjectWorkflowSchemeStep2.java:101) [classes/:?]
at com.atlassian.jira.workflow.DefaultWorkflowSchemeManager.waitForUpdatesToFinishAndExecute(DefaultWorkflowSchemeManager.java:845) [classes/:?]
at 

2 answers

1 vote
Maarten Cautreels Community Champion Apr 04, 2017

Hi Swapnil,

I've added the JIRA tag to the question and move it to the right product group. I hope you don't mind.

Regarding your question, it looks like something is going wrong in the code, this might be caused by a bug or something else. The best way to get a solution to your problem is to get in touch with Atlassian Support. They might be able to point you to the right bug or help you fix the issue.

Best,

Maarten

1 vote

Could you tell us at what exact point the error happens?  Committing to the new scheme, or starting to select it etc.

We also need to see more of the logged error.

I suspect it's a broken workflow though - can you have a look at the one(s) you are switching to and check that all the steps look like sane status (no red question marks)

Thank you.

The error comes when I try to Publish a draft of workflow scheme or try to change the entire workflow scheme.

Also, I checked that workflow is not broken.

To add I performed Integrity checker and found that all of them passed.

 

Regards,

Swapnil

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Fadoua M. Boualem
Published Monday in Trello

Using Trello to manage events

As a Jira power user, I was at first doubtful that Trello could benefit my workflow. Jira already uses boards (ones you can customize!), so why would I even need to use Trello?! In this post you will...

475 views 7 8
Read article

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