Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,

    The invoke() method threw an exception. To understand what the problem is, wrap the invoke() method call around a try-catch block and log invocationTargetException.getTargetException(). You can also use the getCause() method.

Solutions on the web

via Coderanch by srilatha nimmaneni, 1 year ago
via Coderanch by Shashika Wickramarachchi, 1 year ago
via Coderanch by Nick Jp George, 1 year ago
This exception has no message.
via Coderanch by aashi amin, 1 year ago
via Coderanch by Nick Jp George, 1 year ago
This exception has no message.
java.lang.reflect.InvocationTargetException: 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:601)	at org.apache.logging.log4j.core.config.BaseConfiguration.createPluginObject(BaseConfiguration.java:723)	at org.apache.logging.log4j.core.config.BaseConfiguration.createConfiguration(BaseConfiguration.java:489)	at org.apache.logging.log4j.core.config.BaseConfiguration.createConfiguration(BaseConfiguration.java:481)	at org.apache.logging.log4j.core.config.BaseConfiguration.doConfigure(BaseConfiguration.java:162)	at org.apache.logging.log4j.core.config.BaseConfiguration.start(BaseConfiguration.java:120)	at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:271)	at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:287)	at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:139)	at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:76)	at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:31)	at org.apache.logging.log4j.LogManager.getContext(LogManager.java:178)	at org.apache.log4j.LogManager$PrivateManager.getContext(LogManager.java:197)	at org.apache.log4j.LogManager.getLogger(LogManager.java:73)	at org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:64)