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 256231 - IllegalArgumentException: No parser for mime type: text/x-java
Summary: IllegalArgumentException: No parser for mime type: text/x-java
Status: NEW
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: issues@javaee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-28 16:01 UTC by Exceptions Reporter
Modified: 2015-11-24 07:24 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 204516


Attachments
stacktrace (1.49 KB, text/plain)
2015-10-28 16:01 UTC, Exceptions Reporter
Details
stacktrace (1.49 KB, text/plain)
2015-11-24 07:24 UTC, anasassi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2015-10-28 16:01:09 UTC
This bug was originally marked as duplicate of bug 232703, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27
OS: Linux

User Comments:
GUEST: Not sure

GUEST: Opened a New Java Web Project
Meanwhile, I imported my Formatter Settings exported from Version 7.2

GUEST: Unable to open the files with .java extension

GUEST: Not sure




Stacktrace: 
java.lang.IllegalArgumentException: No parser for mime type: text/x-java
   at org.netbeans.modules.parsing.api.ParserManager.findParser(ParserManager.java:402)
   at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:335)
   at org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:422)
   at org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:414)
   at org.netbeans.modules.j2ee.metadata.model.api.support.annotation.AnnotationModelHelper.runJavaSourceTask(AnnotationModelHelper.java:181)
   at org.netbeans.modules.j2ee.metadata.model.api.support.annotation.AnnotationModelHelper.runJavaSourceTask(AnnotationModelHelper.java:149)
Comment 1 Exceptions Reporter 2015-10-28 16:01:11 UTC
Created attachment 157025 [details]
stacktrace
Comment 2 anasassi 2015-11-24 07:24:07 UTC
Created attachment 157466 [details]
stacktrace

<Please provide a description of the problem or the steps to reproduce>