java.lang.reflect.InvocationTargetException

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.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at mockit.internal.annotations.MockClassSetup.validateRealClass()
  2. Main
    MockClassSetup.<init>
    1. mockit.internal.annotations.MockClassSetup.validateRealClass(MockClassSetup.java:59)
    2. mockit.internal.annotations.MockClassSetup.<init>(MockClassSetup.java:38)
    3. mockit.internal.annotations.MockClassSetup.<init>(MockClassSetup.java:77)
    4. mockit.internal.annotations.MockClassSetup.<init>(MockClassSetup.java:99)
    4 frames
  3. Main
    Startup.premain
    1. mockit.internal.startup.JMockitInitialization.setUpInternalStartupMock(JMockitInitialization.java:56)
    2. mockit.internal.startup.JMockitInitialization.initialize(JMockitInitialization.java:29)
    3. mockit.internal.startup.Startup.initialize(Startup.java:68)
    4. mockit.internal.startup.Startup.premain(Startup.java:56)
    4 frames
  4. Java RT
    InstrumentationImpl.loadClassAndCallPremain
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
    4. java.lang.reflect.Method.invoke(Method.java:600)
    5. sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:335)
    6. sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:350)
    6 frames