java.lang.NullPointerException at org.netbeans.modules.editor.lib2.view.DocumentViewOp.updateTextLimitLine(DocumentViewOp.java:816) at org.netbeans.modules.editor.lib2.view.DocumentViewOp.updateCharMetrics(DocumentViewOp.java:862) at org.netbeans.modules.editor.lib2.view.DocumentViewOp.access$100(DocumentViewOp.java:103) at org.netbeans.modules.editor.lib2.view.DocumentViewOp$3.run(DocumentViewOp.java:577) at org.netbeans.modules.editor.lib2.view.DocumentView.runTransaction(DocumentView.java:229) at org.netbeans.modules.editor.lib2.view.DocumentView$1.run(DocumentView.java:242) at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1347) at org.netbeans.modules.editor.lib2.view.DocumentView.runReadLockTransaction(DocumentView.java:239) at org.netbeans.modules.editor.lib2.view.DocumentViewOp.releaseChildren(DocumentViewOp.java:572) at org.netbeans.modules.editor.lib2.view.DocumentViewOp.propertyChange(DocumentViewOp.java:1176) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276) at java.awt.Component.firePropertyChange(Component.java:8154) at java.awt.Component.setFont(Component.java:1814) at java.awt.Container.setFont(Container.java:1554) at javax.swing.JComponent.setFont(JComponent.java:2723) at org.netbeans.modules.editor.search.SearchComboBoxEditor.changeToOneLineEditorPane(SearchComboBoxEditor.java:179) at org.netbeans.modules.editor.search.ReplaceBar.gainFocus(ReplaceBar.java:367) at org.netbeans.modules.editor.search.actions.ReplaceAction.actionPerformed(ReplaceAction.java:107) at org.netbeans.spi.editor.AbstractEditorAction.actionPerformed(AbstractEditorAction.java:186) at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1639) at javax.swing.JComponent.processKeyBinding(JComponent.java:2851) at javax.swing.JComponent.processKeyBindings(JComponent.java:2886) at javax.swing.JComponent.processKeyEvent(JComponent.java:2814) at java.awt.Component.processEvent(Component.java:6065) at java.awt.Container.processEvent(Container.java:2041) at java.awt.Component.dispatchEventImpl(Component.java:4651) at java.awt.Container.dispatchEventImpl(Container.java:2099) at java.awt.Component.dispatchEvent(Component.java:4481) at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1850) at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:712) at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:990) at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:855) at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:676) at java.awt.Component.dispatchEventImpl(Component.java:4523) at java.awt.Container.dispatchEventImpl(Container.java:2099) at java.awt.Window.dispatchEventImpl(Window.java:2478) at java.awt.Component.dispatchEvent(Component.java:4481) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:643) at java.awt.EventQueue.access$000(EventQueue.java:84) at java.awt.EventQueue$1.run(EventQueue.java:602) at java.awt.EventQueue$1.run(EventQueue.java:600) at java.security.AccessController.doPrivileged(AccessController.java:0) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98) at java.awt.EventQueue$2.run(EventQueue.java:616) at java.awt.EventQueue$2.run(EventQueue.java:614) at java.security.AccessController.doPrivileged(AccessController.java:0) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) at java.awt.EventQueue.dispatchEvent(EventQueue.java:613) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:158) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)