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 240696

Summary: NullPointerException at org.netbeans.modules.web.debug.EngineContextProviderImpl.getDefaultContext
Product: javaee Reporter: kimsp <kimsp>
Component: DebuggerAssignee: Martin Entlicher <mentlicher>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 206528
Attachments: stacktrace

Description kimsp 2014-01-20 11:49:06 UTC
Build: NetBeans IDE 8.0 Beta (Build 201401141042)
VM: Java HotSpot(TM) Client VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18
OS: Windows XP

User Comments:
kimsp: doing some remote debugging

kimsp: debugging




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.web.debug.EngineContextProviderImpl.getDefaultContext(EngineContextProviderImpl.java:154)
   at org.netbeans.modules.web.debug.EngineContextProviderImpl.getURL(EngineContextProviderImpl.java:135)
   at org.netbeans.modules.debugger.jpda.ui.SourcePath$CompoundContextProvider.getURL(SourcePath.java:757)
   at org.netbeans.modules.debugger.jpda.ui.SourcePath$CompoundContextProvider.getURL(SourcePath.java:757)
   at org.netbeans.modules.debugger.jpda.ui.SourcePath$CompoundContextProvider.getURL(SourcePath.java:757)
   at org.netbeans.modules.debugger.jpda.ui.SourcePath.getURL(SourcePath.java:157)
Comment 1 kimsp 2014-01-20 11:49:08 UTC
Created attachment 144141 [details]
stacktrace
Comment 2 Martin Entlicher 2014-01-20 15:33:42 UTC
Fixed by changeset:   270839:154654bc65ae
http://hg.netbeans.org/core-main/rev/154654bc65ae
Comment 3 Quality Engineering 2014-01-21 02:56:57 UTC
Integrated into 'main-silver', will be available in build *201401210001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/154654bc65ae
User: mentlicher@netbeans.org
Log: #240696: Check the lookup item for null value.