NullPointerException at com.fca.jira.plugins.workflowToolbox.shared.GeneralizedField.processValueToBeAssigned

I am using the "Copy a parsed text to a field" post-function of the JIRA Workflow Toolbox plugin in one of my workflows. The target field is a custom field of type Label. 

However the transition fails with a NullPointerException:

2015-01-18 15:55:56,824 http-apr-8081-exec-21 ERROR admin 955x990x1 eu5bu6, /secure/CommentAssignIssue.jspa [atlassian.jira.workflow.OSWorkflowManager] Caught exception while attempting to perform action 5 from workflow 33703 on issue 'VE-15'
    at java.util.StringTokenizer.<init>(Unknown Source)
    at java.util.StringTokenizer.<init>(Unknown Source)
    at com.fca.jira.plugins.workflowToolbox.shared.GeneralizedField.processValueToBeAssigned(
    at com.fca.jira.plugins.workflowToolbox.shared.GeneralizedField.setValue(
    at com.fca.jira.plugins.workflowToolbox.shared.GeneralizedField.setValue(
    at com.fca.jira.plugins.workflowToolbox.CopyParsedTextFunction.writeParsedText(
    at com.fca.jira.plugins.workflowToolbox.CopyParsedTextFunction.execute(
    at com.opensymphony.workflow.AbstractWorkflow.executeFunction(
    at com.opensymphony.workflow.AbstractWorkflow.transitionWorkflow(
    at com.opensymphony.workflow.AbstractWorkflow.doAction(
    at com.atlassian.jira.workflow.OSWorkflowManager.doWorkflowActionInsideTxn(
    at com.atlassian.jira.workflow.OSWorkflowManager.doWorkflowAction(
    at com.atlassian.jira.bc.issue.DefaultIssueService.transition(
    at com.atlassian.jira.web.action.issue.CommentAssignIssue.doExecute( <+1> (


If I change my target field to be the system JIRA Labels field (00080) instead of my custom field, the transition is successful, and the Labels field is set correctly. 

Any ideas as to what I am doing wrong?

The following image shows the complete list of post-functions for this transition:

image2015-1-18 17:0:55.png

Post-function 2 is the one that causes the NullPointerException. Post-function 1 works just fine.

Thanks for any help!

4 answers

1 accepted

0 votes
Accepted answer


That is a bug. It was fixed in JIRA Workflow Toolbox 2.1.21. Currently, the most recent version of the plugin is 2.1.25. I recommend you to upgrade that version, since it provides many improvements and bug fixes.

If you need support about the plugin, you can create an issue at



Hi Helene,

Which versions of JIRA Workflow Toolbox, and JIRA are you using?

Ah, sorry, forgot to include that. 

JIRA version 6.2.7

JIRA workflow toolbox version 2.1.20

I see that version 2.1.24 contains the following in the release notes:

Labels custom fields rendering was failing.

So I tried to upgrade to the latest version, and that resolved the problem. 

Should have checked that before!

But thanks for the incredibly fast reply smile

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Feb 07, 2019 in Marketplace Apps

A Timeless Love Story

It started as any story starts, on a normal, rainy day.   Admin meets App, and her name was Klok2, and like any first relationship we were both trying to make it work but neither one knew what...

465 views 8 27
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