java.lang.NullPointerException at sun.font.FontDesignMetrics$MetricsKey.init(FontDesignMetrics.java:217) at sun.font.FontDesignMetrics.getMetrics(FontDesignMetrics.java:286) at sun.swing.SwingUtilities2.getFontMetrics(SwingUtilities2.java:1012) at javax.swing.JComponent.getFontMetrics(JComponent.java:1624) at org.netbeans.editor.FontMetricsCache.getFontMetrics(FontMetricsCache.java:77) at org.netbeans.editor.EditorUI.computeLineNumberDigitWidth(EditorUI.java:1516) at org.netbeans.editor.EditorUI.updateComponentProperties(EditorUI.java:827) at org.netbeans.editor.EditorUI$Listener$1.run(EditorUI.java:1641) at org.netbeans.editor.Utilities.runInEventDispatchThread(Utilities.java:1045) at org.netbeans.editor.EditorUI$Listener.preferenceChange(EditorUI.java:1637) at org.netbeans.editor.EditorUI.modelChanged(EditorUI.java:563) at org.netbeans.editor.EditorUI.propertyChange(EditorUI.java:598) at java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:335) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:327) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:263) at java.awt.Component.firePropertyChange(Component.java:8381) at org.openide.text.QuietEditorPane.firePropertyChange(QuietEditorPane.java:209) at javax.swing.text.JTextComponent.setDocument(JTextComponent.java:453) at org.openide.text.QuietEditorPane.setDocument(QuietEditorPane.java:162) at org.openide.text.CloneableEditor$DoInitialize.initDocument(CloneableEditor.java:732) at org.openide.text.CloneableEditor$DoInitialize.initVisual(CloneableEditor.java:746) at org.openide.text.CloneableEditor$DoInitialize.run(CloneableEditor.java:386) at org.netbeans.core.windows.WindowManagerImpl$Exclusive$1.run(WindowManagerImpl.java:1485) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:705) at java.awt.EventQueue.access$000(EventQueue.java:101) at java.awt.EventQueue$3.run(EventQueue.java:666) at java.awt.EventQueue$3.run(EventQueue.java:664) at java.security.AccessController.doPrivileged(AccessController.java:0) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:675) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:153) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:211) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105) at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)