mchr3k / org.intrace

Java tracing agent and live trace client
http://mchr3k.github.com/org.intrace/
73 stars 18 forks source link

java.lang.InternalError #35

Open eostermueller opened 10 years ago

eostermueller commented 10 years ago

The following stack trace comes from the intrace-agent.jar and happens when requesting to instrument a class, one other than the Log4JLogger seen below. The intrace code I used was from the patch for this enhancement: https://github.com/mchr3k/org.intrace/issues/31 I built the intrace-agent.jar file myself so I could add the "exception transforming" error message.

Log4JLogger comes from commons-logging-1.1.1.jar.

In this particular instance, the error is just a nuissance. I have a hunch this is causing problems in other tough-to-reproduce situations. --Erik

exception transforming [org.apache.juli.logging.impl.Log4JLogger]
java.lang.InternalError
        at sun.instrument.InstrumentationImpl.retransformClasses0(Native Method)
        at sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:144)
        at org.intrace.agent.ClassTransformer.instrumentKlasses(ClassTransformer.java:702)
        at org.intrace.agent.ClassTransformer.getResponse(ClassTransformer.java:575)
        at org.intrace.agent.server.AgentClientConnection.runMethod(AgentClientConnection.java:118)
        at org.intrace.output.InstruRunnable.run(InstruRunnable.java:18)
        at java.lang.Thread.run(Thread.java:744)