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.
Summary: | IllegalArgumentException: No parser for mime type: text/html (was: Opening project from 7.3 is not possible) | ||
---|---|---|---|
Product: | web | Reporter: | burza |
Component: | HTML Project | Assignee: | Svata Dedic <sdedic> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | caiocs, dkonecny, ESBertrand, mmirilovic, obrejla, pjiricka, sdedic, tmysik |
Priority: | P2 | Keywords: | 8.0_WAIVER_APPROVED |
Version: | 7.4 | ||
Hardware: | PC | ||
OS: | Windows 8 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
IDE log
Screen afetr unfolding project. |
Description
burza
2013-09-30 06:08:07 UTC
Created attachment 140630 [details]
IDE log
Created attachment 140631 [details]
Screen afetr unfolding project.
marian, was it a wild guess or was there any hint this was connected to subversion in any way???
> SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor org.netbeans.spi.project.ui.support.NodeFactorySupport$DelegateChildren$1
> java.lang.IllegalArgumentException: No parser for mime type: text/html
> at org.netbeans.modules.parsing.api.ParserManager.findParser(ParserManager.java:402)
> at org.netbeans.modules.parsing.api.ParserManager.parseWhenScanFinished(ParserManager.java:358)
> at org.netbeans.modules.web.clientproject.remotefiles.RemoteFiles.update(RemoteFiles.java:100)
suggests the problem is in org.netbeans.modules.web.clientproject.remotefiles.RemoteFiles
I have deactivated most of the default plugins including subversion and it did not help. Hi, I tried to reproduce it but no luck. What I did: - create project in 7.3.1 - start 7.4 RC2, import settings from 7.3.1 => project is opened OK Then I tried to just open project in 7.4 RC2 without importing settings and it also went OK. Did you imported settings from 7.3.1? Could you try to change or delete your user and cache dir? To change it: - close IDE - open C:\Program Files (x86)\NetBeans 7.4 RC1\etc\netbeans.conf in text editor and change paths in netbeans_default_userdir="${DEFAULT_USERDIR_ROOT}/7.4rc1" netbeans_default_cachedir="${DEFAULT_CACHEDIR_ROOT}/7.4rc1" to e.g. netbeans_default_userdir="${DEFAULT_USERDIR_ROOT}/7.4rc11" netbeans_default_cachedir="${DEFAULT_CACHEDIR_ROOT}/7.4rc11" - start 7.4 RC1 and try to open the project To delete it: - close IDE - remove folders C:\Users\Mariusz\AppData\Roaming\NetBeans\7.4rc1 C:\Users\Mariusz\AppData\Local\NetBeans\Cache\7.4rc1 - start 7.4 RC1 and try to open the project Thank you Tested on Windows 8, NB 7.4 RC2 As you wrote I changed the paths. Next I opened NetBeans 7.4 rc 1. It asked me for importing settings from 7.3.1. I did not agree to it. I opened the same project and everything were ok at this moment. I think that old settings could be the problem. Marek, do you have any idea why parser coudl be missing? Could this be similar to issue 232703? Or which settings could stop parser from getting initialized? *** Bug 237582 has been marked as a duplicate of this bug. *** Not sure if it's the same issue as issue #232703. HTML parser is not registered directly in layer, it's returned by GsfLanguage.getParser() where HtmlLanguage is registered by annotation csl.spi.@LanguageRegistration. Maybe it's CSL related? Svato, what do you think? Guys on CC, I don't really have no idea how I could fix this issue (I know nothing about the editor) - could anyone of you please take this issue over? Thanks in advance. After discussion with Ondra, reassigning to Sváťa - could you please have a look at it? Thanks a lot! This bug already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=203922 18 duplicates now. Folks, I cannot reproduce the defect either, trying to migrate from 7.3.1 directly to 8.0. Please provide me with exact steps how to reproduce the defect. Some screwed up or wrongly migrated configuration must be involved.... |