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 244513 - NullPointerException at org.netbeans.modules.debugger.jpda.js.source.SourceFilesCache.getSourceFile
Summary: NullPointerException at org.netbeans.modules.debugger.jpda.js.source.SourceFi...
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal with 1 vote (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-15 12:10 UTC by inonit
Modified: 2014-05-20 02:50 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 209735


Attachments
stacktrace (1.23 KB, text/plain)
2014-05-15 12:10 UTC, inonit
Details

Note You need to log in before you can comment on or make changes to this bug.
Description inonit 2014-05-15 12:10:07 UTC
Build: NetBeans IDE 8.0 (Build 201403101706)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.5-b02, Java(TM) SE Runtime Environment, 1.8.0_05-b13
OS: Mac OS X

User Comments:
inonit: Attempting to step into Nashorn script

inonit: Trying to connect to remote process with debugger; remote process contains Nashorn script

inonit: Running Java program with Nashorn scripts inside debugger

inonit: Running debugger, attempting to step into Nashorn script




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.debugger.jpda.js.source.SourceFilesCache.getSourceFile(SourceFilesCache.java:79)
   at org.netbeans.modules.debugger.jpda.js.source.Source.<init>(Source.java:94)
   at org.netbeans.modules.debugger.jpda.js.source.Source.getSource(Source.java:193)
   at org.netbeans.modules.debugger.jpda.js.breakpoints.JSJavaBreakpointsManager$ScriptsHandler.breakpointReached(JSJavaBreakpointsManager.java:258)
   at org.netbeans.api.debugger.jpda.JPDABreakpoint.fireJPDABreakpointChange(JPDABreakpoint.java:300)
   at org.netbeans.api.debugger.jpda.JPDADebugger.fireBreakpointEvent(JPDADebugger.java:491)
Comment 1 inonit 2014-05-15 12:10:09 UTC
Created attachment 147276 [details]
stacktrace
Comment 2 Martin Entlicher 2014-05-16 23:47:05 UTC
Fixed by changeset:   274350:9b93fefb9cd2
http://hg.netbeans.org/core-main/rev/9b93fefb9cd2
Comment 3 Quality Engineering 2014-05-20 02:50:14 UTC
Integrated into 'main-silver', will be available in build *201405200001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/9b93fefb9cd2
User: mentlicher@netbeans.org
Log: #244513: Refresh all parent folders when the resource is not found.