java.lang.ClassCastException: co.paralleluniverse.asm.tree.InvokeDynamicInsnNode cannot be cast to co.paralleluniverse.asm.tree.MethodInsnNode

Google Groups | Pratik Parikh | 2 years 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

    Suspendable for Thrid-Party - Need Help on instruction.

    Google Groups | 2 years ago | Pratik Parikh
    java.lang.ClassCastException: co.paralleluniverse.asm.tree.InvokeDynamicInsnNode cannot be cast to co.paralleluniverse.asm.tree.MethodInsnNode

    Root Cause Analysis

    1. java.lang.ClassCastException

      co.paralleluniverse.asm.tree.InvokeDynamicInsnNode cannot be cast to co.paralleluniverse.asm.tree.MethodInsnNode

      at co.paralleluniverse.fibers.instrument.InstrumentMethod.callsSuspendables()
    2. Quasar
      JavaAgent$Transformer.transform
      1. co.paralleluniverse.fibers.instrument.InstrumentMethod.callsSuspendables(InstrumentMethod.java:170)
      2. co.paralleluniverse.fibers.instrument.InstrumentClass.visitEnd(InstrumentClass.java:251)
      3. co.paralleluniverse.asm.ClassReader.accept(Unknown Source)
      4. co.paralleluniverse.asm.ClassReader.accept(Unknown Source)
      5. co.paralleluniverse.fibers.instrument.QuasarInstrumentor.instrumentClass(QuasarInstrumentor.java:109)
      6. co.paralleluniverse.fibers.instrument.QuasarInstrumentor.instrumentClass(QuasarInstrumentor.java:85)
      7. co.paralleluniverse.fibers.instrument.JavaAgent$Transformer.transform(JavaAgent.java:185)
      7 frames
    3. Java RT
      ClassLoader.loadClass
      1. sun.instrument.TransformerManager.transform(TransformerManager.java:188)
      2. sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:428)
      3. java.lang.ClassLoader.defineClass1(Native Method)
      4. java.lang.ClassLoader.defineClass(ClassLoader.java:760)
      5. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
      6. java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
      7. java.net.URLClassLoader.access$100(URLClassLoader.java:73)
      8. java.net.URLClassLoader$1.run(URLClassLoader.java:368)
      9. java.net.URLClassLoader$1.run(URLClassLoader.java:362)
      10. java.security.AccessController.doPrivileged(Native Method)
      11. java.net.URLClassLoader.findClass(URLClassLoader.java:361)
      12. java.lang.ClassLoader.loadClass(ClassLoader.java:424)
      13. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
      14. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      14 frames
    4. io.liveoak.places
      NearbyPlacesService.run
      1. io.liveoak.places.service.NearbyPlacesService.run(NearbyPlacesService.java:137)
      2. io.liveoak.places.service.NearbyPlacesService.run(NearbyPlacesService.java:1)
      2 frames
    5. Quasar
      ParkableForkJoinTask.exec
      1. co.paralleluniverse.fibers.Fiber.run(Fiber.java:1019)
      2. co.paralleluniverse.fibers.Fiber.run1(Fiber.java:1014)
      3. co.paralleluniverse.fibers.Fiber.exec(Fiber.java:729)
      4. co.paralleluniverse.fibers.FiberForkJoinScheduler$FiberForkJoinTask.exec1(FiberForkJoinScheduler.java:257)
      5. co.paralleluniverse.concurrent.forkjoin.ParkableForkJoinTask.doExec(ParkableForkJoinTask.java:116)
      6. co.paralleluniverse.concurrent.forkjoin.ParkableForkJoinTask.exec(ParkableForkJoinTask.java:73)
      6 frames
    6. Java RT
      ForkJoinWorkerThread.run
      1. java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
      2. java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
      3. java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1689)
      4. java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
      4 frames