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 234716 - Suspicious warnings about HTML in the console
Summary: Suspicious warnings about HTML in the console
Status: NEW
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 7.4
Hardware: PC Mac OS X
: P4 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-21 11:46 UTC by Petr Jiricka
Modified: 2014-10-06 13:25 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Jiricka 2013-08-21 11:46:54 UTC
Product Version: NetBeans IDE Dev (Build web-main-11412-on-20130821)
Java: 1.7.0_25; Java HotSpot(TM) 64-Bit Server VM 23.25-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b15
System: Mac OS X version 10.7.5 running on x86_64; UTF-8; en_US (nb)

I did not notice any incorrect behavior, but there are the following suspicious warnings/exceptions in the console:

WARNING [org.netbeans.modules.editor.impl.KitsTrackerImpl]: Ambiguous mime types for editor kit implementation class: class org.netbeans.modules.html.editor.api.HtmlKit; mime types: [text/xhtml, text/html]
INFO: There isn't any DocumentModelProvider registered for text/html mimetype!
java.lang.IllegalStateException: There isn't any DocumentModelProvider registered for text/html mimetype!
	at org.netbeans.modules.editor.structure.DocumentModelProviderFactory.getDocumentModelProvider(DocumentModelProviderFactory.java:98)
	at org.netbeans.modules.editor.structure.api.DocumentModel.getDocumentModel(DocumentModel.java:238)
	at org.netbeans.modules.xml.text.navigator.NavigatorContent$1.run(NavigatorContent.java:188)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1432)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2042)
WARNING [org.netbeans.modules.parsing.impl.TaskProcessor]: ParserManager.parse called in AWT event thread by: org.netbeans.modules.html.editor.gsf.HtmlStructureItem.runTask(HtmlStructureItem.java:164)
INFO: There isn't any DocumentModelProvider registered for text/html mimetype!
java.lang.IllegalStateException: There isn't any DocumentModelProvider registered for text/html mimetype!
	at org.netbeans.modules.editor.structure.DocumentModelProviderFactory.getDocumentModelProvider(DocumentModelProviderFactory.java:98)
	at org.netbeans.modules.editor.structure.api.DocumentModel.getDocumentModel(DocumentModel.java:238)
	at org.netbeans.modules.xml.text.navigator.NavigatorContent$1.run(NavigatorContent.java:188)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1432)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2042)


Feel free to downgrade to P4 or close if this is harmless.
Comment 1 Marek Fukala 2013-08-22 09:30:59 UTC
WARNING [org.netbeans.modules.editor.impl.KitsTrackerImpl]: Ambiguous mime types for editor kit implementation class: class org.netbeans.modules.html.editor.api.HtmlKit; mime types: [text/xhtml, text/html]

is OK IMHO ... adding Mila to cc so he can confirm.

WARNING [org.netbeans.modules.parsing.impl.TaskProcessor]: ParserManager.parse called in AWT event thread by: org.netbeans.modules.html.editor.gsf.HtmlStructureItem.runTask(HtmlStructureItem.java:164)

is "OK" -- resp. this was formerly agreed with CSL.API

INFO: There isn't any DocumentModelProvider registered for text/html mimetype!
java.lang.IllegalStateException: There isn't any DocumentModelProvider registered for text/html mimetype!

should be harmless - seems like someone registered the o.n.m.xml.text.navigator' navigator impl to text/html???