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 269955 - IllegalArgumentException: No parser for mime type: text/html
Summary: IllegalArgumentException: No parser for mime type: text/html
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Options (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-01 12:51 UTC by julienrondeau
Modified: 2017-03-01 13:15 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 223912


Attachments
stacktrace (1.11 KB, text/plain)
2017-03-01 12:51 UTC, julienrondeau
Details

Note You need to log in before you can comment on or make changes to this bug.
Description julienrondeau 2017-03-01 12:51:43 UTC
Build: NetBeans IDE 8.2 (Build 201609300101)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.101-b13, Java(TM) SE Runtime Environment, 1.8.0_101-b13
OS: Mac OS X

User Comments:
GUEST: .

GUEST: please find error below

GUEST: .

julienrondeau: I set up a new php project. and I was setting up the workflow with gulp. I get this error. I try to reinstall netbean8.2 but still get the error and cannot open a projet, or if it succeed, cannot open a file

GUEST: Ran into this just opening a maven project

GUEST: Can't open any html files anymore. When I clear all caches, the problem disappears for a few months, then comes back.

GUEST: Just repoened NB, none of my Java projects will show files in the project explorer.  All say Please Wait...

GUEST: Not sure what initiated this problem, but somehow the text/html editor has vanished. This happened before, deleting my settings folder fixed it then, but also meant I had to redo my settings. Reinstalling and upgrading from 8.0 to 8.1 (with settings import) did not help.




Stacktrace: 
java.lang.IllegalArgumentException: No parser for mime type: text/html
   at org.netbeans.modules.parsing.nb.DataObjectEnvFactory.findMimeParser(DataObjectEnvFactory.java:101)
   at org.netbeans.modules.parsing.api.ParserManager.findParser(ParserManager.java:391)
   at org.netbeans.modules.parsing.api.ParserManager.parseWhenScanFinished(ParserManager.java:356)
   at org.netbeans.modules.web.clientproject.remotefiles.RemoteFiles.update(RemoteFiles.java:100)
   at org.netbeans.modules.web.clientproject.remotefiles.RemoteFiles.getRemoteFiles(RemoteFiles.java:135)
   at org.netbeans.modules.web.clientproject.remotefiles.RemoteFilesNodeFactoryImpl$RemoteFilesNodeListImpl.keys(RemoteFilesNodeFactoryImpl.java:87)
Comment 1 julienrondeau 2017-03-01 12:51:45 UTC
Created attachment 163735 [details]
stacktrace
Comment 2 julienrondeau 2017-03-01 12:54:14 UTC
impossible to work then... what can I do? help please!