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.
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)
Created attachment 165184 [details] stacktrace