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 221109 - IllegalArgumentException: No parser for mime type: text/x-java
Summary: IllegalArgumentException: No parser for mime type: text/x-java
Status: RESOLVED DUPLICATE of bug 218388
Alias: None
Product: editor
Classification: Unclassified
Component: Settings (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-30 15:38 UTC by Exceptions Reporter
Modified: 2012-11-07 12:48 UTC (History)
13 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 194277


Attachments
stacktrace (1.23 KB, text/plain)
2012-10-30 15:38 UTC, Exceptions Reporter
Details
stacktrace (1.23 KB, text/plain)
2012-11-05 04:47 UTC, williambacchi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2012-10-30 15:38:50 UTC
This bug was originally marked as duplicate of bug 210236, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.3 Beta (Build 201210011125)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.5-b02, Java(TM) SE Runtime Environment, 1.7.0_09-b05
OS: Mac OS X

User Comments:
GUEST: Create new JavaSE project and i got this error.

musilt2: for some reason, ergonomics tried to activate javaME during opening java file in j2se project. Do not know why.

asenk: 1.Start IDE full distro - fresh install, clean user dir
2.Create J2SE project

aldobrucale: starting netbeans

GUEST: Opening netbeans

aldobrucale: nb start

aldobrucale: starting netbeans, importing from previous version (the exception appeared two more times while I was writing this)

aldobrucale: starting nb

ttokoly: Only open a project (project default from refactoring test specification) from clean start of IDE and this error shows up.

GUEST: Opening Java project

GUEST: Opening a project for the first time

GUEST: Starting netbeans

GUEST: Downloaded Netbeans 7.2 nightly build 201204040400 and started it.

GUEST: I was trying to activate java standard, afterwards create a project in neatbeans 7.2

williambacchi: opening a project with reference problems

aldobrucale: starting nb

sunbiz: Opening JavaSE project

rider453: I was creating a project afterwards neatbeans 7.2 installation(it was the first project)

GUEST: just installed new version. upgrade from 7.1.1

ttokoly: Just opened a project from clean start.
Project default from refactoring test specification: http://wiki.netbeans.org/wiki/images/2/2d/Default_TS_60_Refactoring.zip

aldobrucale: Starting netbeans

aldobrucale: starting netbeans

aldobrucale: starting nb importing from previous version

ranch_hand6: Opening Netbeans dev version for the first time.  It appears to have been importing settings from a previous version (7.1).

vriha: created a new java file. The file looks like plain text in IDE, no colors or code folding

aldobrucale: starting nb

stefan79: Started NetBeans after new Installation

rgarske: starting Netbeans for the first time and importing settings from another IDE (Netbeans 7.1).

tvollstaedt: Created a new Java Project from existing sources




Stacktrace: 
java.lang.IllegalArgumentException: No parser for mime type: text/x-java
   at org.netbeans.modules.parsing.api.ParserManager.findParser(ParserManager.java:397)
   at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:330)
   at org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:417)
   at org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:409)
   at org.netbeans.api.java.source.ScanUtils.postJavaTask(ScanUtils.java:359)
   at org.netbeans.api.java.source.ScanUtils.postUserActionTask(ScanUtils.java:121)
Comment 1 Exceptions Reporter 2012-10-30 15:38:54 UTC
Created attachment 126787 [details]
stacktrace
Comment 2 williambacchi 2012-11-05 04:47:12 UTC
Created attachment 127107 [details]
stacktrace

Starting new Java Project
Comment 3 Jan Lahoda 2012-11-07 12:48:20 UTC

*** This bug has been marked as a duplicate of bug 218388 ***