co.paralleluniverse.fibers.instrument.UnableToInstrumentException: Unable to instrument Foo#bar()V because of synchronized method

Google Groups | Gary Wu | 10 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

    About auto suspendableScanner

    Google Groups | 10 months ago | Gary Wu
    co.paralleluniverse.fibers.instrument.UnableToInstrumentException: Unable to instrument Foo#bar()V because of synchronized method
  2. 0

    Instrument failure for synchronized method even with 'm' parameter

    GitHub | 10 months ago | garretwu
    co.paralleluniverse.fibers.instrument.UnableToInstrumentException: Unable to instrument cccccc because of synchronized method
  3. 0

    GitHub comment 107#127461798

    GitHub | 2 years ago | darth10
    co.paralleluniverse.fibers.instrument.UnableToInstrumentException: Unable to instrument clojure/tools/nrepl/middleware/session$session_out$fn__989#doInvoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; because of synchronization
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    REPL fails to load when used with Pulsar library

    GitHub | 2 years ago | darth10
    co.paralleluniverse.fibers.instrument.UnableToInstrumentException: Unable to instrument clojure/tools/nrepl/middleware/session$add_stdin$fn__1040$fn__1044#invoke()Ljava/lang/Object; because of synchronization
  6. 0

    GitHub comment 1#190466462

    GitHub | 1 year ago | thedoctor
    co.paralleluniverse.fibers.instrument.UnableToInstrumentException: Unable to instrument co/gem/philosopher/Philosopher#think()V because of blocking call to java/lang/Thread#sleep(J)V

  1. Alireza Mohamadi 2 times, last 3 months ago
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. co.paralleluniverse.fibers.instrument.UnableToInstrumentException

    Unable to instrument Foo#bar()V because of synchronized method

    at co.paralleluniverse.fibers.instrument.CheckInstrumentationVisitor.visitMethod()
  2. Quasar
    JavaAgent$Transformer.transform
    1. co.paralleluniverse.fibers.instrument.CheckInstrumentationVisitor.visitMethod(CheckInstrumentationVisitor.java:136)
    2. co.paralleluniverse.asm.ClassReader.b(Unknown Source)
    3. co.paralleluniverse.asm.ClassReader.accept(Unknown Source)
    4. co.paralleluniverse.asm.ClassReader.accept(Unknown Source)
    5. co.paralleluniverse.fibers.instrument.MethodDatabase.checkFileAndClose(MethodDatabase.java:388)
    6. co.paralleluniverse.fibers.instrument.MethodDatabase.checkClass(MethodDatabase.java:365)
    7. co.paralleluniverse.fibers.instrument.MethodDatabase.getOrLoadClassEntry(MethodDatabase.java:222)
    8. co.paralleluniverse.fibers.instrument.MethodDatabase.isMethodSuspendable0(MethodDatabase.java:233)
    9. co.paralleluniverse.fibers.instrument.MethodDatabase.isMethodSuspendable(MethodDatabase.java:200)
    10. co.paralleluniverse.fibers.instrument.InstrumentMethod.isSuspendableCall(InstrumentMethod.java:195)
    11. co.paralleluniverse.fibers.instrument.InstrumentMethod.callsSuspendables(InstrumentMethod.java:161)
    12. co.paralleluniverse.fibers.instrument.InstrumentClass.visitEnd(InstrumentClass.java:261)
    13. co.paralleluniverse.asm.ClassReader.accept(Unknown Source)
    14. co.paralleluniverse.asm.ClassReader.accept(Unknown Source)
    15. co.paralleluniverse.fibers.instrument.QuasarInstrumentor.instrumentClass(QuasarInstrumentor.java:120)
    16. co.paralleluniverse.fibers.instrument.QuasarInstrumentor.instrumentClass(QuasarInstrumentor.java:88)
    17. co.paralleluniverse.fibers.instrument.JavaAgent$Transformer.transform(JavaAgent.java:187)
    17 frames
  3. Java RT
    InstrumentationImpl.transform
    1. sun.instrument.TransformerManager.transform(TransformerManager.java:188)
    2. sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:428)[quasar]
    2 frames