Script Fields being Dropped on re-index

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

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

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

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....

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.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 11, 2018 in Marketplace Apps

You + one app + a desert island...

Hi all! My name is Miles and I work on the Marketplace team. We’re looking for better ways to recommend and suggest apps that are truly crowd favorites, so of course we wanted to poll the Community. ...

2,151 views 5 6
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