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

Google Groups | Sayantan Raha | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

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

    Google Groups | 7 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 | 2 years ago | milimetric
    java.lang.ClassCastException: Cannot cast org.apache.logging.log4j.core.lookup.JmxRuntimeInputArgumentsLookup to org.apache.logging.log4j.core.lookup.StrLookup
  3. 0

    druid batch ingest failed when mapreduce

    Google Groups | 6 days ago | joe
    java.lang.ClassCastException: Cannot cast org.apache.logging.log4j.core.lookup.JmxRuntimeInputArgumentsLookup 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

    JNDI and JMX lookup warnings when building connector. - MuleSoft

    mulesoft.com | 8 months ago
    java.lang.ClassCastException: Cannot cast org.apache.logging.log4j.core.lookup.JndiLookup 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
    ConsoleAppender.newBuilder
    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.DefaultConfiguration.<init>(DefaultConfiguration.java:48)
    5. org.apache.logging.log4j.core.layout.PatternLayout$Builder.build(PatternLayout.java:444)
    6. org.apache.logging.log4j.core.layout.PatternLayout.createDefaultLayout(PatternLayout.java:327)
    7. org.apache.logging.log4j.core.appender.ConsoleAppender$Builder.<init>(ConsoleAppender.java:157)
    8. org.apache.logging.log4j.core.appender.ConsoleAppender.newBuilder(ConsoleAppender.java:149)
    8 frames
  5. 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
  6. Apache Log4j Core
    Log4jContextFactory.getContext
    1. org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.createBuilder(PluginBuilder.java:154)
    2. org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.build(PluginBuilder.java:119)
    3. org.apache.logging.log4j.core.config.AbstractConfiguration.createPluginObject(AbstractConfiguration.java:888)
    4. org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:828)
    5. org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:820)
    6. org.apache.logging.log4j.core.config.AbstractConfiguration.doConfigure(AbstractConfiguration.java:449)
    7. org.apache.logging.log4j.core.config.AbstractConfiguration.initialize(AbstractConfiguration.java:197)
    8. org.apache.logging.log4j.core.config.AbstractConfiguration.start(AbstractConfiguration.java:209)
    9. org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:492)
    10. org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:562)
    11. org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:578)
    12. org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:214)
    13. org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:145)
    14. org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:41)
    14 frames
  7. 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
  8. org.apache.logging
    AbstractLoggerAdapter.getContext
    1. org.apache.logging.log4j.jul.AbstractLoggerAdapter.getContext(AbstractLoggerAdapter.java:34)
    1 frame
  9. Apache Log4j API
    AbstractLoggerAdapter.getLogger
    1. org.apache.logging.log4j.spi.AbstractLoggerAdapter.getLogger(AbstractLoggerAdapter.java:42)
    1 frame
  10. org.apache.logging
    LogManager.getLogger
    1. org.apache.logging.log4j.jul.LogManager.getLogger(LogManager.java:89)
    1 frame
  11. 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
  12. 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
  13. Druid Indexing
    GuiceInjectors.makeStartupInjector
    1. io.druid.guice.GuiceInjectors.makeStartupInjector(GuiceInjectors.java:59)
    1 frame
  14. Druid Hadoop
    HadoopDruidIndexerConfig.<clinit>
    1. io.druid.indexer.HadoopDruidIndexerConfig.<clinit>(HadoopDruidIndexerConfig.java:99)
    1 frame
  15. Druid Indexing
    HadoopIndexTask$HadoopDetermineConfigInnerProcessing.runTask
    1. io.druid.indexing.common.task.HadoopIndexTask$HadoopDetermineConfigInnerProcessing.runTask(HadoopIndexTask.java:277)
    1 frame
  16. 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
  17. 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
  18. 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