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 vote

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 vote

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Tuesday in Marketplace Apps

If you’re an Atlassian app developer, you’ll want to know about Atlas Camp!

This September 6-7, hundreds of Atlassian App developers will flock to Barcelona Spain to build skills, discover product roadmaps, meet face-to-face with the Atlassian team, and learn how to extend t...

119 views 0 4
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