java.lang.VerifyError: Bad type on operand stack Exception Details: Location: akka/util/ByteString.apply(I)Ljava/lang/Object; @5: areturn Reason: Type integer (current frame, stack[0]) is not assignable to reference type Current Frame: bci: @5 flags: { } locals: { 'akka/util/ByteString', integer } stack: { integer } Bytecode: 0x0000000: 2a1b b603 99b0

Stack Overflow | Raveesh Sharma | 11 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    kamon akka 2.4 throws a java.lang.VerifyError

    Stack Overflow | 11 months ago | Raveesh Sharma
    java.lang.VerifyError: Bad type on operand stack Exception Details: Location: akka/util/ByteString.apply(I)Ljava/lang/Object; @5: areturn Reason: Type integer (current frame, stack[0]) is not assignable to reference type Current Frame: bci: @5 flags: { } locals: { 'akka/util/ByteString', integer } stack: { integer } Bytecode: 0x0000000: 2a1b b603 99b0
  2. 0

    kamon 0.6.1 wit aspectjweaver 1.8.9 throws a java.lang.VerifyError

    Google Groups | 11 months ago | Raveesh Sharma
    java.lang.VerifyError: Bad type on operand stack Exception Details: Location: akka/util/ByteString.apply(I)Ljava/lang/Object; @5: areturn Reason: Type integer (current frame, stack[0]) is not assignable to reference type Current Frame: bci: @5 flags: { } locals: { 'akka/util/ByteString', integer } stack: { integer } Bytecode: 0x0000000: 2a1b b603 99b0

    Root Cause Analysis

    1. java.lang.VerifyError

      Bad type on operand stack Exception Details: Location: akka/util/ByteString.apply(I)Ljava/lang/Object; @5: areturn Reason: Type integer (current frame, stack[0]) is not assignable to reference type Current Frame: bci: @5 flags: { } locals: { 'akka/util/ByteString', integer } stack: { integer } Bytecode: 0x0000000: 2a1b b603 99b0

      at akka.util.ByteString$ByteString1C$.apply()
    2. Akka Actor
      ByteString$ByteString1C$.apply
      1. akka.util.ByteString$ByteString1C$.apply(ByteString.scala:106)
      1 frame
    3. Akka Remote
      EndpointManager$$anonfun$9.apply
      1. akka.remote.transport.AkkaPduProtobufCodec$.constructControlMessagePdu(AkkaPduCodec.scala:235)
      2. akka.remote.transport.AkkaPduProtobufCodec$.<init>(AkkaPduCodec.scala:153)
      3. akka.remote.transport.AkkaPduProtobufCodec$.<clinit>(AkkaPduCodec.scala:1)
      4. akka.remote.EndpointManager$$anonfun$9.apply(Remoting.scala:775)
      5. akka.remote.EndpointManager$$anonfun$9.apply(Remoting.scala:745)
      5 frames
    4. Scala
      TraversableLike$WithFilter.map
      1. scala.collection.TraversableLike$WithFilter$$anonfun$map$2.apply(TraversableLike.scala:683)
      2. scala.collection.Iterator$class.foreach(Iterator.scala:893)
      3. scala.collection.AbstractIterator.foreach(Iterator.scala:1336)
      4. scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
      5. scala.collection.AbstractIterable.foreach(Iterable.scala:54)
      6. scala.collection.TraversableLike$WithFilter.map(TraversableLike.scala:682)
      6 frames
    5. Akka Remote
      EndpointManager$$anonfun$receive$2.applyOrElse
      1. akka.remote.EndpointManager.akka$remote$EndpointManager$$listens(Remoting.scala:745)
      2. akka.remote.EndpointManager$$anonfun$receive$2.applyOrElse(Remoting.scala:504)
      2 frames
    6. Akka Actor
      Actor$class.aroundReceive
      1. akka.actor.Actor$class.aroundReceive(Actor.scala:482)
      1 frame
    7. Akka Remote
      EndpointManager.aroundReceive
      1. akka.remote.EndpointManager.aroundReceive(Remoting.scala:403)
      1 frame
    8. Akka Actor
      Mailbox.exec
      1. akka.actor.ActorCell.receiveMessage(ActorCell.scala:526)
      2. akka.actor.ActorCell.invoke(ActorCell.scala:495)
      3. akka.dispatch.Mailbox.processMailbox(Mailbox.scala:257)
      4. akka.dispatch.Mailbox.run(Mailbox.scala:224)
      5. akka.dispatch.Mailbox.exec(Mailbox.scala:234)
      5 frames
    9. Scala
      ForkJoinWorkerThread.run
      1. scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
      2. scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
      3. scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
      4. scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
      4 frames
    10. Akka Actor
      Actor$class.aroundReceive
      1. akka.actor.Actor$class.aroundReceive(Actor.scala:482)
      1 frame
    11. Akka Remote
      EndpointManager.aroundReceive
      1. akka.remote.EndpointManager.aroundReceive(Remoting.scala:403)
      1 frame
    12. Akka Actor
      Mailbox.exec
      1. akka.actor.ActorCell.receiveMessage(ActorCell.scala:526)
      2. akka.actor.ActorCell.invoke(ActorCell.scala:495)
      3. akka.dispatch.Mailbox.processMailbox(Mailbox.scala:257)
      4. akka.dispatch.Mailbox.run(Mailbox.scala:224)
      5. akka.dispatch.Mailbox.exec(Mailbox.scala:234)
      5 frames
    13. Scala
      ForkJoinWorkerThread.run
      1. scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
      2. scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
      3. scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
      4. scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
      4 frames