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 250819 - NullPointerException at org.netbeans.api.project.ProjectUtils.getSources
Summary: NullPointerException at org.netbeans.api.project.ProjectUtils.getSources
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-02 14:34 UTC by Vladimir Riha
Modified: 2015-06-11 02:39 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 215774


Attachments
stacktrace (4.73 KB, text/plain)
2015-03-02 14:34 UTC, Vladimir Riha
Details
stacktrace (4.75 KB, text/plain)
2015-06-09 12:47 UTC, Tomas Mysik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2015-03-02 14:34:32 UTC
Build: NetBeans IDE Dev (Build 201503020001)
VM: Java HotSpot(TM) Client VM, 25.40-b25, Java(TM) SE Runtime Environment, 1.8.0_40-b25
OS: Linux

User Comments:
vriha: running JSTestDriver tests




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.api.project.ProjectUtils.getSources(ProjectUtils.java:109)
   at org.netbeans.modules.web.javascript.debugger.breakpoints.BreakpointRuntimeSetter.getProjectSourceRoots(BreakpointRuntimeSetter.java:269)
   at org.netbeans.modules.web.javascript.debugger.breakpoints.BreakpointRuntimeSetter.getProjectSourceRoots(BreakpointRuntimeSetter.java:262)
   at org.netbeans.modules.web.javascript.debugger.breakpoints.BreakpointRuntimeSetter.<init>(BreakpointRuntimeSetter.java:98)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(NativeConstructorAccessorImpl.java:0)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
Comment 1 Vladimir Riha 2015-03-02 14:34:34 UTC
Created attachment 152323 [details]
stacktrace
Comment 2 Tomas Stupka 2015-06-03 16:10:09 UTC
please evaluate ...
Comment 3 Tomas Mysik 2015-06-09 12:47:44 UTC
Created attachment 154126 [details]
stacktrace

- go to Services tab
- run JS Test Driver server
Comment 4 Martin Entlicher 2015-06-09 12:50:12 UTC
A JS debugger issue.
Comment 5 Martin Entlicher 2015-06-09 13:30:02 UTC
Fixed by changeset:   288242:c13d71529268
http://hg.netbeans.org/web-main/rev/c13d71529268
Comment 6 Quality Engineering 2015-06-11 02:39:32 UTC
Integrated into 'main-silver', will be available in build *201506110001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/c13d71529268
User: mentlicher@netbeans.org
Log: #250819: Allow running without an associated project.