java.lang.NoClassDefFoundError: Could not initialize class sun.reflect.misc.Trampoline

apache.org | 4 months ago
  1. 0

    [LOG4J2-832] ThrowableProxy fails if a class in logged stack trace throws java.lang.Error from initializer - ASF JIRA

    apache.org | 7 months ago
    java.lang.NoClassDefFoundError: Could not initialize class sun.reflect.misc.Trampoline
  2. 0

    [LOG4J2-832] ThrowableProxy fails if a class in logged stack trace throws java.lang.Error from initializer - ASF JIRA

    apache.org | 4 months ago
    java.lang.NoClassDefFoundError: Could not initialize class sun.reflect.misc.Trampoline
  3. 0

    java.lang.NoClassDefFoundError: Could not initialize class org.apache.poi.POIXMLDocumentPart

    Stack Overflow | 2 years ago | Ranju
    java.lang.NoClassDefFoundError: Could not initialize class org.apache.poi.POIXMLDocumentPart
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Jetty MultipartFormDataInput not being dispatched

    Stack Overflow | 11 months ago | Sven Holzinger
    java.lang.NoClassDefFoundError: Could not initialize class org.apache.james.mime4j.storage.DefaultStorageProvider
  6. 0

    Exception in thread "main" java.lang.NoClassDefFoundError in Java3D

    Stack Overflow | 4 years ago | Enot
    java.lang.NoClassDefFoundError: javax/media/opengl/AbstractGraphicsDevice

  1. rlovtangen 2 times, last 2 weeks ago
  2. serious2monkeys 1 times, last 2 weeks ago
  3. rp 1 times, last 2 weeks ago
  4. malhobayyeb 3 times, last 2 weeks ago
  5. kjhdofjosvs 23 times, last 4 weeks ago
5 more registered users
90 unregistered visitors
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.NoClassDefFoundError

    Could not initialize class sun.reflect.misc.Trampoline

    at java.lang.Class.forName0()
  2. Java RT
    Class.forName
    1. java.lang.Class.forName0(Native Method)
    2. java.lang.Class.forName(Class.java:171)
    2 frames
  3. Apache Log4j Core
    Logger.logMessage
    1. org.apache.logging.log4j.core.util.Loader.loadClassWithDefaultClassLoader(Loader.java:272)
    2. org.apache.logging.log4j.core.util.Loader.loadClass(Loader.java:267)
    3. org.apache.logging.log4j.core.impl.ThrowableProxy.loadClass(ThrowableProxy.java:509)
    4. org.apache.logging.log4j.core.impl.ThrowableProxy.toExtendedStackTrace(ThrowableProxy.java:621)
    5. org.apache.logging.log4j.core.impl.ThrowableProxy.<init>(ThrowableProxy.java:170)
    6. org.apache.logging.log4j.core.impl.ThrowableProxy.<init>(ThrowableProxy.java:148)
    7. org.apache.logging.log4j.core.impl.Log4jLogEvent.getThrownProxy(Log4jLogEvent.java:323)
    8. org.apache.logging.log4j.core.pattern.ExtendedThrowablePatternConverter.format(ExtendedThrowablePatternConverter.java:64)
    9. org.apache.logging.log4j.core.pattern.PatternFormatter.format(PatternFormatter.java:36)
    10. org.apache.logging.log4j.core.layout.PatternLayout.toSerializable(PatternLayout.java:189)
    11. org.apache.logging.log4j.core.layout.PatternLayout.toSerializable(PatternLayout.java:53)
    12. org.apache.logging.log4j.core.layout.AbstractStringLayout.toByteArray(AbstractStringLayout.java:52)
    13. org.apache.logging.log4j.core.appender.AbstractOutputStreamAppender.append(AbstractOutputStreamAppender.java:104)
    14. org.apache.logging.log4j.core.config.AppenderControl.callAppender(AppenderControl.java:97)
    15. org.apache.logging.log4j.core.config.LoggerConfig.callAppenders(LoggerConfig.java:428)
    16. org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:407)
    17. org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:365)
    18. org.apache.logging.log4j.core.Logger.logMessage(Logger.java:112)
    18 frames
  4. Apache Log4j API
    AbstractLogger.error
    1. org.apache.logging.log4j.spi.AbstractLogger.logMessage(AbstractLogger.java:1336)
    2. org.apache.logging.log4j.spi.AbstractLogger.logIfEnabled(AbstractLogger.java:1325)
    3. org.apache.logging.log4j.spi.AbstractLogger.error(AbstractLogger.java:551)
    3 frames
  5. Unknown
    Log4j2MethodUtilTrampolineTest.testTrampolineException
    1. Log4j2MethodUtilTrampolineTest.testTrampolineException(Log4j2MethodUtilTrampolineTest.java:61)
    1 frame
  6. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  7. JUnit
    ParentRunner.run
    1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
    2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
    4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
    5. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
    6. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
    7. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
    8. org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
    9. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
    10. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
    11. org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
    12. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
    13. org.junit.runners.ParentRunner.run(ParentRunner.java:309)
    13 frames
  8. JUnit4 Provider
    JUnit4Provider.invoke
    1. org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
    2. org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)
    3. org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104)
    3 frames