java.lang.NoClassDefFoundError: Could not initialize class nl.a.b.c.projectbeheer.Project$MockitoMock$735984955

Google Groups | Nick Stolwijk | 2 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Problems with Mockito 2.x on OSGi container Equinox

    Google Groups | 2 months ago | Nick Stolwijk
    java.lang.NoClassDefFoundError: Could not initialize class nl.a.b.c.projectbeheer.Project$MockitoMock$735984955
  2. 0

    mockito 2.0.14 fails to mock jetty httpclient

    GitHub | 2 years ago | christophsturm
    java.lang.IllegalAccessError: tried to access class org.eclipse.jetty.util.component.ContainerLifeCycle$Managed from class org.eclipse.jetty.client.HttpClient$MockitoMock$362486671
  3. 0

    NoClassDefFoundError with gradle, giraph, and hadoop

    Stack Overflow | 3 years ago | Matthew Saltz
    java.lang.NoClassDefFoundError: org.apache.hadoop.conf.Configuration
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Why do Mock Testing Frameworks and RV-Monitor interact negatively?

    GitHub | 3 years ago | owolabileg
    java.lang.NoClassDefFoundError: Could not initialize class br.com.caelum.vraptor.validator.Message$$EnhancerByMockitoWithCGLIB$$7ff0bdae

  1. raytest 80 times, last 2 weeks ago
  2. Andreas Häber 7 times, last 3 weeks ago
  3. jf-ast 45 times, last 1 month ago
  4. treefolk 2 times, last 4 months ago
  5. Reich 24 times, last 5 months ago
3 more registered users
22 unregistered visitors
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.NoClassDefFoundError

    Could not initialize class nl.a.b.c.projectbeheer.Project$MockitoMock$735984955

    at sun.reflect.GeneratedSerializationConstructorAccessor4.newInstance()
  2. Java RT
    Constructor.newInstance
    1. sun.reflect.GeneratedSerializationConstructorAccessor4.newInstance(Unknown Source)
    2. java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    2 frames
  3. Objenesis
    ObjenesisBase.newInstance
    1. org.objenesis.instantiator.sun.SunReflectionFactoryInstantiator.newInstance(SunReflectionFactoryInstantiator.java:48)
    2. org.objenesis.ObjenesisBase.newInstance(ObjenesisBase.java:73)
    2 frames
  4. Mockito
    ObjenesisInstantiator.newInstance
    1. org.mockito.internal.creation.instance.ObjenesisInstantiator.newInstance(ObjenesisInstantiator.java:18)
    1 frame
  5. org.mockito.internal
    ByteBuddyMockMaker.createMock
    1. org.mockito.internal.creation.bytebuddy.SubclassByteBuddyMockMaker.createMock(SubclassByteBuddyMockMaker.java:47)
    2. org.mockito.internal.creation.bytebuddy.ByteBuddyMockMaker.createMock(ByteBuddyMockMaker.java:26)
    2 frames
  6. Mockito
    JUnitRule$1.evaluate
    1. org.mockito.internal.util.MockUtil.createMock(MockUtil.java:35)
    2. org.mockito.internal.MockitoCore.mock(MockitoCore.java:65)
    3. org.mockito.Mockito.mock(Mockito.java:1693)
    4. org.mockito.internal.configuration.SpyAnnotationEngine.spyInstance(SpyAnnotationEngine.java:83)
    5. org.mockito.internal.configuration.SpyAnnotationEngine.process(SpyAnnotationEngine.java:64)
    6. org.mockito.internal.configuration.InjectingAnnotationEngine.processIndependentAnnotations(InjectingAnnotationEngine.java:59)
    7. org.mockito.internal.configuration.InjectingAnnotationEngine.process(InjectingAnnotationEngine.java:41)
    8. org.mockito.MockitoAnnotations.initMocks(MockitoAnnotations.java:69)
    9. org.mockito.internal.junit.JUnitRule$1.evaluate(JUnitRule.java:42)
    9 frames
  7. JUnit
    ParentRunner$3.run
    1. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
    2. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
    3. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
    4. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
    4 frames
  8. SureFire JUnitCore Runner
    Scheduler.schedule
    1. org.apache.maven.surefire.junitcore.pc.Scheduler$1.run(Scheduler.java:318)
    2. org.apache.maven.surefire.junitcore.pc.InvokerStrategy.schedule(InvokerStrategy.java:41)
    3. org.apache.maven.surefire.junitcore.pc.Scheduler.schedule(Scheduler.java:274)
    3 frames
  9. JUnit
    ParentRunner$3.run
    1. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
    2. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
    3. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
    4. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
    5. org.junit.runners.Suite.runChild(Suite.java:128)
    6. org.junit.runners.Suite.runChild(Suite.java:27)
    7. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
    7 frames
  10. SureFire JUnitCore Runner
    Scheduler$1.run
    1. org.apache.maven.surefire.junitcore.pc.Scheduler$1.run(Scheduler.java:318)
    1 frame
  11. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    5. java.lang.Thread.run(Thread.java:745)
    5 frames