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 222707 - NullPointerException: <null> session name provided by: org.netbeans.spi.debugger.SessionProvider$ContextAware@7042d9
Summary: NullPointerException: <null> session name provided by: org.netbeans.spi.debug...
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-25 11:53 UTC by dds.dhawal
Modified: 2012-12-07 02:39 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 195148


Attachments
stacktrace (2.21 KB, text/plain)
2012-11-25 11:53 UTC, dds.dhawal
Details
stacktrace (2.21 KB, text/plain)
2012-11-27 11:05 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dds.dhawal 2012-11-25 11:53:51 UTC
Build: NetBeans IDE Dev (Build 201211110001)
VM: Java HotSpot(TM) Client VM, 23.6-b04, Java(TM) SE Runtime Environment, 1.7.0_10-ea-b15
OS: Windows 7

User Comments:
GUEST: I've copied and pasted variable name into other piece of code and made a syntax error:
document.getElementById("mapSectors").removeChild(sector));

then this error appeard.

GUEST: entering onclick javascript for submit button

dds.dhawal: Edited Html file and saved

GUEST: Writing html source code for image

GUEST: Entering <img> item into html




Stacktrace: 
java.lang.NullPointerException: <null> session name provided by: org.netbeans.spi.debugger.SessionProvider$ContextAware@7042d9
   at org.netbeans.api.debugger.DebuggerManager.startDebugging(DebuggerManager.java:325)
   at org.netbeans.modules.web.javascript.debugger.browser.NetBeansJavaScriptDebuggerFactoryImpl.createDebuggingSession(NetBeansJavaScriptDebuggerFactoryImpl.java:75)
   at org.netbeans.core.browser.webview.HtmlBrowserImpl$1.run(HtmlBrowserImpl.java:152)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1454)
   at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2036)
Comment 1 dds.dhawal 2012-11-25 11:53:54 UTC
Created attachment 128353 [details]
stacktrace
Comment 2 Vladimir Riha 2012-11-27 11:05:26 UTC
Created attachment 128440 [details]
stacktrace

saved JS file linked to formerly running HTML page (I closed the browser window and then saved the file)
Comment 3 Martin Entlicher 2012-12-05 15:27:16 UTC
Fixed by changeset:   241752:20cc1d022d1c
http://hg.netbeans.org/web-main/rev/20cc1d022d1c
Comment 4 Quality Engineering 2012-12-07 02:39:32 UTC
Integrated into 'main-golden', will be available in build *201212070001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/37f2332398b2
User: mentlicher@netbeans.org
Log: #222707: Provide toString() to better identify problematic services.