java.lang.ExceptionInInitializerError

Stack Overflow | user641887 | 7 days ago
  1. 0

    issuehub.io

    issuehub.io | 10 months ago
    java.lang.ExceptionInInitializerError
  2. 0

    Regression with JDK-9-ea+104 and Mockito 2.0.42-beta

    GitHub | 11 months ago | cushon
    java.lang.ExceptionInInitializerError
  3. 0

    GitHub comment 355#193784752

    GitHub | 10 months ago | MGaetan89
    java.lang.ExceptionInInitializerError
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 757#260643179

    GitHub | 2 months ago | Godin
    java.lang.ExceptionInInitializerError
  6. 0

    Mockito throws NullPointer when creating a mock object

    Stack Overflow | 4 years ago | Jorn
    java.lang.ExceptionInInitializerError

    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.NullPointerException

      No message provided

      at org.mockito.internal.configuration.plugins.Plugins.getStackTraceCleanerProvider()
    2. Mockito
      MockUtil.<clinit>
      1. org.mockito.internal.configuration.plugins.Plugins.getStackTraceCleanerProvider(Plugins.java:17)
      2. org.mockito.internal.exceptions.stacktrace.StackTraceFilter.<clinit>(StackTraceFilter.java:21)
      3. org.mockito.internal.exceptions.stacktrace.ConditionalStackTraceFilter.<init>(ConditionalStackTraceFilter.java:17)
      4. org.mockito.exceptions.base.MockitoException.filterStackTrace(MockitoException.java:41)
      5. org.mockito.exceptions.base.MockitoException.<init>(MockitoException.java:30)
      6. org.mockito.exceptions.misusing.MockitoConfigurationException.<init>(MockitoConfigurationException.java:18)
      7. org.mockito.internal.configuration.plugins.PluginLoader.loadImpl(PluginLoader.java:66)
      8. org.mockito.internal.configuration.plugins.PluginLoader.loadPlugin(PluginLoader.java:24)
      9. org.mockito.internal.configuration.plugins.PluginRegistry.<init>(PluginRegistry.java:12)
      10. org.mockito.internal.configuration.plugins.Plugins.<clinit>(Plugins.java:11)
      11. org.mockito.internal.util.MockUtil.<clinit>(MockUtil.java:24)
      11 frames
    3. org.springframework.boot
      MockReset.<clinit>
      1. org.springframework.boot.test.mock.mockito.MockReset.<clinit>(MockReset.java:56)
      1 frame
    4. Java RT
      AccessibleObject.getAnnotations
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      5. java.lang.Class.getEnumConstantsShared(Class.java:3320)
      6. java.lang.Class.enumConstantDirectory(Class.java:3341)
      7. java.lang.Enum.valueOf(Enum.java:232)
      8. sun.reflect.annotation.AnnotationParser.parseEnumValue(AnnotationParser.java:483)
      9. sun.reflect.annotation.AnnotationParser.parseMemberValue(AnnotationParser.java:347)
      10. java.lang.reflect.Method.getDefaultValue(Method.java:606)
      11. sun.reflect.annotation.AnnotationType.<init>(AnnotationType.java:128)
      12. sun.reflect.annotation.AnnotationType.getInstance(AnnotationType.java:85)
      13. sun.reflect.annotation.AnnotationParser.parseAnnotation2(AnnotationParser.java:266)
      14. sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:120)
      15. sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:72)
      16. java.lang.reflect.Field.declaredAnnotations(Field.java:1150)
      17. java.lang.reflect.Field.declaredAnnotations(Field.java:1148)
      18. java.lang.reflect.Field.getDeclaredAnnotations(Field.java:1139)
      19. java.lang.reflect.AccessibleObject.getAnnotations(AccessibleObject.java:207)
      19 frames
    5. JUnit
      BlockJUnit4ClassRunner.<init>
      1. org.junit.runners.model.FrameworkField.getAnnotations(FrameworkField.java:31)
      2. org.junit.runners.model.TestClass.addToAnnotationLists(TestClass.java:84)
      3. org.junit.runners.model.TestClass.scanAnnotatedMembers(TestClass.java:71)
      4. org.junit.runners.model.TestClass.<init>(TestClass.java:57)
      5. org.junit.runners.ParentRunner.createTestClass(ParentRunner.java:88)
      6. org.junit.runners.ParentRunner.<init>(ParentRunner.java:83)
      7. org.junit.runners.BlockJUnit4ClassRunner.<init>(BlockJUnit4ClassRunner.java:65)
      7 frames
    6. Spring TestContext
      SpringRunner.<init>
      1. org.springframework.test.context.junit4.SpringJUnit4ClassRunner.<init>(SpringJUnit4ClassRunner.java:138)
      2. org.springframework.test.context.junit4.SpringRunner.<init>(SpringRunner.java:49)
      2 frames
    7. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:423)
      4 frames
    8. JUnit
      ClassRequest.getRunner
      1. org.junit.internal.builders.AnnotatedBuilder.buildRunner(AnnotatedBuilder.java:104)
      2. org.junit.internal.builders.AnnotatedBuilder.runnerForClass(AnnotatedBuilder.java:86)
      3. org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
      4. org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
      5. org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
      6. org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:33)
      6 frames
    9. JUnit4 Runner
      JUnit4TestLoader.loadTests
      1. org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.createUnfilteredTest(JUnit4TestLoader.java:84)
      2. org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.createTest(JUnit4TestLoader.java:70)
      3. org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.loadTests(JUnit4TestLoader.java:43)
      3 frames
    10. JUnit3 Runner
      RemoteTestRunner.main
      1. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:444)
      2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678)
      3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
      4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
      4 frames