java.lang.NoSuchFieldError: PARSER

Google Groups | Danny Lesnik | 5 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-remote with akka-2.4.0-RC2 has some problem

    GitHub | 2 years ago | andsoneat
    java.lang.VerifyError: Bad type on operand stack Exception Details: Location: akka/remote/instrumentation/TraceContextAwareWireFormats$AckAndTraceContextAwareEnvelopeContainer$Builder.setAck(Lakka/remote/WireFormats$AcknowledgementInfo$Builder;)Lakka/remote/instrumentation/TraceContextAwareWireFormats$AckAndTraceContextAwareEnvelopeContainer$Builder; @30: invokevirtual Reason: Type 'akka/remote/WireFormats$AcknowledgementInfo' (current frame, stack[1]) is not assignable to 'com/google/protobuf/GeneratedMessage' Current Frame: bci: @30 flags: { } locals: { 'akka/remote/instrumentation/TraceContextAwareWireFormats$AckAndTraceContextAwareEnvelopeContainer$Builder', 'akka/remote/WireFormats$AcknowledgementInfo$Builder' } stack: { 'com/google/protobuf/SingleFieldBuilder', 'akka/remote/WireFormats$AcknowledgementInfo' } Bytecode: 0x0000000: 2ab4 0014 c700 122a 2bb6 003d b500 0a2a 0x0000010: b600 3ba7 000f 2ab4 0014 2bb6 003d b600 0x0000020: 3c57 2a59 b400 1604 80b5 0016 2ab0 Stackmap Table: same_frame(@22) same_frame(@34)
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Kamon 0.5.1 can't start with Akka 2.4.0 RC2+

    Google Groups | 2 years ago | Unknown author
    java.lang.VerifyError: Bad type on operand stack > [error] stack: { 'com/google/protobuf/SingleFieldBuilder', 'akka/remote/WireFormats$AcknowledgementInfo' } > [info] Exception Details: > [error] Bytecode: > [info] Location: > [error] 0x0000000: 2ab4 0014 c700 122a 2bb6 003d b500 0a2a > [info] akka/remote/instrumentation/TraceContextAwareWireFormats$AckAndTraceContextAwareEnvelopeContainer$Builder.setAck(Lakka/remote/WireFormats$AcknowledgementInfo$Builder;)Lakka/remote/instrumentation/TraceContextAwareWireFormats$AckAndTraceContextAwareEnvelopeContainer$Builder; @30: invokevirtual > [error] 0x0000010: b600 3ba7 000f 2ab4 0014 2bb6 003d b600 > [info] Reason: > [error] 0x0000020: 3c57 2a59 b400 1604 80b5 0016 2ab0 > [info] Type 'akka/remote/WireFormats$AcknowledgementInfo' (current frame, stack[1]) is not assignable to 'com/google/protobuf/GeneratedMessage' > [error] Stackmap Table: > [info] Current Frame: > [error] same_frame(@22) > [info] bci: @30 > [error] same_frame(@34) > [info] flags: { } > [error] > [info] locals: { 'akka/remote/instrumentation/TraceContextAwareWireFormats$AckAndTraceContextAwareEnvelopeContainer$Builder', 'akka/remote/WireFormats$AcknowledgementInfo$Builder' }

    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.NoSuchFieldError

      PARSER

      at akka.remote.instrumentation.TraceContextAwareWireFormats$TraceContextAwareRemoteEnvelope.<init>()
    2. akka.remote.instrumentation
      TraceContextAwareWireFormats$TraceContextAwareRemoteEnvelope$1.parsePartialFrom
      1. akka.remote.instrumentation.TraceContextAwareWireFormats$TraceContextAwareRemoteEnvelope.<init>(TraceContextAwareWireFormats.java:859)
      2. akka.remote.instrumentation.TraceContextAwareWireFormats$TraceContextAwareRemoteEnvelope.<init>(TraceContextAwareWireFormats.java:806)
      3. akka.remote.instrumentation.TraceContextAwareWireFormats$TraceContextAwareRemoteEnvelope$1.parsePartialFrom(TraceContextAwareWireFormats.java:941)
      4. akka.remote.instrumentation.TraceContextAwareWireFormats$TraceContextAwareRemoteEnvelope$1.parsePartialFrom(TraceContextAwareWireFormats.java:936)
      4 frames
    3. Protocol Buffer Java API
      CodedInputStream.readMessage
      1. com.google.protobuf.CodedInputStream.readMessage(CodedInputStream.java:309)
      1 frame
    4. akka.remote.instrumentation
      TraceContextAwareWireFormats$AckAndTraceContextAwareEnvelopeContainer$1.parsePartialFrom
      1. akka.remote.instrumentation.TraceContextAwareWireFormats$AckAndTraceContextAwareEnvelopeContainer.<init>(TraceContextAwareWireFormats.java:111)
      2. akka.remote.instrumentation.TraceContextAwareWireFormats$AckAndTraceContextAwareEnvelopeContainer.<init>(TraceContextAwareWireFormats.java:45)
      3. akka.remote.instrumentation.TraceContextAwareWireFormats$AckAndTraceContextAwareEnvelopeContainer$1.parsePartialFrom(TraceContextAwareWireFormats.java:149)
      4. akka.remote.instrumentation.TraceContextAwareWireFormats$AckAndTraceContextAwareEnvelopeContainer$1.parsePartialFrom(TraceContextAwareWireFormats.java:144)
      4 frames
    5. Protocol Buffer Java API
      AbstractParser.parseFrom
      1. com.google.protobuf.AbstractParser.parsePartialFrom(AbstractParser.java:141)
      2. com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:176)
      3. com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:188)
      4. com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:193)
      5. com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:49)
      5 frames
    6. akka.remote.instrumentation
      TraceContextAwareWireFormats$AckAndTraceContextAwareEnvelopeContainer.parseFrom
      1. akka.remote.instrumentation.TraceContextAwareWireFormats$AckAndTraceContextAwareEnvelopeContainer.parseFrom(TraceContextAwareWireFormats.java:279)
      1 frame
    7. akka.kamon.instrumentation
      RemotingInstrumentation.aroundDecodeRemoteMessage
      1. akka.kamon.instrumentation.RemotingInstrumentation.aroundDecodeRemoteMessage(RemotingInstrumentation.scala:82)
      1 frame
    8. Akka Remote
      EndpointReader$$anonfun$receive$2.applyOrElse
      1. akka.remote.transport.AkkaPduProtobufCodec$.decodeMessage(AkkaPduCodec.scala:187)
      2. akka.remote.EndpointReader.akka$remote$EndpointReader$$tryDecodeMessageAndAck(Endpoint.scala:1043)
      3. akka.remote.EndpointReader$$anonfun$receive$2.applyOrElse(Endpoint.scala:974)
      3 frames
    9. Akka Actor
      Actor$class.aroundReceive
      1. akka.actor.Actor$class.aroundReceive(Actor.scala:484)
      1 frame
    10. Akka Remote
      EndpointActor.aroundReceive
      1. akka.remote.EndpointActor.aroundReceive(Endpoint.scala:449)
      1 frame
    11. Akka Actor
      ActorCell$AjcClosure1.run
      1. akka.actor.ActorCell.receiveMessage(ActorCell.scala:526)
      2. akka.actor.ActorCell.invoke_aroundBody0(ActorCell.scala:495)
      3. akka.actor.ActorCell$AjcClosure1.run(ActorCell.scala:1)
      3 frames
    12. AspectJ runtime
      JoinPointImpl.proceed
      1. org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
      1 frame
    13. akka.kamon.instrumentation
      ActorMonitors$$anon$1$$anonfun$processMessage$1.apply
      1. akka.kamon.instrumentation.ActorMonitors$$anon$1$$anonfun$processMessage$1.apply(ActorMonitor.scala:59)
      1 frame
    14. kamon.trace
      Tracer$.withContext
      1. kamon.trace.Tracer$.withContext(TracerModule.scala:58)
      1 frame
    15. akka.kamon.instrumentation
      ActorCellInstrumentation.aroundBehaviourInvoke
      1. akka.kamon.instrumentation.ActorMonitors$$anon$1.processMessage(ActorMonitor.scala:58)
      2. akka.kamon.instrumentation.ActorCellInstrumentation.aroundBehaviourInvoke(ActorInstrumentation.scala:44)
      2 frames
    16. Akka Actor
      Mailbox.exec
      1. akka.actor.ActorCell.invoke(ActorCell.scala:488)
      2. akka.dispatch.Mailbox.processMailbox(Mailbox.scala:257)
      3. akka.dispatch.Mailbox.run(Mailbox.scala:224)
      4. akka.dispatch.Mailbox.exec(Mailbox.scala:234)
      4 frames
    17. 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