Benson Margulies created SUREFIRE-972:
-----------------------------------------

             Summary: Bizarre NoClassDefFoundError in failsafe
                 Key: SUREFIRE-972
                 URL: https://jira.codehaus.org/browse/SUREFIRE-972
             Project: Maven Surefire
          Issue Type: Bug
    Affects Versions: 2.14
            Reporter: Benson Margulies


I'm tentatively stumped here and looking for debugging advice.


{noformat}
Running com.basistech.jug.upload.SolrMimicIT
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.112 sec <<< 
FAILURE!
com.basistech.jug.upload.SolrMimicIT  Time elapsed: 0.112 sec  <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class 
com.basistech.jug.upload.SolrMimicIT
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:169)
        at 
org.apache.maven.surefire.report.SmartStackTraceParser.getClass(SmartStackTraceParser.java:62)
        at 
org.apache.maven.surefire.report.SmartStackTraceParser.<init>(SmartStackTraceParser.java:52)
        at 
org.apache.maven.surefire.common.junit4.JUnit4StackTraceWriter.smartTrimmedStackTrace(JUnit4StackTraceWriter.java:72)
        at 
org.apache.maven.surefire.booter.ForkingRunListener.encode(ForkingRunListener.java:329)
        at 
org.apache.maven.surefire.booter.ForkingRunListener.encode(ForkingRunListener.java:313)
        at 
org.apache.maven.surefire.booter.ForkingRunListener.toString(ForkingRunListener.java:259)
        at 
org.apache.maven.surefire.booter.ForkingRunListener.testError(ForkingRunListener.java:132)
        at 
org.apache.maven.surefire.common.junit4.JUnit4RunListener.testFailure(JUnit4RunListener.java:111)
        at 
org.junit.runner.notification.RunNotifier$4.notifyListener(RunNotifier.java:139)
        at 
org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:61)
        at 
org.junit.runner.notification.RunNotifier.fireTestFailures(RunNotifier.java:134)
        at 
org.junit.runner.notification.RunNotifier.fireTestFailure(RunNotifier.java:128)
        at 
org.junit.internal.runners.model.EachTestNotifier.addFailure(EachTestNotifier.java:23)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:315)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)


Results :

Tests in error:
  JUnit4Provider.invoke:124->executeTestSet:153->execute:264 » 
NoClassDefFound C...
{noformat}


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to