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 104448

Summary: "Language definition for text/x-java not found"
Product: obsolete Reporter: Jesse Glick <jglick>
Component: languagesAssignee: issues@obsolete <issues>
Status: RESOLVED FIXED    
Severity: blocker CC: mmirilovic
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Stack trace

Description Jesse Glick 2007-05-21 22:56:56 UTC
Thrown repeatedly in 070521 when editing Java source files (not trying to use
Schliemann at all).
Comment 1 Jesse Glick 2007-05-21 22:57:25 UTC
Created attachment 42618 [details]
Stack trace
Comment 2 Jesse Glick 2007-05-21 22:57:45 UTC
Thrown when using code completion, BTW.
Comment 3 Jesse Glick 2007-05-22 19:48:01 UTC
Still thrown over and over in 070522 while I am trying to edit Java sources.
Quite annoying.
Comment 4 Jesse Glick 2007-05-22 20:14:38 UTC
Do not see it in a fresh userdir, but happening a lot in my normal userdir. Not
sure what the difference is. Besides the modules in the standard build, I have
.languages.properties and .languages.studio installed from AU.

In ParserManagerImpl, the constructor seems to suppress the parsing for
unsupported MIME types. On the other hand, the code in getLanguage which returns
a Language even for an unsupported MIME type looks suspicious.
Comment 5 Marian Mirilovic 2007-05-23 08:35:09 UTC
I am seeing it every second when switching to another editor, or output ... I
also reused previously created userdir.
Comment 6 Jan Jancura 2007-05-23 10:54:36 UTC
You should delete userdir\config\Editors\* and
userdir\config\Navigator\Panels\*. There was some bug in past that created some
registrations for Schliemann there. It should help. Feel free to reopen this
issue otherwise.