java.lang.NullPointerException at sun.font.GlyphLayout.layout(GlyphLayout.java:473) at sun.font.ExtendedTextSourceLabel.createGV(ExtendedTextSourceLabel.java:324) at sun.font.ExtendedTextSourceLabel.getGV(ExtendedTextSourceLabel.java:310) at sun.font.ExtendedTextSourceLabel.createLogicalBounds(ExtendedTextSourceLabel.java:224) at sun.font.ExtendedTextSourceLabel.getAdvance(ExtendedTextSourceLabel.java:133) at java.awt.font.TextLine.init(TextLine.java:282) at java.awt.font.TextLine.(TextLine.java:128) at java.awt.font.TextLine.fastCreateTextLine(TextLine.java:970) at java.awt.font.TextLayout.fastInit(TextLayout.java:603) at java.awt.font.TextLayout.(TextLayout.java:392) at org.netbeans.modules.editor.lib2.view.HighlightsView.createTextLayout(HighlightsView.java:190) at org.netbeans.modules.editor.lib2.view.HighlightsView.createTextLayout(HighlightsView.java:167) at org.netbeans.modules.editor.lib2.view.TextLayoutCache.get(TextLayoutCache.java:120) at org.netbeans.modules.editor.lib2.view.ParagraphView.getTextLayout(ParagraphView.java:146) at org.netbeans.modules.editor.lib2.view.HighlightsView.getTextLayout(HighlightsView.java:205) at org.netbeans.modules.editor.lib2.view.HighlightsView.getPreferredSpan(HighlightsView.java:102) at org.netbeans.modules.editor.lib2.view.EditorBoxViewChildren.replace(EditorBoxViewChildren.java:177) at org.netbeans.modules.editor.lib2.view.EditorBoxView.replace(EditorBoxView.java:283) at org.netbeans.modules.editor.lib2.view.ViewReplace.replaceViews(ViewReplace.java:132) at org.netbeans.modules.editor.lib2.view.ViewBuilder.repaintAndReplaceViews(ViewBuilder.java:539) at org.netbeans.modules.editor.lib2.view.ViewUpdates.buildViews(ViewUpdates.java:138) at org.netbeans.modules.editor.lib2.view.ViewUpdates.initChildren(ViewUpdates.java:171) at org.netbeans.modules.editor.lib2.view.DocumentView.initChildren(DocumentView.java:503) at org.netbeans.modules.editor.lib2.view.EditorBoxViewChildren.getWithChildrenValid(EditorBoxViewChildren.java:297) at org.netbeans.modules.editor.lib2.view.EditorBoxViewChildren.modelToViewChecked(EditorBoxViewChildren.java:705) at org.netbeans.modules.editor.lib2.view.EditorBoxView.modelToViewChecked(EditorBoxView.java:423) at org.netbeans.modules.editor.lib2.view.DocumentView.modelToViewChecked(DocumentView.java:878) at org.netbeans.modules.editor.lib2.view.EditorView.modelToView(EditorView.java:264) at javax.swing.plaf.basic.BasicTextUI$RootView.modelToView(BasicTextUI.java:1514) at javax.swing.plaf.basic.BasicTextUI.modelToView(BasicTextUI.java:1052) at javax.swing.plaf.basic.BasicTextUI.modelToView(BasicTextUI.java:1027) at org.netbeans.editor.GlyphGutter.changedLine(GlyphGutter.java:592) at org.netbeans.editor.Annotations.fireChangedLine(Annotations.java:652) at org.netbeans.editor.Annotations.refreshLine(Annotations.java:572) at org.netbeans.editor.Annotations.addAnnotation(Annotations.java:302) at org.netbeans.modules.editor.NbEditorDocument.addAnnotation(NbEditorDocument.java:251) at org.openide.text.NbDocument$2.run(NbDocument.java:508) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226) at java.awt.EventQueue.dispatchEvent(EventQueue.java:602) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:138) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177) at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)