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.

Bug 204486 - [71cat] NullPointerException at org.netbeans.modules.junit.output.JUnitTestSession$ProjectFileLocator.getProjectClasspath
Summary: [71cat] NullPointerException at org.netbeans.modules.junit.output.JUnitTestSe...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: JUnit (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords:
Depends on: 187004
Blocks:
  Show dependency tree
 
Reported: 2011-11-01 00:31 UTC by dbell
Modified: 2012-05-03 09:52 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 178523


Attachments
stacktrace (1.67 KB, text/plain)
2011-11-01 00:31 UTC, dbell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dbell 2011-11-01 00:31:19 UTC
Build: NetBeans IDE Dev (Build 201110290600)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.1-b02-383, Java(TM) SE Runtime Environment, 1.6.0_26-b03-383-11A511
OS: Mac OS X

User Comments:
GUEST: running ant task "test"

dbell: Running single functional test for netbeans java.editor module

GUEST: Running a junit test.

GUEST: Testing a Netbeans module




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.junit.output.JUnitTestSession$ProjectFileLocator.getProjectClasspath(JUnitTestSession.java:122)
   at org.netbeans.modules.junit.output.JUnitTestSession$ProjectFileLocator.<init>(JUnitTestSession.java:94)
   at org.netbeans.modules.junit.output.JUnitTestSession.<init>(JUnitTestSession.java:77)
   at org.netbeans.modules.junit.output.JUnitOutputReader.<init>(JUnitOutputReader.java:170)
   at org.netbeans.modules.junit.output.JUnitAntLogger.getOutputReader(JUnitAntLogger.java:400)
   at org.netbeans.modules.junit.output.JUnitAntLogger.messageLogged(JUnitAntLogger.java:289)
Comment 1 dbell 2011-11-01 00:31:23 UTC
Created attachment 112630 [details]
stacktrace
Comment 2 Theofanis Oikonomou 2012-05-02 07:29:51 UTC
Fixed: http://hg.netbeans.org/core-main/rev/f8ff9de2b8f8
Comment 3 Quality Engineering 2012-05-03 09:52:09 UTC
Integrated into 'main-golden', will be available in build *201205030400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/f8ff9de2b8f8
User: Theofanis Oikonomou <theofanis@netbeans.org>
Log: Issue #204486 - [71cat] NullPointerException at org.netbeans.modules.junit.output.JUnitTestSession$ProjectFileLocator.getProjectClasspath