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: | JsLanguage and JsonLanguage classes are loaded on NetBeans startup with LimeWire project | ||
---|---|---|---|
Product: | editor | Reporter: | Alexander Kouznetsov <mrkam> |
Component: | CSL (API & infrastructure) | Assignee: | Vitezslav Stejskal <vstejskal> |
Status: | RESOLVED DUPLICATE | ||
Severity: | blocker | CC: | issues, jtulach, mfukala, pjiricka, saubrecht |
Priority: | P3 | Keywords: | PERFORMANCE, SIMPLEFIX, TEST |
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
URL: | http://wiki.netbeans.org/FitnessViaWhiteAndBlackList | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
Stacktrace
Stacktraces |
Description
Alexander Kouznetsov
2008-10-06 19:07:39 UTC
This is something that may require help from Standa. Sounds like this should be against JavaScript, shouldn't it? Please also eliminate loading of the following class: org.netbeans.modules.css.gsf.CSSLanguage According to the following jtulach's comment the class is loaded due to the same reason: "This class is loaded by tasklist, and we have some bug related to this problem in general already." Created attachment 72941 [details]
Stacktrace
Created attachment 72942 [details]
Stacktraces
All CSL based languages suffers with this problem. To be able to properly initialize the super class the GsfHintsProvider needs to gather displaynames of all registered languages. The achieve this we need to create the language instance. Solution can be: 1) store the displayname as a file attribute in layer and read it from there instead of the language instance 2) do try to gather the list of the languages names at all and just pass some generic displayName and description in the PushTaskScanner constructor. #2 is super simple and acceptable I think. Keeping the decision on CSL owner where this issue belongs. type correction: GsfHintsProvider ---> GsfTaskProvider solution #2 sounds good to me *** This issue has been marked as a duplicate of 161179 *** |