It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Script Fields being Dropped on re-index

Angus Law Nov 04, 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
JamieA Nov 04, 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?

0 votes
Angus Law Nov 04, 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 Nov 04, 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
Girish Shenoy Jun 04, 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.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Posted in Marketplace Apps & Integrations

Demo Den Ep. 4: Continuous Integration with CircleCI & Jira Software

Get ready! Demo Den Episode 4 is coming your way on Tuesday, May 28, 2018 with a Continuous Integration and Delivery special demo. CircleCI Director of Solutions Engineering, Eddie Webb will show us ...

503 views 0 4
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you