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

Summary: NullPointerException: <null> session name provided by: org.netbeans.spi.debugger.SessionProvider$ContextAware@7042d9
Product: javascript Reporter: dds.dhawal
Component: DebuggerAssignee: Martin Entlicher <mentlicher>
Status: RESOLVED FIXED    
Severity: normal CC: vriha
Priority: P3    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 195148
Attachments: stacktrace
stacktrace

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.