NullPointerException error when trying to configure "Set Issue security from user role" using the JIRA Misc Workflow Extensions pluging

Using JIRA 4.2 and JIRA Misc Workflow Extensions 2.5.4 on a test box (not our live production JIRA environment)

I've copied our default workflow to try to add in the "Set Issue security from user role" post-function. Using the copied workflow I then did the following:

  1. Click the Open step
  2. Click the Create Issue transition
  3. Click Post Functions
  4. Click "Add a new post function"
  5. Select "Set issue security level based on user's project role"
  6. Click Add
  7. I then get a page titled "Add Parameters To Function" with the body text "Add required parameters to the Function." under which there are buttons for Add or Cancel (screenshot attached)

There are no parameters to choose from and if I click Add I get a huge long error page, the cause summary of which is "com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.NullPointerException" (full text attached error.txt)

Any ideas what might be the cause? Thanks in advance!

3 answers

1 accepted

As I suspected, version 2.5.4 of the plugin does not support JIRA 4.2. Now we've upgraded to JIRA 5.2 the plugin is working perfectly.

Hi Sarah,

Have you already given a try in re-index the JIRA content? Please give it a try and then try to perform the action you've descreibed above once again.

Let us know how it goes.

Cheers!

Hi Fernando,

We haven't tried that yet, no. Since posting my question we have considered that the latest version of the plugin might not support JIRA 4.2 as the documentation for it lists "JIRA 5.0 - 5.2.1"

We are waiting for an upgrade to JIRA 5.2 but our IT team wanted to get this plugin working for us first. As we now suspect that our version of JIRA might not be supported, we've decided to run an upgrade to JIRA 5.2 on a test box and try the plugin on that. I will post back if the plugin still doesn't work on 5.2.

Thanks for replying!

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
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

313 views 0 6
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