java.lang.NullPointerException at org.netbeans.modules.editor.lib2.highlighting.TextSearchHighlighting.getMimeType(TextSearchHighlighting.java:133) at org.netbeans.modules.editor.lib2.highlighting.TextSearchHighlighting.getAttribs(TextSearchHighlighting.java:126) at org.netbeans.modules.editor.lib2.highlighting.TextSearchHighlighting.access$300(TextSearchHighlighting.java:47) at org.netbeans.modules.editor.lib2.highlighting.TextSearchHighlighting$1.run(TextSearchHighlighting.java:105) at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1202) at org.netbeans.modules.editor.lib2.highlighting.TextSearchHighlighting.fillInTheBag(TextSearchHighlighting.java:90) at org.netbeans.modules.editor.lib2.highlighting.TextSearchHighlighting.propertyChange(TextSearchHighlighting.java:85) at org.openide.util.WeakListenerImpl$PropertyChange.propertyChange(WeakListenerImpl.java:161) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276) at org.netbeans.modules.editor.lib2.search.EditorFindSupport.firePropertyChange(EditorFindSupport.java:912) at org.netbeans.modules.editor.lib2.search.EditorFindSupport.putFindProperties(EditorFindSupport.java:248) at org.netbeans.editor.ActionFactory$FindSelectionAction.actionPerformed(ActionFactory.java:732) at org.netbeans.editor.BaseAction.actionPerformed(BaseAction.java:261) at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1636) at javax.swing.JComponent.processKeyBinding(JComponent.java:2844) at javax.swing.JComponent.processKeyBindings(JComponent.java:2879) at javax.swing.JComponent.processKeyEvent(JComponent.java:2807) at java.awt.Component.processEvent(Component.java:5815) at java.awt.Container.processEvent(Container.java:2058) at java.awt.Component.dispatchEventImpl(Component.java:4410) at java.awt.Container.dispatchEventImpl(Container.java:2116) at java.awt.Component.dispatchEvent(Component.java:4240) at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1848) at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:693) at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:958) at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:830) at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:657) at java.awt.Component.dispatchEventImpl(Component.java:4282) at java.awt.Container.dispatchEventImpl(Container.java:2116) at java.awt.Window.dispatchEventImpl(Window.java:2429) at java.awt.Component.dispatchEvent(Component.java:4240) at java.awt.EventQueue.dispatchEvent(EventQueue.java:599) [catch] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160) at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)