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 201109202329) VM: Java HotSpot(TM) Client VM, 21.0-b17, Java(TM) SE Runtime Environment, 1.7.0-b147 OS: Windows XP User Comments: GUEST: Uncomments "To include a shell:" in pom.xml in maven osgi project. GUEST: Ctrl+SPACE Stacktrace: java.lang.NullPointerException at org.netbeans.lib.editor.util.swing.DocumentUtilities.getMimeType(DocumentUtilities.java:867) at org.netbeans.editor.EditorUI.getDefaultColoring(EditorUI.java:677) at org.netbeans.modules.editor.completion.HTMLDocView.setBodyFontInCSS(HTMLDocView.java:186) at org.netbeans.modules.editor.completion.HTMLDocView.createDefaultEditorKit(HTMLDocView.java:178) at javax.swing.JEditorPane.getEditorKit(JEditorPane.java:916) at javax.swing.plaf.basic.BasicEditorPaneUI.getEditorKit(BasicEditorPaneUI.java:113)
Created attachment 111000 [details] stacktrace
Created attachment 111005 [details] stacktrace writting "extends TestCase" behind junit test class definition
Created attachment 111017 [details] stacktrace open source completion (Ctrl+Space) in an java file with some errors (red underlines), completion window pops up and crash (close) with tis error
Created attachment 111028 [details] stacktrace
http://hg.netbeans.org/jet-main/rev/010412ebe4b2
verified in trunk, please integrate to 7.1 beta
It's already in releases71_beta: http://hg.netbeans.org/releases/rev/bcb933cc0012
verified in beta
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/010412ebe4b2 User: Milutin Kristofic <mkristofic@netbeans.org> Log: #202466 - NullPointerException at org.netbeans.lib.editor.util.swing.DocumentUtilities.getMimeType