Error rendering for issue field default value

I design custom field and I have some problems.

On configure custom field page I have error while rendering default value:

Clip2net_171211133706.png

And logs says only

[INFO] [talledLocalContainer] 2017-12-11 13:36:18,642 http-nio-2990-exec-1 
WARN admin 816x15671x1 1h3fidh 10.16.33.34 /secure/admin/ConfigureCustomField!default.jspa
[c.atlassian.ozymandias.SafePluginPointAccess]
Unable to run plugin code because of 'java.lang.NullPointerException - null'.

I don't need any default value for this field. Can I remove this parameter or make correct render?

1 answer

0 votes
Ivan Tovbin Community Champion Dec 11, 2017

Hi Andrey,

Which version of Jira do you have? The problem you are encountering looks very similar to the one described in this ticket:

https://jira.atlassian.com/browse/JSWSERVER-11849

And apparently it has been fixed in 7.4.1

I use 7.2.2

Is there any workaround if I can not use 7.4.1?

If this field does have a default value, and as you have said you don't need it, you can try removing it by directly modifying DB record. Make sure you do a backup of your DB before you make any modifications to it.

Another solution might be simply deleting this field and making a new one, provided of course that you can afford deleting it and that this behaviour only manifests for this very field and not all other fields of this type.

Also keep in mind that if the behaviour you are encountering is indeed the one described in the bug ticket I mentioned then according to that ticket:  "This issue is a JIRA UI problem in the Field Configuration only. It indicates that JIRA cannot display the Default Value of the field, it does not affect your boards or prevent issues from being shown." In other words you can simply ignore this error as it is only shown on the field config screen and doesn't really affect your boards, filters etc. To confirm that the behavior you are encountering is the bug reported in the ticket I would suggest contacting Atlassian Support.

Thank you, Ivan!

Now I just ingore this error.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,982 views 12 18
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot