Script Fields being Dropped on re-index

Angus Law November 4, 2014

Hi Jamie,

I'm seeing this error spam the logs when I try to reindex, though it doesn't stop the re-index happening.

However, the calculation being done in the scripts is not occuring so I feel the two may be related.

Have you ever seen the below before?

Thanks,

Angus

 

2014-11-03 20:56:29,586 IssueIndexer:thread-4 WARN Angus.Law@thomsons.com 1198x197041x1 edzrep 85.133.5.43 /secure/admin/jira/IndexReIndex.jspa [jira.issue.index.DefaultIssueDocumentFactory] Error indexing issue APPLE_GER-18: Dropping 'customfield_10008'

 

2014-11-03 20:56:29,602 IssueIndexer:thread-1 WARN Angus.Law@thomsons.com 1198x197041x1 edzrep 85.133.5.43 /secure/admin/jira/IndexReIndex.jspa [jira.issue.index.DefaultIssueDocumentFactory] Error indexing issue APPLE_GER-17: Dropping 'customfield_10011'


2014-11-03 20:56:29,617 IssueIndexer:thread-9 WARN Angus.Law@thomsons.com 1198x197041x1 edzrep 85.133.5.43 /secure/admin/jira/IndexReIndex.jspa [jira.issue.index.DefaultIssueDocumentFactory] Error indexing issue APPLE_GER-22: Dropped: [customfield_10008, customfield_10011]

 

 

4 answers

0 votes
Girish Shenoy June 4, 2016

We have ScriptRunner latest relase on JIRA 6.4.12 and facing the same problem now. We just upgraded our system from 6.3.15 to 6.4.12 today and currently have a open P1 issue with Atlassian support.

We disabled all plugins and then tried reindexing and see these errors for every custom field and not just scripted field.

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 Leaders.
November 4, 2014

If you're using the number indexer you will need to cast to a Double. Preview in the script fields UI will show this as an error....

0 votes
Angus Law November 4, 2014

I think I found the problem here: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Double I'll have a look at the script and get back to you.

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 Leaders.
November 4, 2014

Hi. Can you provide the version info? Isn't there any other info in the logs, immediately before the that error you've shown?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events