This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
When I'm trying to run a junit test doing som Hex-encoding using Apache Commons I get the error described in the summary. The project is setup using multiple maven modules. There is nothing in messages.log in the NetBeans 6.7rc2 user directory. Is there some way of finding this information in the logs?
Created attachment 83403 [details] Screenshot of the test run
Found the text below in a hidden output tab: WARNING: multiple versions of ant detected in path for junit jar:file:/Applications/NetBeans/NetBeans%206.7%20RC2.app/Contents/Resources/NetBeans/java2/ant/lib/ant.jar!/org/apache/tools/ant/Project.class and jar:file:/Users/eivinn/.m2/repository/ant/ant/1.5/ant-1.5.jar!/org/apache/tools/ant/Project.class Testsuite: com.mobiletech.dextella.msggw.common.sms.SmsMessageTranslatorTest Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 0.573 sec Exception in thread "main" java.lang.NoSuchMethodError: org.apache.tools.ant.util.FileUtils.close(Ljava/io/Writer;)V at org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter.endTestSuite(XMLJUnitResultFormatter.java:177) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.fireEndTestSuite(JUnitTestRunner.java:714) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:547) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1031) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:888) Test com.mobiletech.dextella.msggw.common.sms.SmsMessageTranslatorTest FAILED (crashed) test: BUILD SUCCESSFUL (total time: 3 seconds)
*** This issue has been marked as a duplicate of 166379 ***