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 255369 - NullPointerException at org.netbeans.spi.debugger.ui.EditorContextDispatcher.getMIMETypesOnLine
Summary: NullPointerException at org.netbeans.spi.debugger.ui.EditorContextDispatcher....
Status: RESOLVED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-17 13:47 UTC by Exceptions Reporter
Modified: 2015-09-20 01:32 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 216847


Attachments
stacktrace (2.73 KB, text/plain)
2015-09-17 13:47 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2015-09-17 13:47:47 UTC
This issue was reported manually by texpert.
It already has 2 duplicates 


Build: NetBeans IDE 8.1 Beta (Build 201508041349)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.51-b03, Java(TM) SE Runtime Environment, 1.8.0_51-b16
OS: Linux

User Comments:
GUEST: switch to source view of default webservice (hello) source

GUEST: Closed the single opened file




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.spi.debugger.ui.EditorContextDispatcher.getMIMETypesOnLine(EditorContextDispatcher.java:329)
   at org.netbeans.spi.debugger.ui.EditorContextDispatcher.getMIMETypesOnCurrentLine(EditorContextDispatcher.java:307)
   at sun.reflect.GeneratedMethodAccessor22.invoke(GeneratedMethodAccessor22.java:0)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:497)
   at org.netbeans.spi.debugger.ActionsProvider$ContextAware.isCurrentMIMETypeIn(ActionsProvider.java:407)
Comment 1 Exceptions Reporter 2015-09-17 13:47:49 UTC
Created attachment 156251 [details]
stacktrace
Comment 2 Martin Entlicher 2015-09-18 08:01:39 UTC
Fixed by changeset:   292272:8e98d3be6b27
http://hg.netbeans.org/core-main/rev/8e98d3be6b27
Comment 3 Quality Engineering 2015-09-20 01:32:26 UTC
Integrated into 'main-silver', will be available in build *201509200002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/8e98d3be6b27
User: mentlicher@netbeans.org
Log: #255369: Prevent from NPE.