java.lang.reflect.InvocationTargetException

Stack Overflow | Perneel | 5 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Log4J2 not logging on all clients

    Stack Overflow | 5 months ago | Perneel
    java.lang.reflect.InvocationTargetException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    1 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.IllegalStateException

      ManagerFactory [org.apache.logging.log4j.core.appender.rolling.RollingFileManager$RollingFileManagerFactory@15bdc6b] unable to create manager for [C:\\Users\\username\\AppData\\Local\\Temp\\/my_client.log] with data [org.apache.logging.log4j.core.appender.rolling.RollingFileManager$FactoryData@dbdcaae[pattern=C:\\Users\\username\\AppData\\Local\\Temp\\/my_client-%d{yyyy-MM-dd}-%i.log, append=false, bufferedIO=true, bufferSize=8192, policy=CompositeTriggeringPolicy(policies=[SizeBasedTriggeringPolicy(size=20971520)]), strategy=DefaultRolloverStrategy(min=1, max=1), advertiseURI=null, layout=%d{yyy-MM-dd HH:mm:ss.SSS} %-5level %logger{36}::%M - %msg%n]]

      at org.apache.logging.log4j.core.appender.AbstractManager.getManager()
    2. Apache Log4j Core
      RollingFileAppender.createAppender
      1. org.apache.logging.log4j.core.appender.AbstractManager.getManager(AbstractManager.java:75)
      2. org.apache.logging.log4j.core.appender.OutputStreamManager.getManager(OutputStreamManager.java:81)
      3. org.apache.logging.log4j.core.appender.rolling.RollingFileManager.getFileManager(RollingFileManager.java:98)
      4. org.apache.logging.log4j.core.appender.RollingFileAppender.createAppender(RollingFileAppender.java:191)
      4 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      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:491)
      9. org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:561)
      10. org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:577)
      11. org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:212)
      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)
      3. org.apache.logging.log4j.LogManager.getLogger(LogManager.java:537)
      3 frames
    6. my_client.ui
      MainApp.<clinit>
      1. my_client.ui.MainApp.<clinit>(MainApp.java:40)
      1 frame
    7. Java RT
      Class.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
      4. java.lang.reflect.Constructor.newInstance(Unknown Source)
      5. java.lang.Class.newInstance(Unknown Source)
      5 frames
    8. com.sun.javafx
      FXApplet2$1.call
      1. com.sun.javafx.applet.FXApplet2$1.call(FXApplet2.java:67)
      1 frame
    9. com.sun.deploy
      FXPluginToolkit$Caller.run
      1. com.sun.deploy.uitoolkit.impl.fx.FXPluginToolkit$Caller.run(FXPluginToolkit.java:347)
      1 frame
    10. com.sun.javafx
      PlatformImpl.lambda$null$173
      1. com.sun.javafx.application.PlatformImpl.lambda$null$173(PlatformImpl.java:295)
      1 frame
    11. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    12. com.sun.javafx
      PlatformImpl.lambda$runLater$174
      1. com.sun.javafx.application.PlatformImpl.lambda$runLater$174(PlatformImpl.java:294)
      1 frame
    13. com.sun.glass
      WinApplication.lambda$null$148
      1. com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
      2. com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
      3. com.sun.glass.ui.win.WinApplication.lambda$null$148(WinApplication.java:191)
      3 frames
    14. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame