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


Solutions on the web2390

Solution icon of googlegroups
via Google Groups by Raveesh Sharma, 7 months ago
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

Solution icon of stackoverflow
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

Solution icon of googlegroups
Bad type on operand stack Exception Details: Location: org/kohsuke/github/GHRepository$MockitoMock$667330966.getId()Ljava/lang/String; @4: checkcast Reason: Type integer (current frame, stack[0]) is not assignable to 'java/lang

Solution icon of github
Bad type on operand stack Exception Details: Location: org/kohsuke/github/GHRepository$MockitoMock$667330966.getId()Ljava/lang/String; @4: checkcast Reason: Type integer (current frame, stack[0]) is not assignable to 'java/lang

Solution icon of github
via GitHub by olee
, 11 months ago
Bad type on operand stack Exception Details: Location: vazkii/botania/common/entity/EntityDoppleganger.func_70636_d()V @2068: invokevirtual Reason: Type 'java/lang/Object' (current frame, stack[0]) is not assignable to 'net/minecraft

Solution icon of openjdk
via JDK Bug System by Webbug Group, 4 months ago
Bad return type Exception Details: Location: TestFailing.lambda$main$1(LTestFailing$Function2;Ljava/lang/Integer;)Ljava/lang/Integer; @11: areturn Reason: Type 'java/lang/Object' (current frame, stack[0]) is not assignable to 'java/lang

Solution icon of github
Bad type on operand stack Exception Details: Location: testapp/model/Person2.hashCode()I @30: invokestatic Reason: Type 'java/lang/Integer' (current frame, stack[5]) is not assignable to '[Ljava/lang/Object;' Current Frame: bci

Solution icon of github
Bad type on operand stack Exception Details: Location: If.main([Ljava/lang/String;)V @21: ifeq Reason: Type top (current frame, stack[0]) is not assignable to integer Current Frame: bci: @21 flags: { } locals: { '[Ljava

Solution icon of github
via GitHub by JKetelaar
, 4 months ago
Bad type on operand stack Exception Details: Location: b.getNpcs()[Lorg/rev317/min/accessors/Npc; @4: checkcast Reason: Type integer (current frame, stack[0]) is not assignable to 'java/lang/Object' Current Frame: bci: @4 flags: { } locals: { 'b' } stack: { integer } Bytecode: 0x0000000: 2ab4 094b c01b a4b0

Solution icon of github
Bad return type Exception Details: Location: UnitTest$MyClass$Access4JacksonDeserializer26caf25d.stringGetter(Ljava/lang/Object;I)Ljava/lang/String; @10: areturn Reason: Type 'java/lang/Object' (current frame, stack[1]) is not assignable

Stack trace

  • 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(ByteString.scala:106) at akka.remote.transport.AkkaPduProtobufCodec$.constructControlMessagePdu(AkkaPduCodec.scala:235) at akka.remote.transport.AkkaPduProtobufCodec$.<init>(AkkaPduCodec.scala:153) at akka.remote.transport.AkkaPduProtobufCodec$.<clinit>(AkkaPduCodec.scala:1) at akka.remote.EndpointManager$$anonfun$9.apply(Remoting.scala:775) at akka.remote.EndpointManager$$anonfun$9.apply(Remoting.scala:745) at scala.collection.TraversableLike$WithFilter$$anonfun$map$2.apply(TraversableLike.scala:683) at scala.collection.Iterator$class.foreach(Iterator.scala:893) at scala.collection.AbstractIterator.foreach(Iterator.scala:1336) at scala.collection.IterableLike$class.foreach(IterableLike.scala:72) at scala.collection.AbstractIterable.foreach(Iterable.scala:54) at scala.collection.TraversableLike$WithFilter.map(TraversableLike.scala:682) at akka.remote.EndpointManager.akka$remote$EndpointManager$$listens(Remoting.scala:745) at akka.remote.EndpointManager$$anonfun$receive$2.applyOrElse(Remoting.scala:504) at akka.actor.Actor$class.aroundReceive(Actor.scala:482) at akka.remote.EndpointManager.aroundReceive(Remoting.scala:403) at akka.actor.ActorCell.receiveMessage(ActorCell.scala:526) at akka.actor.ActorCell.invoke(ActorCell.scala:495) at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:257) at akka.dispatch.Mailbox.run(Mailbox.scala:224) at akka.dispatch.Mailbox.exec(Mailbox.scala:234) at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107) at akka.actor.Actor$class.aroundReceive(Actor.scala:482) at akka.remote.EndpointManager.aroundReceive(Remoting.scala:403) at akka.actor.ActorCell.receiveMessage(ActorCell.scala:526) at akka.actor.ActorCell.invoke(ActorCell.scala:495) at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:257) at akka.dispatch.Mailbox.run(Mailbox.scala:224) at akka.dispatch.Mailbox.exec(Mailbox.scala:234) at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)

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

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.