Uploaded image for project: 'Byteman'
  1. Byteman
  2. BYTEMAN-211

VerifyError under JDK7

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 2.1.0
    • 2.0.4
    • Trigger Injection
    • None

      Under a Byteman test under JDK 7 gives:

      23:17:52,861 INFO  [STDOUT] TransformListener() : handling connection on port 9092
      23:17:52,972 INFO  [STDOUT] retransforming org.jboss.jca.core.connectionmanager.AbstractConnectionManager
      23:17:53,096 INFO  [STDOUT] org.jboss.byteman.agent.Transformer : possible trigger for rule Throw exception on allocateConnection in class org.jboss.jca.core.connectionmanager.AbstractConnectionManager
      23:17:53,312 INFO  [STDOUT] RuleTriggerMethodAdapter.injectTriggerPoint : inserting trigger into org.jboss.jca.core.connectionmanager.AbstractConnectionManager.allocateConnection(javax.resource.spi.ManagedConnectionFactory,javax.resource.spi.ConnectionRequestInfo) java.lang.Object for rule Throw exception on allocateConnection
      23:17:53,320 INFO  [STDOUT] org.jboss.byteman.agent.Transformer : inserted trigger for Throw exception on allocateConnection in class org.jboss.jca.core.connectionmanager.AbstractConnectionManager
      23:17:53,323 INFO  [STDOUT] Retransformer : VerifyError during retransformation : some rules may not have been correctly injected or uninjected!
      23:17:53,324 INFO  [STDERR] java.lang.VerifyError
      23:17:53,325 INFO  [STDERR] 	at sun.instrument.InstrumentationImpl.retransformClasses0(Native Method)
      23:17:53,325 INFO  [STDERR] 	at sun.instrument.InstrumentationImpl.retransformClasses(InstrumentationImpl.java:144)
      23:17:53,326 INFO  [STDERR] 	at org.jboss.byteman.agent.Retransformer.installScript(Retransformer.java:136)
      23:17:53,326 INFO  [STDERR] 	at org.jboss.byteman.agent.TransformListener.handleScripts(TransformListener.java:337)
      23:17:53,327 INFO  [STDERR] 	at org.jboss.byteman.agent.TransformListener.loadScripts(TransformListener.java:260)
      23:17:53,327 INFO  [STDERR] 	at org.jboss.byteman.agent.TransformListener.handleConnection(TransformListener.java:213)
      23:17:53,328 INFO  [STDERR] 	at org.jboss.byteman.agent.TransformListener.run(TransformListener.java:146)
      23:17:53,455 INFO  [STDOUT] TransformListener() : handling connection on port 9092
      23:17:53,459 INFO  [STDOUT] retransforming org.jboss.jca.core.connectionmanager.AbstractConnectionManager
      

              rhn-engineering-adinn Andrew Dinn
              jpederse@redhat.com Jesper Pedersen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: