java.lang.ClassCastException: akka.NotUsed$ cannot be cast to scala.runtime.BoxedUnit

GitHub | Ciaran0 | 9 months ago
  1. 0

    Error with AkkaStreams

    GitHub | 9 months ago | Ciaran0
    java.lang.ClassCastException: akka.NotUsed$ cannot be cast to scala.runtime.BoxedUnit
  2. 0

    Initialization error

    GitHub | 6 years ago | plockaby
    java.lang.ClassCastException: scala.runtime.BoxedUnit cannot be cast to com.twitter.flockdb.config.FlockDB
  3. 0

    Strange exception when logging set to trace in Play Framework 2.1

    Stack Overflow | 4 years ago | Kumaniac
    java.lang.ClassCastException: scala.runtime.BoxedUnit cannot be cast to scala.Function0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 64#25210518

    GitHub | 3 years ago | SethTisue
    java.lang.ClassCastException: scala.runtime.BoxedUnit cannot be cast to java.lang.String
  6. 0

    Tables with generic columns?

    Google Groups | 6 months ago | Unknown author
    java.lang.ClassCastException: scala.Tuple2 cannot be cast to scala.runtime.BoxedUnit

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      akka.NotUsed$ cannot be cast to scala.runtime.BoxedUnit

      at com.spingo.op_rabbit.stream.RabbitSource$$anonfun$apply$7.apply()
    2. com.spingo.op_rabbit
      RabbitSource$$anonfun$apply$7.apply
      1. com.spingo.op_rabbit.stream.RabbitSource$$anonfun$apply$7.apply(RabbitSource.scala:167)
      1 frame
    3. akka.stream.impl
      ActorMaterializerImpl.materialize
      1. akka.stream.impl.MaterializerSession.resolveMaterialized(StreamLayout.scala:679)
      2. akka.stream.impl.MaterializerSession.resolveMaterialized(StreamLayout.scala:678)
      3. akka.stream.impl.MaterializerSession.resolveMaterialized(StreamLayout.scala:678)
      4. akka.stream.impl.MaterializerSession.resolveMaterialized(StreamLayout.scala:678)
      5. akka.stream.impl.MaterializerSession.resolveMaterialized(StreamLayout.scala:678)
      6. akka.stream.impl.MaterializerSession.resolveMaterialized(StreamLayout.scala:678)
      7. akka.stream.impl.MaterializerSession.materializeModule(StreamLayout.scala:665)
      8. akka.stream.impl.MaterializerSession.materialize(StreamLayout.scala:608)
      9. akka.stream.impl.ActorMaterializerImpl.materialize(ActorMaterializerImpl.scala:189)
      10. akka.stream.impl.ActorMaterializerImpl.materialize(ActorMaterializerImpl.scala:79)
      10 frames
    4. akka.stream.scaladsl
      RunnableGraph.run
      1. akka.stream.scaladsl.RunnableGraph.run(Flow.scala:343)
      1 frame
    5. com.paddypower.streams
      BetStreamFlow.consumeBets
      1. com.paddypower.streams.flows.BetStreamFlow.consumeBets(BetStreamFlow.scala:77)
      1 frame
    6. com.paddypower.app
      Boot$delayedInit$body.apply
      1. com.paddypower.app.Boot$.delayedEndpoint$com$paddypower$app$Boot$1(Boot.scala:30)
      2. com.paddypower.app.Boot$delayedInit$body.apply(Boot.scala:17)
      2 frames
    7. Scala
      App$class.main
      1. scala.Function0$class.apply$mcV$sp(Function0.scala:34)
      2. scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:12)
      3. scala.App$$anonfun$main$1.apply(App.scala:76)
      4. scala.App$$anonfun$main$1.apply(App.scala:76)
      5. scala.collection.immutable.List.foreach(List.scala:381)
      6. scala.collection.generic.TraversableForwarder$class.foreach(TraversableForwarder.scala:35)
      7. scala.App$class.main(App.scala:76)
      7 frames
    8. com.paddypower.app
      Boot.main
      1. com.paddypower.app.Boot$.main(Boot.scala:17)
      2. com.paddypower.app.Boot.main(Boot.scala)
      2 frames
    9. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames