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 271533 - NullPointerException at org.netbeans.editor.MarkBlock.getEndOffset
Summary: NullPointerException at org.netbeans.editor.MarkBlock.getEndOffset
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: Dev
Hardware: All All
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-26 19:05 UTC by m1k0
Modified: 2017-09-26 19:05 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 230411


Attachments
stacktrace (5.76 KB, text/plain)
2017-09-26 19:05 UTC, m1k0
Details

Note You need to log in before you can comment on or make changes to this bug.
Description m1k0 2017-09-26 19:05:54 UTC
Build: NetBeans IDE Dev (Build 201709240002)
VM: Java HotSpot(TM) 64-Bit Server VM, 9+181, Java(TM) SE Runtime Environment, 9+181
OS: Linux

User Comments:
m1k0: paste 'Set.of(1,22).getClass()' into Java Shell window




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.editor.MarkBlock.getEndOffset(MarkBlock.java:552)
   at org.netbeans.modules.editor.impl.highlighting.GuardedBlocksHighlighting$HSImpl.getEndOffset(GuardedBlocksHighlighting.java:258)
   at org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$Wrapper.fetchNextHighlight(DirectMergeContainer.java:633)
   at org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$Wrapper.init(DirectMergeContainer.java:532)
   at org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer$HlSequence.<init>(DirectMergeContainer.java:234)
   at org.netbeans.modules.editor.lib2.highlighting.DirectMergeContainer.getHighlights(DirectMergeContainer.java:119)
Comment 1 m1k0 2017-09-26 19:05:57 UTC
Created attachment 165184 [details]
stacktrace