java.lang.VerifyError: org/apache/logging/log4j/core/lookup/JndiLookup

apache.org | 4 months ago
  1. 0

    log4j-dev.logging.apache.org - [jira] [Commented] (LOG4J2-703) Android: Could not find class 'javax.naming.InitialContext', referenced from method org.apache.logging.log4j.core.lookup.JndiLookup.lookup - msg#00567 - Recent Discussion OSDir.com

    osdir.com | 1 year ago
    java.lang.VerifyError: org/apache/logging/log4j/core/lookup/JndiLookup at org.apache.logging.log4j.core.lookup.Interpolator.<init>(Interpolator.java:75) at org.apache.logging.log4j.core.config.AbstractConfiguration.<init>(AbstractConfiguration.java:99) at org.apache.logging.log4j.core.config.NullConfiguration.<init>(NullConfiguration.java:29) at org.apache.logging.log4j.core.LoggerContext.<clinit>(LoggerContext.java:63) at org.apache.logging.log4j.core.selector.ClassLoaderContextSelector.locateContext(ClassLoaderContextSelector.java:218) at org.apache.logging.log4j.core.selector.ClassLoaderContextSelector.getContext(ClassLoaderContextSelector.java:144) at org.apache.logging.log4j.core.selector.ClassLoaderContextSelector.getContext(ClassLoaderContextSelector.java:80) at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:72) at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:37) at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:473)
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    WLI and log4j, version incompatibility, class path issue

    Oracle Community | 1 decade ago | 3004
    java.lang.VerifyError: (class: org/apache/log4j/LogManager, method: <clinit> signature: ()V) Incompatible argument to function

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

      org/apache/logging/log4j/core/lookup/JndiLookup

      at org.apache.logging.log4j.core.lookup.Interpolator.<init>()
    2. Apache Log4j Core
      Log4jContextFactory.getContext
      1. org.apache.logging.log4j.core.lookup.Interpolator.<init>(Interpolator.java:75)
      2. org.apache.logging.log4j.core.config.AbstractConfiguration.<init>(AbstractConfiguration.java:99)
      3. org.apache.logging.log4j.core.config.NullConfiguration.<init>(NullConfiguration.java:29)
      4. org.apache.logging.log4j.core.LoggerContext.<clinit>(LoggerContext.java:63)
      5. org.apache.logging.log4j.core.selector.ClassLoaderContextSelector.locateContext(ClassLoaderContextSelector.java:218)
      6. org.apache.logging.log4j.core.selector.ClassLoaderContextSelector.getContext(ClassLoaderContextSelector.java:144)
      7. org.apache.logging.log4j.core.selector.ClassLoaderContextSelector.getContext(ClassLoaderContextSelector.java:80)
      8. org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:72)
      9. org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:37)
      9 frames
    3. Apache Log4j API
      LogManager.getLogger
      1. org.apache.logging.log4j.LogManager.getLogger(LogManager.java:473)
      1 frame
    4. com.intl.log4j2xtest
      MyActivity.<clinit>
      1. com.intl.log4j2xtest.MyActivity.<clinit>(MyActivity.java:16)
      1 frame
    5. Java RT
      Class.newInstance
      1. java.lang.Class.newInstanceImpl(Native Method)
      2. java.lang.Class.newInstance(Class.java:1208)
      2 frames
    6. Android Platform
      ActivityThread.main
      1. android.app.Instrumentation.newActivity(Instrumentation.java:1061)
      2. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2112)
      3. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)
      4. android.app.ActivityThread.access$800(ActivityThread.java:135)
      5. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
      6. android.os.Handler.dispatchMessage(Handler.java:102)
      7. android.os.Looper.loop(Looper.java:136)
      8. android.app.ActivityThread.main(ActivityThread.java:5017)
      8 frames
    7. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    8. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
      2 frames
    9. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame