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 202913 - [71cat] IllegalArgumentException: No EditorKit for 'content/unknown' mimetype.
Summary: [71cat] IllegalArgumentException: No EditorKit for 'content/unknown' mimetype.
Status: RESOLVED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
: 204466 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-10-01 06:05 UTC by sunbiz
Modified: 2011-10-31 17:30 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 169641


Attachments
stacktrace (3.53 KB, text/plain)
2011-10-01 06:06 UTC, sunbiz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sunbiz 2011-10-01 06:05:58 UTC
Build: NetBeans IDE 7.1 Beta (Build 201109222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.2-b06, Java(TM) SE Runtime Environment, 1.6.0_27-b07
OS: Windows 7

User Comments:
sunbiz: Clicked on new watch from the Debug menu and got this exception

GUEST: tried creating a new debug Watch

GUEST: just run the xdebug with a drupal site. when the minus sign occurs, i click on that sign and get the message.

GUEST: scanning projects, it does not show download/upload options for file updates handling

GUEST: I uesed the Sample Debugging Session for PHP and changed 
( as specified - Update the code as follows( replace a plus with  a minus))
after change:

	function calculate_sum ($argument1, $argument2) {
 			return $argument1 - $argument2;
     	}

	
by the way,:your register here is not working!




Stacktrace: 
java.lang.IllegalArgumentException: No EditorKit for 'content/unknown' mimetype.
   at org.netbeans.editor.Utilities.createSingleLineEditor(Utilities.java:1517)
   at org.netbeans.modules.debugger.ui.WatchPanel.getPanel(WatchPanel.java:99)
   at org.netbeans.modules.debugger.ui.actions.AddWatchAction.performAction(AddWatchAction.java:139)
   at org.openide.util.actions.CallableSystemAction$1.run(CallableSystemAction.java:129)
   at org.openide.util.actions.ActionInvoker$1.run(ActionInvoker.java:95)
   at org.openide.util.actions.ActionInvoker.doPerformAction(ActionInvoker.java:116)
Comment 1 sunbiz 2011-10-01 06:06:02 UTC
Created attachment 111386 [details]
stacktrace
Comment 2 Martin Entlicher 2011-10-10 18:14:30 UTC
Fixed by changeset:   203945:79329d27b445
http://hg.netbeans.org/main/rev/79329d27b445
Comment 3 Quality Engineering 2011-10-11 14:13:22 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/79329d27b445
User: mentlicher@netbeans.org
Log: #202913 Use the ordinary plain text MIME type when the current files does not happen to be a text file.
Comment 4 Martin Entlicher 2011-10-31 17:30:52 UTC
*** Bug 204466 has been marked as a duplicate of this bug. ***