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.
This bug was originally marked as duplicate of bug 228037, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE Dev (Build nbms-and-javadoc-11138-on-20130617) VM: Java HotSpot(TM) Client VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b17 OS: Windows 7 User Comments: dynamite: Running single unit test that is a juint 3 tast case Stacktrace: java.lang.AssertionError: Project was null for projectURI: memory://fs3/ at org.netbeans.modules.gsf.testrunner.api.TestSession.getReport(TestSession.java:296) at org.netbeans.modules.junit.output.JUnitOutputReader.testCaseFinished(JUnitOutputReader.java:717) at org.netbeans.modules.junit.output.JUnitOutputReader.verboseMessageLogged(JUnitOutputReader.java:247) at org.netbeans.modules.junit.output.JUnitOutputReader.verboseMessageLogged(JUnitOutputReader.java:197) at org.netbeans.modules.junit.output.JUnitAntLogger.messageLogged(JUnitAntLogger.java:289) at org.apache.tools.ant.module.bridge.impl.NbBuildLogger.messageLogged(NbBuildLogger.java:618)
Created attachment 136863 [details] stacktrace
Created attachment 138688 [details] stacktrace Running test in ant-based project.
For some reason, that I cannot specify at this point, JUnitAntLogger passes null as the Project parameter to JUnitOutputReader which falls back to creating a dummy Project in memory file system. Added some logging to investigate when and why this happens http://hg.netbeans.org/core-main/rev/da876d07beff. Please try a latest build and reopen if it happens again describing exact steps to reproduce and a minimal project that exhibits the faulty behaviour and/or some more info that you may find relative. Thank you
Integrated into 'main-silver', will be available in build *201312070002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/da876d07beff User: Theofanis Oikonomou <theofanis@netbeans.org> Log: #232436 - AssertionError: Project was null for projectURI: memory://fs3/