java.lang.reflect.InvocationTargetException

Exception #2873733

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web590

  • via Unknown by Oscar Boykin,
  • via Stack Overflow by Guy
    ,
  • via Unknown by Matthieu Morel,
  • Stack trace

    • java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at scala_maven_executions.MainHelper.runMain(MainHelper.java:164) at scala_maven_executions.MainWithArgsInFile.main(MainWithArgsInFile.java:26) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at com.twitter.scalding.Job$.apply(Job.scala:41) at com.twitter.scalding.Tool.getJob(Tool.scala:49) at com.twitter.scalding.Tool.run(Tool.scala:69) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65) at com.linkedin.kryo.KryoBug$.main(KryoBug.scala:18) at com.linkedin.kryo.KryoBug.main(KryoBug.scala) ... 6 more Caused by: com.esotericsoftware.kryo.KryoException: java.util.ConcurrentModificationException Serialization trace: classes (sun.misc.Launcher$AppClassLoader) classLoader (org.apache.hadoop.conf.Configuration) conf (org.apache.hadoop.fs.LocalFileSystem) fs (com.linkedin.kryo.KryoBug) $outer (com.linkedin.kryo.KryoBug$$anonfun$1) f$1 (com.twitter.scalding.typed.TypedPipe$$anonfun$map$1) at com.esotericsoftware.kryo.serializers.FieldSerializer$ObjectField.write(FieldSerializer.java:585) at com.esotericsoftware.kryo.serializers.FieldSerializer.write(FieldSerializer.java:213) at com.esotericsoftware.kryo.Kryo.writeObject(Kryo.java:501) at com.esotericsoftware.kryo.serializers.FieldSerializer$ObjectField.write(FieldSerializer.java:564) at com.esotericsoftware.kryo.serializers.FieldSerializer.write(FieldSerializer.java:213) at com.esotericsoftware.kryo.Kryo.writeObject(Kryo.java:501) at com.esotericsoftware.kryo.serializers.FieldSerializer$ObjectField.write(FieldSerializer.java:564) at com.esotericsoftware.kryo.serializers.FieldSerializer.write(FieldSerializer.java:213) at com.esotericsoftware.kryo.Kryo.writeObject(Kryo.java:501) at com.esotericsoftware.kryo.serializers.FieldSerializer$ObjectField.write(FieldSerializer.java:564) at com.esotericsoftware.kryo.serializers.FieldSerializer.write(FieldSerializer.java:213) at com.esotericsoftware.kryo.Kryo.writeObject(Kryo.java:501) at com.esotericsoftware.kryo.serializers.FieldSerializer$ObjectField.write(FieldSerializer.java:564) at com.esotericsoftware.kryo.serializers.FieldSerializer.write(FieldSerializer.java:213) at com.esotericsoftware.kryo.Kryo.writeObject(Kryo.java:501) at com.esotericsoftware.kryo.serializers.FieldSerializer$ObjectField.write(FieldSerializer.java:564) at com.esotericsoftware.kryo.serializers.FieldSerializer.write(FieldSerializer.java:213) at com.esotericsoftware.kryo.Kryo.writeClassAndObject(Kryo.java:568) at com.twitter.chill.SerDeState.writeClassAndObject(SerDeState.java:64) at com.twitter.chill.KryoPool.toBytesWithClass(KryoPool.java:116) at com.twitter.chill.MeatLocker.<init>(MeatLocker.scala:29) at com.twitter.chill.MeatLocker$.apply(MeatLocker.scala:21) at com.twitter.scalding.FlatMapFunction.<init>(Operations.scala:36) at com.twitter.scalding.RichPipe$$anonfun$flatMapTo$1.apply(RichPipe.scala:394) at com.twitter.scalding.RichPipe$$anonfun$flatMapTo$1.apply(RichPipe.scala:394) at com.twitter.scalding.RichPipe.eachTo(RichPipe.scala:441) at com.twitter.scalding.RichPipe.flatMapTo(RichPipe.scala:394) at com.twitter.scalding.typed.TypedPipe.pipe(TypedPipe.scala:59) at com.twitter.scalding.typed.TypedPipe.write(TypedPipe.scala:170) at com.linkedin.kryo.KryoBug.<init>(KryoBug.scala:27) ... 16 more Caused by: java.util.ConcurrentModificationException at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372) at java.util.AbstractList$Itr.next(AbstractList.java:343) at com.esotericsoftware.kryo.serializers.CollectionSerializer.write(CollectionSerializer.java:74) at com.esotericsoftware.kryo.serializers.CollectionSerializer.write(CollectionSerializer.java:18) at com.esotericsoftware.kryo.Kryo.writeObject(Kryo.java:501) at com.esotericsoftware.kryo.serializers.FieldSerializer$ObjectField.write(FieldSerializer.java:564) ... 45 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    PilleoPilleo
    4 times, last one