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 - NullPointerException at org.netbeans.modules.web.debug.EngineContextProviderImpl.getDefaultContext
Summary: NullPointerException at org.netbeans.modules.web.debug.EngineContextProviderI...
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-20 11:49 UTC by kimsp
Modified: 2014-01-21 02:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 206528


Attachments
stacktrace (1.87 KB, text/plain)
2014-01-20 11:49 UTC, kimsp
Details

Note You need to log in before you can comment on or make changes to this bug.
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.