VERIFIED SOLUTION i
X

Resolve "Error executing job: dish_service_dev-b threw StageException: java.lang.ClassCastException" when running large files for Spectrum Class Cast

Issue

User receives this error when running large files in Spectrum Class Cast:

INFO | jvm 1 | 2015/10/08 09:57:45 | ERROR [JobProcessImpl] Error executing job: dish_service_dev-b threw StageException: java.lang.ClassCastException
INFO | jvm 1 | 2015/10/08 09:57:45 | com.g1.dcg.stage.StageException: java.lang.ClassCastException
INFO | jvm 1 | 2015/10/08 09:57:45 | at com.pb.spectrum.platform.server.common.datasource.stage.Sink.execute(Sink.java:128) ~[na:na]
INFO | jvm 1 | 2015/10/08 09:57:45 | at com.pb.spectrum.platform.server.runtime.core.dataflow.engine.impl.StageRunner.call_aroundBody0(StageRunner.java:204) ~[spectrum-server-runtime-core-9.3.jar:9.3]
INFO | jvm 1 | 2015/10/08 09:57:45 | at com.pb.spectrum.platform.server.runtime.core.dataflow.engine.impl.StageRunner.call_aroundBody1$advice(StageRunner.java:135) ~[spectrum-server-runtime-core-9.3.jar:9.3]
INFO | jvm 1 | 2015/10/08 09:57:45 | at com.pb.spectrum.platform.server.runtime.core.dataflow.engine.impl.StageRunner.call(StageRunner.java:1) ~[spectrum-server-runtime-core-9.3.jar:9.3]
INFO | jvm 1 | 2015/10/08 09:57:45 | at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:178) ~[backport-util-concurrent-3.1.jar:na]
INFO | jvm 1 | 2015/10/08 09:57:45 | at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061) ~[backport-util-concurrent-3.1.jar:na]
INFO | jvm 1 | 2015/10/08 09:57:45 | at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575) ~[backport-util-concurrent-3.1.jar:na]
INFO | jvm 1 | 2015/10/08 09:57:45 | at java.lang.Thread.run(Thread.java:745) [na:1.7.0_60-ea]
INFO | jvm 1 | 2015/10/08 09:57:45 | java.lang.ClassCastException: null

Cause

Their DMA output was greater than 1.

Resolution

UPDATED: October 12, 2017


Go through the Point In Polygon SubFlow and limit the output of their DMA output to 1. This allows Spectrum to process the record without the cast exception meaning it is successful.

Environment Details

Product Feature: Spectrum Server


 

Downloads

  • No Downloads