Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. JarRsrcLoader.main() has thrown an InvocationTargetException
    Unsorted
    7
    4
    0
  2. NativeMethodAccessorImpl.invoke() has thrown an InvocationTargetException
    Java Runtime
    220
    120
    120

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
1 frame hidden

Solution

Nwabunnia10 months ago

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.

External results for this pattern (10)

  1. Unknown authorvia Google Groups6 days ago
    No message found for this stack trace.
    Show stack trace
  2. Unknown authorvia Google Groups6 days ago
    No message found for this stack trace.
    Show stack trace
  3. Евгений Науменкоvia Google Groups6 days ago
    No message found for this stack trace.
    Show stack trace
  4. alecswanvia Google Groups1 week ago
    No message found for this stack trace.
    Show stack trace
  5. David Yuvia JIRA1 week ago
    No message found for this stack trace.
    Show stack trace
  6. Blessnessvia GitHub1 week ago
    No message found for this stack trace.
    Show stack trace
  7. frank....@est.fujitsu.com (JIRA)via Google Groups1 week ago
  8. jonbrohaugevia GitHub3 weeks ago
    No message found for this stack trace.
    Show stack trace
  9. mwarkentinvia GitHub3 weeks ago
    No message found for this stack trace.
    Show stack trace