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

Summary: [71cat] NullPointerException at org.netbeans.modules.junit.output.JUnitTestSession$ProjectFileLocator.getProjectClasspath
Product: java Reporter: dbell
Component: JUnitAssignee: Theofanis Oikonomou <theofanis>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 7.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 178523
Bug Depends on: 187004    
Bug Blocks:    
Attachments: stacktrace

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