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 7.0.1 Dev (Build 201106020000) VM: Java HotSpot(TM) Client VM, 17.0-b16, Java(TM) SE Runtime Environment, 1.6.0_21-b06 OS: SunOS User Comments: soldatov: Scenario: - Create InputOutput project - Call New Breakpoint wizard Stacktrace: java.lang.IllegalArgumentException: No EditorKit for 'content/unknown' mimetype. at org.netbeans.editor.Utilities.createSingleLineEditor(Utilities.java:1660) at org.netbeans.modules.cnd.debugger.common2.debugger.breakpoints.BreakpointPanel$CommonPanel.<init>(BreakpointPanel.java:651) at org.netbeans.modules.cnd.debugger.common2.debugger.breakpoints.BreakpointPanel.<init>(BreakpointPanel.java:324) at org.netbeans.modules.cnd.debugger.common2.debugger.breakpoints.types.FunctionBreakpointPanel.<init>(FunctionBreakpointPanel.java:89) at org.netbeans.modules.cnd.debugger.common2.debugger.breakpoints.types.FunctionBreakpointPanel.<init>(FunctionBreakpointPanel.java:80) at org.netbeans.modules.cnd.debugger.common2.debugger.breakpoints.types.FunctionBreakpointType.getCustomizer(FunctionBreakpointType.java:74)
Created attachment 108696 [details] stacktrace
the problem occurs when the last opened file is deleted, this could be reproduced this way: - close all files in the editor - create a project - open a file from it - close the file - delete the project with the action from the context menu (with sources) - try to add a new breakpoint (main menu->debug->new breakpoint) get an exception
fixed in: http://hg.netbeans.org/releases/rev/82e1069c1cd6
Integrated into 'main-golden', will be available in build *201106041000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/905195ae42f1 User: Egor Ushakov <gorrus@netbeans.org> Log: fixed #199138 (IllegalArgumentException: No EditorKit for 'content/unknown' mimetype) (transplanted from 82e1069c1cd6f447963ed4ab94280812e3c55f40)