java.lang.RuntimeException: org.fakereplace.javassist.bytecode.BadBytecode: <clinit> ()V in org.apache.commons.logging.impl.Log4JLogger: failed to resolve types

GitHub | fbricon | 3 months ago
  1. 0

    Exception logged when starting a Vert.x application

    GitHub | 3 months ago | fbricon
    java.lang.RuntimeException: org.fakereplace.javassist.bytecode.BadBytecode: <clinit> ()V in org.apache.commons.logging.impl.Log4JLogger: failed to resolve types
  2. 0

    Support for JBoss 7.2.0 / EAP 6.1.0

    GitHub | 3 years ago | dzwicker
    org.fakereplace.javassist.bytecode.BadBytecode: readConfiguration (Ljava/io/InputStream;)V in org.jboss.logmanager.LogManager: failed to resolve types

    Root Cause Analysis

    1. org.fakereplace.javassist.NotFoundException

      org.apache.log4j.Priority

      at org.fakereplace.javassist.ClassPool.get()
    2. org.fakereplace.javassist
      MethodInfo.rebuildStackMap
      1. org.fakereplace.javassist.ClassPool.get(ClassPool.java:452)
      2. org.fakereplace.javassist.bytecode.stackmap.TypeData$TypeVar.fixTypes2(TypeData.java:345)
      3. org.fakereplace.javassist.bytecode.stackmap.TypeData$TypeVar.fixTypes(TypeData.java:330)
      4. org.fakereplace.javassist.bytecode.stackmap.TypeData$TypeVar.dfs(TypeData.java:274)
      5. org.fakereplace.javassist.bytecode.stackmap.MapMaker.fixTypes(MapMaker.java:390)
      6. org.fakereplace.javassist.bytecode.stackmap.MapMaker.make(MapMaker.java:167)
      7. org.fakereplace.javassist.bytecode.stackmap.MapMaker.make(MapMaker.java:108)
      8. org.fakereplace.javassist.bytecode.MethodInfo.rebuildStackMap(MethodInfo.java:440)
      8 frames
    3. org.fakereplace.transformation
      MainTransformer.transform
      1. org.fakereplace.transformation.MainTransformer.transform(MainTransformer.java:173)
      1 frame
    4. Java RT
      Class.forName
      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:763)
      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)
      15. java.lang.Class.forName0(Native Method)
      16. java.lang.Class.forName(Class.java:348)
      16 frames
    5. Apache Commons Logging
      LogFactory.getLog
      1. org.apache.commons.logging.impl.LogFactoryImpl.createLogFromClass(LogFactoryImpl.java:998)
      2. org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImplementation(LogFactoryImpl.java:844)
      3. org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:541)
      4. org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:292)
      5. org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:269)
      6. org.apache.commons.logging.LogFactory.getLog(LogFactory.java:655)
      6 frames
    6. Apache Commons Configuration
      SystemConfiguration.<clinit>
      1. org.apache.commons.configuration.SystemConfiguration.<clinit>(SystemConfiguration.java:35)
      1 frame
    7. archaius-core
      DynamicPropertyFactory.getInstance
      1. com.netflix.config.ConfigurationManager.getConfigInstance(ConfigurationManager.java:127)
      2. com.netflix.config.DynamicPropertyFactory.getInstance(DynamicPropertyFactory.java:263)
      2 frames
    8. com.github.kennedyoliveira
      EventMetricsStreamHandler.<clinit>
      1. com.github.kennedyoliveira.hystrix.contrib.vertx.metricsstream.EventMetricsStreamHandler.<clinit>(EventMetricsStreamHandler.java:56)
      1 frame
    9. com.redhat.developers
      AlohaVerticle.start
      1. com.redhat.developers.msa.aloha.AlohaVerticle.start(AlohaVerticle.java:84)
      1 frame
    10. Vert.x Core
      ContextImpl.lambda$wrapTask$18
      1. io.vertx.core.AbstractVerticle.start(AbstractVerticle.java:111)
      2. io.vertx.core.impl.DeploymentManager.lambda$doDeploy$163(DeploymentManager.java:429)
      3. io.vertx.core.impl.ContextImpl.lambda$wrapTask$18(ContextImpl.java:335)
      3 frames
    11. Netty
      SingleThreadEventExecutor$2.run
      1. io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:358)
      2. io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:357)
      3. io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)
      3 frames
    12. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame