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 241686

Summary: NullPointerException at org.netbeans.api.project.ProjectUtils.getSources
Product: java Reporter: stefan79 <stefan79>
Component: JUnitAssignee: Theofanis Oikonomou <theofanis>
Status: RESOLVED FIXED    
Severity: normal CC: stefan79
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 207330
Attachments: stacktrace
stacktrace

Description stefan79 2014-02-11 10:46:41 UTC
Build: NetBeans IDE Dev (Build 201402100001)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b69, Java(TM) SE Runtime Environment, 1.8.0-b128
OS: Windows 7

User Comments:
GUEST: changed focus to another application, then when reenterd netbeans this exception occoured

stefan79: Searched in a read-only java-file.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.api.project.ProjectUtils.getSources(ProjectUtils.java:121)
   at org.netbeans.modules.java.testrunner.Utils.getJavaSourceGroups(Utils.java:681)
   at org.netbeans.modules.java.testrunner.CommonTestUtil.findSourceGroupOwner(CommonTestUtil.java:242)
   at org.netbeans.modules.java.testrunner.CommonTestUtil.findSourceGroupOwner(CommonTestUtil.java:226)
   at org.netbeans.modules.java.testrunner.hints.Utils.populateLocations(Utils.java:150)
   at org.netbeans.modules.java.testrunner.hints.Utils.getValidCombinations(Utils.java:86)
Comment 1 stefan79 2014-02-11 10:46:42 UTC
Created attachment 145028 [details]
stacktrace
Comment 2 stefan79 2014-02-11 11:01:25 UTC
Created attachment 145029 [details]
stacktrace

Opened Read-Only-File
Comment 3 Theofanis Oikonomou 2014-02-12 09:30:44 UTC
Changeset: 763ac1f45f32
Author:    Theofanis Oikonomou <theofanis@netbeans.org>
Date:      2014-02-12 10:32
Message:
Comment 4 Quality Engineering 2014-02-13 02:44:09 UTC
Integrated into 'main-silver', will be available in build *201402130001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/763ac1f45f32
User: Theofanis Oikonomou <theofanis@netbeans.org>
Log: Task #241686 - NullPointerException at org.netbeans.api.project.ProjectUtils.getSources