java.lang.IllegalStateException: Could not install class file transformer

GitHub | domtoupin | 5 months ago
  1. 0
    You should define the TestContext class in your classpath
  2. 0
    Update to Grails 3.0.x
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0
    In all ActiveAndroid tables there should be a primary key field with the name "Id" (with a capital "I").
  5. 0
    The cursor might not be initalized.

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

      Could not retransform at least one class: {class com.obfuscated.SomeBean$2=java.lang.UnsupportedOperationException: class redefinition failed: attempted to change the class modifiers, class com.obfuscated.SomeBean$1=java.lang.UnsupportedOperationException: class redefinition failed: attempted to change the class modifiers}

      at net.bytebuddy.agent.builder.AgentBuilder$RedefinitionStrategy$Collector$ForRetransformation$Chunked.apply()
    2. Byte Buddy (with dependencies)
      AgentBuilder$Default$Delegator.installOn
      1. net.bytebuddy.agent.builder.AgentBuilder$RedefinitionStrategy$Collector$ForRetransformation$Chunked.apply(AgentBuilder.java:3271)
      2. net.bytebuddy.agent.builder.AgentBuilder$Default.installOn(AgentBuilder.java:5279)
      3. net.bytebuddy.agent.builder.AgentBuilder$Default$Delegator.installOn(AgentBuilder.java:7196)
      3 frames
    3. org.stagemonitor.core
      StagemonitorRuntimeAgentAttacherDriver.<clinit>
      1. org.stagemonitor.core.instrument.AgentAttacher.initByteBuddyClassFileTransformer(AgentAttacher.java:159)
      2. org.stagemonitor.core.instrument.AgentAttacher.performRuntimeAttachment(AgentAttacher.java:79)
      3. org.stagemonitor.core.Stagemonitor.reset(Stagemonitor.java:254)
      4. org.stagemonitor.core.Stagemonitor.<clinit>(Stagemonitor.java:41)
      5. org.stagemonitor.core.instrument.StagemonitorRuntimeAgentAttacherDriver.<clinit>(StagemonitorRuntimeAgentAttacherDriver.java:23)
      5 frames
    4. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:423)
      4 frames
    5. JBoss Application Server: Connector Subsystem
      DriverProcessor.deploy
      1. org.jboss.as.connector.deployers.ds.processors.DriverProcessor.deploy(DriverProcessor.java:65)
      1 frame
    6. JBoss Application Server: Server
      DeploymentUnitPhaseService.start
      1. org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:147)
      1 frame
    7. JBoss Modular Service Container
      ServiceControllerImpl$StartTask.run
      1. org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
      2. org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
      2 frames
    8. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames