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

mulesoft.com | 3 months ago
  1. 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.JmxRuntimeInputArgumentsLookup 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

    Transitive log4j2 dependency - configuration failing

    Stack Overflow | 2 years ago | Juan Martin Desimoni
    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

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

  1. Steven 1 times, last 6 months ago
  2. filpgame 11 times, last 2 weeks ago
  3. kid 11 times, last 3 weeks ago
  4. iridic 3 times, last 1 month ago
  5. kid 53 times, last 2 months ago
1 more registered users
18 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.ClassCastException

    Cannot cast org.apache.logging.log4j.core.lookup.JmxRuntimeInputArgumentsLookup 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:3176)
    1 frame
  3. Apache Log4j API
    LoaderUtil.newCheckedInstanceOf
    1. org.apache.logging.log4j.util.LoaderUtil.newCheckedInstanceOf(LoaderUtil.java:163)
    1 frame
  4. Apache Log4j Core
    ConsoleAppender.newBuilder
    1. org.apache.logging.log4j.core.util.Loader.newCheckedInstanceOf(Loader.java:311)
    2. org.apache.logging.log4j.core.lookup.Interpolator.<init>(Interpolator.java:103)
    3. org.apache.logging.log4j.core.config.AbstractConfiguration.<init>(AbstractConfiguration.java:104)
    4. org.apache.logging.log4j.core.config.DefaultConfiguration.<init>(DefaultConfiguration.java:55)
    5. org.apache.logging.log4j.core.layout.PatternLayout$Builder.build(PatternLayout.java:375)
    6. org.apache.logging.log4j.core.layout.PatternLayout.createDefaultLayout(PatternLayout.java:280)
    7. org.apache.logging.log4j.core.appender.ConsoleAppender$Builder.<init>(ConsoleAppender.java:116)
    8. org.apache.logging.log4j.core.appender.ConsoleAppender.newBuilder(ConsoleAppender.java:111)
    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:158)
    2. org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.build(PluginBuilder.java:118)
    3. org.apache.logging.log4j.core.config.AbstractConfiguration.createPluginObject(AbstractConfiguration.java:766)
    4. org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:706)
    5. org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:698)
    6. org.apache.logging.log4j.core.config.AbstractConfiguration.doConfigure(AbstractConfiguration.java:358)
    7. org.apache.logging.log4j.core.config.AbstractConfiguration.start(AbstractConfiguration.java:161)
    8. org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:359)
    9. org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:420)
    10. org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:138)
    11. org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:207)
    12. org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:41)
    12 frames
  7. Apache Log4j API
    LogManager.getLogger
    1. org.apache.logging.log4j.LogManager.getContext(LogManager.java:160)
    2. org.apache.logging.log4j.LogManager.getLogger(LogManager.java:492)
    2 frames
  8. com.anaplan.connector
    BaseConnectionStrategy.<clinit>
    1. com.anaplan.connector.connection.BaseConnectionStrategy.<clinit>(BaseConnectionStrategy.java:37)
    1 frame
  9. Java RT
    Class.forName
    1. java.lang.Class.forName0(Native Method)
    2. java.lang.Class.forName(Class.java:191)
    2 frames
  10. org.mule.devkit
    AbstractAnnotationProcessor.process
    1. org.mule.devkit.model.code.CodeModel.refClass(CodeModel.java:407)
    2. org.mule.devkit.model.code.CodeModel.access$000(CodeModel.java:98)
    3. org.mule.devkit.model.code.CodeModel$TypeNameParser.parseTypeName(CodeModel.java:503)
    4. org.mule.devkit.model.code.CodeModel.parseType(CodeModel.java:454)
    5. org.mule.devkit.model.code.CodeModel.ref(CodeModel.java:391)
    6. org.mule.devkit.model.code.CodeModel.ref(CodeModel.java:345)
    7. org.mule.devkit.generation.AbstractCodeGenerator.ref(AbstractCodeGenerator.java:30)
    8. org.mule.devkit.generation.connectivity.StrategyAdapterGenerator.generateAdapter(StrategyAdapterGenerator.java:166)
    9. org.mule.devkit.generation.connectivity.StrategyAdapterGenerator.generate(StrategyAdapterGenerator.java:59)
    10. org.mule.devkit.apt.AbstractAnnotationProcessor.runGenerators(AbstractAnnotationProcessor.java:213)
    11. org.mule.devkit.apt.AbstractAnnotationProcessor.doProcess(AbstractAnnotationProcessor.java:416)
    12. org.mule.devkit.apt.AbstractAnnotationProcessor.process(AbstractAnnotationProcessor.java:128)
    12 frames
  11. Java Tools
    JavacTaskImpl.call
    1. com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcessor(JavacProcessingEnvironment.java:793)
    2. com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:722)
    3. com.sun.tools.javac.processing.JavacProcessingEnvironment.access$1700(JavacProcessingEnvironment.java:97)
    4. com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1029)
    5. com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1163)
    6. com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1108)
    7. com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:824)
    8. com.sun.tools.javac.main.Main.compile(Main.java:439)
    9. com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:132)
    9 frames
  12. org.mule.devkit
    AbstractAnnotationProcessorMojo.execute
    1. org.mule.devkit.maven.AbstractAnnotationProcessorMojo.callCompilationTask(AbstractAnnotationProcessorMojo.java:270)
    2. org.mule.devkit.maven.AbstractAnnotationProcessorMojo.executeWithExceptionsHandled(AbstractAnnotationProcessorMojo.java:205)
    3. org.mule.devkit.maven.AbstractAnnotationProcessorMojo.execute(AbstractAnnotationProcessorMojo.java:155)
    3 frames
  13. Maven Plugin
    DefaultBuildPluginManager.executeMojo
    1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
    1 frame
  14. Maven Core
    DefaultMaven.execute
    1. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
    2. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
    3. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
    4. org.apache.maven.lifecycle.internal.MojoExecutor.executeForkedExecutions(MojoExecutor.java:364)
    5. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:198)
    6. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
    7. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
    8. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
    9. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
    10. org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
    11. org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
    12. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
    13. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
    14. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
    14 frames
  15. M3 Interceptor
    MavenCli.main
    1. org.apache.maven.cli.MavenCli.execute(MavenCli.java:862)
    2. org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286)
    3. org.apache.maven.cli.MavenCli.main(MavenCli.java:197)
    3 frames
  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. Plexus
    Launcher.main
    1. org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
    2. org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
    3. org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
    4. org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
    4 frames