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.

Bug 199138 - IllegalArgumentException: No EditorKit for 'content/unknown' mimetype.
Summary: IllegalArgumentException: No EditorKit for 'content/unknown' mimetype.
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 7.0
Hardware: All All
: P2 normal (vote)
Assignee: Egor Ushakov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-03 11:18 UTC by soldatov
Modified: 2011-06-04 19:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 179155


Attachments
stacktrace (4.77 KB, text/plain)
2011-06-03 11:18 UTC, soldatov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description soldatov 2011-06-03 11:18:44 UTC
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)
Comment 1 soldatov 2011-06-03 11:18:49 UTC
Created attachment 108696 [details]
stacktrace
Comment 2 Egor Ushakov 2011-06-03 13:00:28 UTC
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
Comment 3 Egor Ushakov 2011-06-03 13:25:05 UTC
fixed in:
http://hg.netbeans.org/releases/rev/82e1069c1cd6
Comment 4 Quality Engineering 2011-06-04 19:14:56 UTC
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)