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 - NullPointerException at org.netbeans.api.project.ProjectUtils.getSources
Summary: NullPointerException at org.netbeans.api.project.ProjectUtils.getSources
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: JUnit (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-11 10:46 UTC by stefan79
Modified: 2014-02-13 02:44 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 207330


Attachments
stacktrace (2.71 KB, text/plain)
2014-02-11 10:46 UTC, stefan79
Details
stacktrace (2.71 KB, text/plain)
2014-02-11 11:01 UTC, stefan79
Details

Note You need to log in before you can comment on or make changes to this bug.
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