Issue 16612

Class cast error while building clb solr index

16612
Reporter: mdoering
Type: Bug
Summary: Class cast error while building clb solr index
Priority: Critical
Resolution: Duplicate
Status: Resolved
Created: 2014-11-05 13:40:34.433
Updated: 2015-01-24 09:48:51.348
Resolved: 2015-01-24 09:48:51.273
        
Description: ERROR [2014-11-04 16:33:54,220+0100] [pool-1-thread-8] org.gbif.checklistbank.index.NameUsageDocConverter: Error converting usage 109556056 to solr document: null
ERROR [2014-11-04 16:33:54,220+0100] [pool-1-thread-8] org.gbif.checklistbank.index.NameUsageIndexingJob: Error indexing document for usage 109556056
java.lang.RuntimeException: java.lang.ClassCastException
        at org.gbif.checklistbank.index.NameUsageDocConverter.toObject(NameUsageDocConverter.java:127) ~[checklistbank-solr.jar:na]
        at org.gbif.checklistbank.index.NameUsageIndexingJob.call(NameUsageIndexingJob.java:105) [checklistbank-solr.jar:na]
        at org.gbif.checklistbank.index.NameUsageIndexingJob.call(NameUsageIndexingJob.java:22) [checklistbank-solr.jar:na]
        at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_71]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_71]
        at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_71]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_71]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_71]
        at java.lang.Thread.run(Thread.java:745) [na:1.7.0_71]
Caused by: java.lang.ClassCastException: null
ERROR [2014-11-04 16:33:54,220+0100] [pool-1-thread-8] org.gbif.checklistbank.index.NameUsageDocConverter: Error converting usage 109556057 to solr document: null
ERROR [2014-11-04 16:33:54,220+0100] [pool-1-thread-8] org.gbif.checklistbank.index.NameUsageIndexingJob: Error indexing document for usage 109556057
java.lang.RuntimeException: java.lang.ClassCastException
        at org.gbif.checklistbank.index.NameUsageDocConverter.toObject(NameUsageDocConverter.java:127) ~[checklistbank-solr.jar:na]
        at org.gbif.checklistbank.index.NameUsageIndexingJob.call(NameUsageIndexingJob.java:105) [checklistbank-solr.jar:na]
        at org.gbif.checklistbank.index.NameUsageIndexingJob.call(NameUsageIndexingJob.java:22) [checklistbank-solr.jar:na]
        at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_71]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_71]
        at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_71]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_71]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_71]
        at java.lang.Thread.run(Thread.java:745) [na:1.7.0_71]
Caused by: java.lang.ClassCastException: null
ERROR [2014-11-04 16:33:54,221+0100] [pool-1-thread-8] org.gbif.checklistbank.index.NameUsageDocConverter: Error converting usage 109556058 to solr document: null
ERROR [2014-11-04 16:33:54,221+0100] [pool-1-thread-8] org.gbif.checklistbank.index.NameUsageIndexingJob: Error indexing document for usage 109556058
java.lang.RuntimeException: java.lang.ClassCastException
        at org.gbif.checklistbank.index.NameUsageDocConverter.toObject(NameUsageDocConverter.java:127) ~[checklistbank-solr.jar:na]
        at org.gbif.checklistbank.index.NameUsageIndexingJob.call(NameUsageIndexingJob.java:105) [checklistbank-solr.jar:na]
        at org.gbif.checklistbank.index.NameUsageIndexingJob.call(NameUsageIndexingJob.java:22) [checklistbank-solr.jar:na]
        at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_71]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_71]
        at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_71]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_71]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_71]
        at java.lang.Thread.run(Thread.java:745) [na:1.7.0_71]
]]>
    


Author: mdoering@gbif.org
Comment: duplicate of POR-2625
Created: 2015-01-24 09:48:51.345
Updated: 2015-01-24 09:48:51.345