java.lang.ClassCastException: Cannot cast org.apache.logging.log4j.core.lookup.JndiLookup to org.apache.logging.log4j.core.lookup.StrLookup

Google Groups | Sayantan Raha | 2 months ago
  1. 0

    Need help: Druid - Quick Start : index_hadoop_wikipedia: Fails with no file found error

    Google Groups | 2 months ago | Sayantan Raha
    java.lang.ClassCastException: Cannot cast org.apache.logging.log4j.core.lookup.JndiLookup to org.apache.logging.log4j.core.lookup.StrLookup
  2. 0

    GitHub comment 1852#150709085

    GitHub | 1 year ago | milimetric
    java.lang.ClassCastException: Cannot cast org.apache.logging.log4j.core.lookup.JmxRuntimeInputArgumentsLookup to org.apache.logging.log4j.core.lookup.StrLookup
  3. 0

    JNDI and JMX lookup warnings when building connector. - MuleSoft

    mulesoft.com | 3 months ago
    java.lang.ClassCastException: Cannot cast org.apache.logging.log4j.core.lookup.JndiLookup to org.apache.logging.log4j.core.lookup.StrLookup
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Transitive log4j2 dependency - configuration failing

    Stack Overflow | 2 years ago | Juan Martin Desimoni
    java.lang.ClassCastException: Cannot cast org.apache.logging.log4j.core.lookup.JndiLookup to org.apache.logging.log4j.core.lookup.StrLookup
  6. 0

    JMX runtime input lookup class is not available because this JRE does not support JMX

    Stack Overflow | 3 months ago | mr nooby noob
    java.lang.ClassCastException: Cannot cast org.apache.logging.log4j.core.lookup.JmxRuntimeInputArgumentsLookup to org.apache.logging.log4j.core.lookup.StrLookup
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.ClassCastException

    Cannot cast org.apache.logging.log4j.core.lookup.JndiLookup to org.apache.logging.log4j.core.lookup.StrLookup

    at java.lang.Class.cast()
  2. Java RT
    Class.cast
    1. java.lang.Class.cast(Class.java:3133)
    1 frame
  3. Apache Log4j API
    LoaderUtil.newCheckedInstanceOf
    1. org.apache.logging.log4j.util.LoaderUtil.newCheckedInstanceOf(LoaderUtil.java:167)
    1 frame
  4. Apache Log4j Core
    Log4jContextFactory.getContext
    1. org.apache.logging.log4j.core.util.Loader.newCheckedInstanceOf(Loader.java:301)
    2. org.apache.logging.log4j.core.lookup.Interpolator.<init>(Interpolator.java:94)
    3. org.apache.logging.log4j.core.config.AbstractConfiguration.<init>(AbstractConfiguration.java:111)
    4. org.apache.logging.log4j.core.config.xml.XmlConfiguration.<init>(XmlConfiguration.java:81)
    5. org.apache.logging.log4j.core.config.xml.XmlConfigurationFactory.getConfiguration(XmlConfigurationFactory.java:44)
    6. org.apache.logging.log4j.core.config.ConfigurationFactory$Factory.getConfiguration(ConfigurationFactory.java:490)
    7. org.apache.logging.log4j.core.config.ConfigurationFactory$Factory.getConfiguration(ConfigurationFactory.java:460)
    8. org.apache.logging.log4j.core.config.ConfigurationFactory.getConfiguration(ConfigurationFactory.java:256)
    9. org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:561)
    10. org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:578)
    11. org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:214)
    12. org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:145)
    13. org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:41)
    13 frames
  5. Apache Log4j API
    AbstractLoggerAdapter.getContext
    1. org.apache.logging.log4j.LogManager.getContext(LogManager.java:182)
    2. org.apache.logging.log4j.spi.AbstractLoggerAdapter.getContext(AbstractLoggerAdapter.java:103)
    2 frames
  6. org.apache.logging
    AbstractLoggerAdapter.getContext
    1. org.apache.logging.log4j.jul.AbstractLoggerAdapter.getContext(AbstractLoggerAdapter.java:34)
    1 frame
  7. Apache Log4j API
    AbstractLoggerAdapter.getLogger
    1. org.apache.logging.log4j.spi.AbstractLoggerAdapter.getLogger(AbstractLoggerAdapter.java:42)
    1 frame
  8. org.apache.logging
    LogManager.getLogger
    1. org.apache.logging.log4j.jul.LogManager.getLogger(LogManager.java:89)
    1 frame
  9. Java RT
    Logger.getLogger
    1. java.util.logging.LogManager.demandLogger(LogManager.java:430)
    2. java.util.logging.Logger.demandLogger(Logger.java:346)
    3. java.util.logging.Logger.getLogger(Logger.java:393)
    3 frames
  10. Google Guice - Core Library
    Guice.createInjector
    1. com.google.inject.internal.util.Stopwatch.<clinit>(Stopwatch.java:27)
    2. com.google.inject.internal.InternalInjectorCreator.<init>(InternalInjectorCreator.java:61)
    3. com.google.inject.Guice.createInjector(Guice.java:96)
    4. com.google.inject.Guice.createInjector(Guice.java:73)
    4 frames
  11. Druid Indexing
    GuiceInjectors.makeStartupInjector
    1. io.druid.guice.GuiceInjectors.makeStartupInjector(GuiceInjectors.java:59)
    1 frame
  12. Druid Hadoop
    HadoopDruidIndexerConfig.<clinit>
    1. io.druid.indexer.HadoopDruidIndexerConfig.<clinit>(HadoopDruidIndexerConfig.java:99)
    1 frame
  13. Druid Indexing
    HadoopIndexTask$HadoopDetermineConfigInnerProcessing.runTask
    1. io.druid.indexing.common.task.HadoopIndexTask$HadoopDetermineConfigInnerProcessing.runTask(HadoopIndexTask.java:277)
    1 frame
  14. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  15. Druid Indexing
    ThreadPoolTaskRunner$ThreadPoolTaskRunnerCallable.call
    1. io.druid.indexing.common.task.HadoopTask.invokeForeignLoader(HadoopTask.java:201)
    2. io.druid.indexing.common.task.HadoopIndexTask.run(HadoopIndexTask.java:175)
    3. io.druid.indexing.overlord.ThreadPoolTaskRunner$ThreadPoolTaskRunnerCallable.call(ThreadPoolTaskRunner.java:436)
    4. io.druid.indexing.overlord.ThreadPoolTaskRunner$ThreadPoolTaskRunnerCallable.call(ThreadPoolTaskRunner.java:408)
    4 frames
  16. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:262)
    2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    4. java.lang.Thread.run(Thread.java:745)
    4 frames