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/x-java | ||
---|---|---|---|
Product: | editor | Reporter: | stefan79 <stefan79> |
Component: | Settings | Assignee: | Milutin Kristofic <mkristofic> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | Abigail_1, aldobrucale, Amaralgarcia, anebuzelsky, aqcliezelanne, arvindd, asenk, Benhadad, Caidao, chimogbonna, cyhelsky, deepalidt, DLK007, ehorangeafricain, exceptions_reporter, FernandoMejia, host, jeane, jisha, jntn, julianr26, Julie1, julio__hh, J_C, Karina_Tercero, keidson, kenkish, kripton, Lazyme23, lissettecaro, LIUENG, manojkk1999, mjanicek, musilt2, myprojectwork1228, Pete3258, pjiricka, ranch_hand6, rgarske, rider453, santigr17, satory, sdedic, sunbiz, ttokoly, tzezula, vagner13, vriha, williambacchi, Yonathan12Bravo, Yoselin23, zahidhussain |
Priority: | P1 | Keywords: | 8.0.1_WAIVER_APPROVED, ERGONOMICS |
Version: | 7.2 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 148306 |
Attachments: |
stacktrace
stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace patch1 |
Description
stefan79
2012-03-28 06:29:49 UTC
Created attachment 117370 [details]
stacktrace
Created attachment 117381 [details]
stacktrace
starting netbeans, importing from previous version (the exception appeared two more times while I was writing this)
This bug already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=148306 The JavaParserFactory is registered by java.source module. The java.j2seproject depends on it and it's enabled as seen from stack trace (JavaSource.runUserActionTask) but the JavaParserFactory is not found in the mime lookup. Probably all resources cache is broken. Created attachment 117450 [details]
stacktrace
nb start
Created attachment 117460 [details] stacktrace 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 Created attachment 117563 [details]
stacktrace
Created attachment 117600 [details]
stacktrace
Opening JavaSE project
Created attachment 117627 [details]
stacktrace
Created attachment 117713 [details]
stacktrace
starting nb
Created attachment 117736 [details]
stacktrace
Only open a project (project default from refactoring test specification) from clean start of IDE and this error shows up.
This bug already has 20 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=148306 Created attachment 118157 [details]
stacktrace
opening a project with reference problems
Created attachment 118240 [details]
stacktrace
1.Start IDE full distro - fresh install, clean user dir
2.Create J2SE project
*** Bug 210744 has been marked as a duplicate of this bug. *** *** Bug 208690 has been marked as a duplicate of this bug. *** Created attachment 118417 [details]
stacktrace
for some reason, ergonomics tried to activate javaME during opening java file in j2se project. Do not know why.
I will try to have a look. Created attachment 118576 [details]
patch1
Tomasi, can you please review the patch? I know you didn't want to fix it like this but I was not able to come up with anything better. Mime lookup can be slow to update and you are asking too soon ... This bug already has 50 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=148306 As per Tomas: the fix should be refined and mime lookup should return a future when it is rebuilding itself (instead of blindly waiting in parsing API). Yes. Thanks Davide. The fix is different from the original patch. I am trying to make the mime lookup rebuild synchronous: http://hg.netbeans.org/jet-main/rev/37ecf414494a Let's see whether the problems will be gone after this, I plan still to integrate a test .... *** Bug 216591 has been marked as a duplicate of this bug. *** *** Bug 246236 has been marked as a duplicate of this bug. *** The bug seems to be there again - in version 8.0. See the issue 246236. Is there anything different that should be done when calling JavaSource.runUserActionTask ? Well, the report from issue 246236 is from Aug 2013, i.e. quite old. And could this be a duplicate of bug 246233? *** Bug 246233 has been marked as a duplicate of this bug. *** *** Bug 250151 has been marked as a duplicate of this bug. *** Reporters: did the error happen "shortly" after IDE start ? Do you have ergonomics enabled ? *** Bug 240326 has been marked as a duplicate of this bug. *** I get this as soon as I try to open a project that someone else created This bug already has 400 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=148306 *** Bug 252942 has been marked as a duplicate of this bug. *** *** Bug 247046 has been marked as a duplicate of this bug. *** *** Bug 246238 has been marked as a duplicate of this bug. *** Closing this bug, since there is no report from dev build. It will be reopen once we get report from something newer than 8.0.2 (141118) build. It is probably fixed in dev build. |