java.lang.ExceptionInInitializerError

Google Groups | asahoo | 11 months ago

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at org.mockito.internal.exceptions.stacktrace.StackTraceFilter.<clinit>()
  2. Mockito
    Answers.<clinit>
    1. org.mockito.internal.exceptions.stacktrace.StackTraceFilter.<clinit>(StackTraceFilter.java:21)
    2. org.mockito.internal.exceptions.stacktrace.ConditionalStackTraceFilter.<init>(ConditionalStackTraceFilter.java:17)
    3. org.mockito.exceptions.base.MockitoException.filterStackTrace(MockitoException.java:30)
    4. org.mockito.exceptions.base.MockitoException.<init>(MockitoException.java:19)
    5. org.mockito.exceptions.misusing.MockitoConfigurationException.<init>(MockitoConfigurationException.java:18)
    6. org.mockito.internal.configuration.ClassPathLoader.loadImplementations(ClassPathLoader.java:145)
    7. org.mockito.internal.configuration.ClassPathLoader.findPluginImplementation(ClassPathLoader.java:110)
    8. org.mockito.internal.configuration.ClassPathLoader.findPlatformMockMaker(ClassPathLoader.java:106)
    9. org.mockito.internal.configuration.ClassPathLoader.<clinit>(ClassPathLoader.java:59)
    10. org.mockito.internal.util.MockUtil.<clinit>(MockUtil.java:21)
    11. org.mockito.internal.MockitoCore.<init>(MockitoCore.java:40)
    12. org.mockito.internal.stubbing.defaultanswers.ReturnsMocks.<init>(ReturnsMocks.java:18)
    13. org.mockito.Answers.<clinit>(Answers.java:52)
    13 frames
  3. Java RT
    AccessibleObject.isAnnotationPresent
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    5. java.lang.Class.getEnumConstantsShared(Class.java:2942)
    6. java.lang.Class.enumConstantDirectory(Class.java:2963)
    7. java.lang.Enum.valueOf(Enum.java:191)
    8. sun.reflect.annotation.AnnotationParser.parseEnumValue(AnnotationParser.java:413)
    9. sun.reflect.annotation.AnnotationParser.parseMemberValue(AnnotationParser.java:278)
    10. java.lang.reflect.Method.getDefaultValue(Method.java:720)
    11. sun.reflect.annotation.AnnotationType.<init>(AnnotationType.java:99)
    12. sun.reflect.annotation.AnnotationType.getInstance(AnnotationType.java:66)
    13. sun.reflect.annotation.AnnotationParser.parseAnnotation(AnnotationParser.java:202)
    14. sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:69)
    15. sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:52)
    16. java.lang.reflect.Field.declaredAnnotations(Field.java:1014)
    17. java.lang.reflect.Field.getAnnotation(Field.java:1000)
    18. java.lang.reflect.AccessibleObject.isAnnotationPresent(AccessibleObject.java:168)
    18 frames
  4. powermock-reflect
    Whitebox.getFieldsAnnotatedWith
    1. org.powermock.reflect.internal.matcherstrategies.FieldAnnotationMatcherStrategy.matches(FieldAnnotationMatcherStrategy.java:37)
    2. org.powermock.reflect.internal.WhiteboxImpl.findAllFieldsUsingStrategy(WhiteboxImpl.java:535)
    3. org.powermock.reflect.internal.WhiteboxImpl.getFieldsAnnotatedWith(WhiteboxImpl.java:2343)
    4. org.powermock.reflect.Whitebox.getFieldsAnnotatedWith(Whitebox.java:585)
    4 frames
  5. powermock-api-mockito
    AnnotationEnabler.beforeTestMethod
    1. org.powermock.api.extension.listener.AnnotationEnabler.standardInject(AnnotationEnabler.java:70)
    2. org.powermock.api.extension.listener.AnnotationEnabler.beforeTestMethod(AnnotationEnabler.java:52)
    2 frames
  6. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  7. powermock-reflect
    Whitebox.invokeMethod
    1. org.powermock.reflect.internal.WhiteboxImpl.performMethodInvocation(WhiteboxImpl.java:2014)
    2. org.powermock.reflect.internal.WhiteboxImpl.invokeMethod(WhiteboxImpl.java:744)
    3. org.powermock.reflect.Whitebox.invokeMethod(Whitebox.java:415)
    3 frames
  8. Powermock
    PowerMockTestNGMethodHandler.invoke
    1. org.powermock.modules.testng.internal.PowerMockTestNGMethodHandler.injectMocksUsingAnnotationEnabler(PowerMockTestNGMethodHandler.java:72)
    2. org.powermock.modules.testng.internal.PowerMockTestNGMethodHandler.invoke(PowerMockTestNGMethodHandler.java:47)
    2 frames
  9. com.actifio.psrv
    TestTest_$$_javassist_0.init
    1. com.actifio.psrv.util.analysis.TestTest_$$_javassist_0.init(TestTest_$$_javassist_0.java)
    1 frame
  10. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  11. TestNG
    TestNG.main
    1. org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
    2. org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:564)
    3. org.testng.internal.Invoker.invokeConfigurations(Invoker.java:213)
    4. org.testng.internal.Invoker.invokeConfigurations(Invoker.java:138)
    5. org.testng.TestRunner.beforeRun(TestRunner.java:641)
    6. org.testng.TestRunner.run(TestRunner.java:609)
    7. org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
    8. org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
    9. org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
    10. org.testng.SuiteRunner.run(SuiteRunner.java:240)
    11. org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
    12. org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
    13. org.testng.TestNG.runSuitesSequentially(TestNG.java:1198)
    14. org.testng.TestNG.runSuitesLocally(TestNG.java:1123)
    15. org.testng.TestNG.run(TestNG.java:1031)
    16. org.testng.TestNG.privateMain(TestNG.java:1338)
    17. org.testng.TestNG.main(TestNG.java:1307)
    17 frames