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 208690 - IllegalArgumentException: No parser for mime type: text/x-java
Summary: IllegalArgumentException: No parser for mime type: text/x-java
Status: RESOLVED DUPLICATE of bug 210236
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-21 09:56 UTC by Petr Cyhelsky
Modified: 2012-04-25 18:53 UTC (History)
9 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 185246


Attachments
stacktrace (1.89 KB, text/plain)
2012-02-21 09:56 UTC, Petr Cyhelsky
Details
stacktrace (1.93 KB, text/plain)
2012-03-30 15:44 UTC, host
Details
stacktrace (1.89 KB, text/plain)
2012-04-05 06:44 UTC, williambacchi
Details
stacktrace (1.89 KB, text/plain)
2012-04-08 13:14 UTC, elizeu_santos
Details
stacktrace (1.36 KB, text/plain)
2012-04-08 16:14 UTC, sunbiz
Details
stacktrace (1.36 KB, text/plain)
2012-04-16 17:11 UTC, mago_ebon
Details
stacktrace (5.34 KB, text/plain)
2012-04-19 21:23 UTC, mago_ebon
Details
stacktrace (1.36 KB, text/plain)
2012-04-25 18:53 UTC, vince_soleil
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Cyhelsky 2012-02-21 09:56:31 UTC
This bug was originally marked as duplicate of bug 161232, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201202200400)
VM: Java HotSpot(TM) Client VM, 22.1-b02, Java(TM) SE Runtime Environment, 1.7.0_03-b04
OS: Linux

User Comments:
cyhelsky: opening a web project




Stacktrace: 
java.lang.IllegalArgumentException: No parser for mime type: text/x-java
   at org.netbeans.modules.parsing.api.ParserManager.findParser(ParserManager.java:392)
   at org.netbeans.modules.parsing.api.ParserManager.parseWhenScanFinished(ParserManager.java:351)
   at org.netbeans.api.java.source.JavaSource.runWhenScanFinished(JavaSource.java:599)
   at org.netbeans.modules.j2ee.metadata.model.api.support.annotation.AnnotationModelHelper.runJavaSourceTaskWhenScanFinished(AnnotationModelHelper.java:218)
   at org.netbeans.modules.j2ee.dd.impl.webservices.annotation.WebservicesMetadataModelImpl.runReadActionWhenReady(WebservicesMetadataModelImpl.java:105)
   at org.netbeans.modules.j2ee.metadata.model.api.MetadataModel.runReadActionWhenReady(MetadataModel.java:185)
Comment 1 Petr Cyhelsky 2012-02-21 09:56:35 UTC
Created attachment 115979 [details]
stacktrace
Comment 2 host 2012-03-30 15:44:21 UTC
Created attachment 117564 [details]
stacktrace
Comment 3 williambacchi 2012-04-05 06:44:23 UTC
Created attachment 117858 [details]
stacktrace

Opening a project the first time
Comment 4 Exceptions Reporter 2012-04-05 06:44:44 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=185246
Comment 5 elizeu_santos 2012-04-08 13:14:21 UTC
Created attachment 117990 [details]
stacktrace

Language = portuguese

Estava abrindo um projeto web do netbeans 7.1, com JSF.
Comment 6 sunbiz 2012-04-08 16:14:22 UTC
Created attachment 117994 [details]
stacktrace
Comment 7 Petr Jiricka 2012-04-12 20:32:51 UTC
Looks similar to bug 210744.
Comment 8 Denis Anisimov 2012-04-13 06:13:29 UTC
I think issue #210744 is the same and both they are Java Source issues.
Custom model delegates call to JavaSource.runWhenScanFinished and the latter 
method throws this exception.
Comment 9 Jan Lahoda 2012-04-15 17:08:38 UTC

*** This bug has been marked as a duplicate of bug 210236 ***
Comment 10 mago_ebon 2012-04-16 17:11:26 UTC
Created attachment 118357 [details]
stacktrace

I was opening a maven project that works fine on Netbeans 7.1. This is a fresh install of Netbeans Dev 201204150400
Comment 11 mago_ebon 2012-04-19 21:23:25 UTC
Created attachment 118540 [details]
stacktrace

I was opening a Maven project (not made in Netbeans) on a fresh install of Netbeans
Comment 12 vince_soleil 2012-04-25 18:53:26 UTC
Created attachment 118764 [details]
stacktrace

Only open a old groovy/maven project