Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
  • Community
  • Q&A
  • Jira
  • Questions
  • "Exception occurred: java.lang.NullPointerException" when updating the fix version on an issue

Possible to search inside a Jira attachment?

Colum McAndrew
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
August 11, 2021

I'm wondering if it is possible to find tickets with attachments containing a specific text string. It doesn't look possible, but wanted to get that confirmed. It seems you can only use JQL to find tickets with attachments.

3 answers

1 accepted

1 vote
Answer accepted
Colin Goudie
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
January 24, 2012

Looks like an issue with the User Picker plugin you are using (Not an Atlassian plugin)

In fact it might already be logged as an issue with them - See

https://studio.plugins.atlassian.com/browse/JUP-5

You'll have to communicate to the plugin vendor to try get them to fix

0 votes
JT
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
January 24, 2012

Here is the start of the stack trace

2012-01-24 17:09:34,628 http-8080-28 ERROR jeanne.howe 1029x3644110x1 biyjx1 192.251.134.5 /secure/EditIssue.jspa [web.action.issue.EditIssue] Exception occurred editing issue: java.lang.NullPointerException
java.lang.NullPointerException
at com.iamhuy.jira.plugin.customfields.UserPickerProjectRole.getStringFromSingularObject(UserPickerProjectRole.java:129)
at com.atlassian.jira.issue.customfields.impl.StringCFType.getDbValueFromObject(StringCFType.java:16)
at com.atlassian.jira.issue.customfields.impl.AbstractSingleFieldType.updateValue(AbstractSingleFieldType.java:137)
at com.atlassian.jira.issue.fields.CustomFieldImpl.updateValue(CustomFieldImpl.java:402)
at com.atlassian.jira.issue.fields.CustomFieldImpl.updateValue(CustomFieldImpl.java:363)
at com.atlassian.jira.issue.managers.DefaultIssueManager.updateFieldValues(DefaultIssueManager.java:643)
at com.atlassian.jira.issue.managers.DefaultIssueManager.updateIssue(DefaultIssueManager.java:569)
at com.atlassian.jira.bc.issue.DefaultIssueService.update(DefaultIssueService.java:298)
at com.atlassian.jira.bc.issue.DefaultIssueService.update(DefaultIssueService.java:267)
at com.atlassian.jira.bc.issue.DefaultIssueService.update(DefaultIssueService.java:273)
at com.atlassian.jira.web.action.issue.EditIssue.doExecute(EditIssue.java:130)

0 votes
JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
January 23, 2012

You need to post a stacktrace at the least.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events