java.lang.reflect.InvocationTargetException

Stack Overflow | Alex Mathew | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.

Root Cause Analysis

  1. java.lang.ClassCastException

    org.apache.logging.log4j.core.appender.FileManager cannot be cast to org.apache.logging.log4j.core.appender.rolling.RollingFileManager

    at org.apache.logging.log4j.core.appender.rolling.RollingFileManager.getFileManager()
  2. Apache Log4j Core
    RollingFileAppender.createAppender
    1. org.apache.logging.log4j.core.appender.rolling.RollingFileManager.getFileManager(RollingFileManager.java:103)
    2. org.apache.logging.log4j.core.appender.RollingFileAppender.createAppender(RollingFileAppender.java:191)
    2 frames
  3. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  4. Apache Log4j Core
    Log4jContextFactory.getContext
    1. org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.build(PluginBuilder.java:132)
    2. org.apache.logging.log4j.core.config.AbstractConfiguration.createPluginObject(AbstractConfiguration.java:918)
    3. org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:858)
    4. org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:850)
    5. org.apache.logging.log4j.core.config.AbstractConfiguration.doConfigure(AbstractConfiguration.java:479)
    6. org.apache.logging.log4j.core.config.AbstractConfiguration.initialize(AbstractConfiguration.java:219)
    7. org.apache.logging.log4j.core.config.AbstractConfiguration.start(AbstractConfiguration.java:231)
    8. org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:496)
    9. org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:566)
    10. org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:582)
    11. org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:217)
    12. org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:152)
    13. org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:45)
    13 frames
  5. Apache Log4j API
    LogManager.getLogger
    1. org.apache.logging.log4j.LogManager.getContext(LogManager.java:194)
    2. org.apache.logging.log4j.LogManager.getLogger(LogManager.java:551)
    2 frames
  6. com.hifx.lens
    Accumulo.main
    1. com.hifx.lens.services.AvroSerializerFactory.<init>(AvroSerializerFactory.java:16)
    2. com.hifx.lens.services.AvroSerializerFactory.init(AvroSerializerFactory.java:43)
    3. com.hifx.lens.Accumulo.main(Accumulo.java:31)
    3 frames
  7. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  8. IDEA
    AppMain.main
    1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
    1 frame