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: | ClassNotFoundException: Will not load class org.netbeans.modules.csl.spi.ParserResult arbitrarily from one of ModuleCL@33d2db0c[org.netbeans.modules.csl.api] and ModuleCL@5b16b277[org.netbeans.modules | ||
---|---|---|---|
Product: | editor | Reporter: | Exceptions Reporter <exceptions_reporter> |
Component: | CSL (API & infrastructure) | Assignee: | Milutin Kristofic <mkristofic> |
Status: | NEW --- | ||
Severity: | normal | CC: | issues, sdedic |
Priority: | P3 | ||
Version: | 8.2 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 224650 |
Attachments: | stacktrace |
Description
Exceptions Reporter
2016-06-18 19:54:38 UTC
Created attachment 160092 [details]
stacktrace
ParserResult class cannot be loaded because: WARNING [org.netbeans.ProxyClassLoader]: Will not load class org.netbeans.modules.csl.spi.ParserResult arbitrarily from one of ModuleCL@33d2db0c[org.netbeans.modules.csl.api] and ModuleCL@5b16b277[org.netbeans.modules.csl.types] starting from ModuleCL@3a791fba[org.netbeans.modules.cnd.script]; see http://wiki.netbeans.org/DevFaqModuleCCE Probably result of split csl module (https://hg.netbeans.org/cnd-main/rev/47f3838c54ef). Reassign to evaluation *** Bug 262644 has been marked as a duplicate of this bug. *** *** Bug 262683 has been marked as a duplicate of this bug. *** *** Bug 262719 has been marked as a duplicate of this bug. *** *** Bug 262748 has been marked as a duplicate of this bug. *** Exception also happens in java code. I can trigger the code this way: - open Netbeans java project => Exception - close Projets tab (from windows > projects) - re-enable Windows > projects => Exception 1st time I got this exception, it came from HTMLParser, so I decided to install HTML Project support plugin. 2nd time the exception was related to : org.netbeans.modules.css.lib.api.CssParserResult, so I decided to install HTML5 plugin to see what happens 3rd time the exception is related to ModuleCL, and I filed a separate bug (id #826177 for it) It may be related to old plugins carried over from previous installations, or it may just be a bunch of exceptions occuring one after the other. What is your netbeans version? This seems like netbeans has different versions of modules, I recommend clean reinstall of netbeans if you have problems. (In reply to Milutin Kristofic from comment #8) > What is your netbeans version? This seems like netbeans has different > versions of modules, I recommend clean reinstall of netbeans if you have > problems. All my exception were occurred on current trunk version. It seems the bug was introduced in the change set:47f3838c54ef IMHO two modules have the same public packages. See: module csl.types, public packages: org.netbeans.modules.csl.api org.netbeans.modules.csl.spi module csl.api, public packages: org.netbeans.modules.csl.api org.netbeans.modules.csl.spi There is no the issue evaluation. Upgrade to P2 as potential show stopper. I will look at this, sorry, there was just couple reports, it never happened to me, so I was thinking it is just mess from update. The dev version of csl.api provides no spi.ParserResult class. Please check that your NetBeans has an up-to-date version of the module, or even replace the module manually. Check your csl-api.jar contents, whether it contains org.netbeans.modules.csl.spi.ParserResult (it should not, it was split away). Your log indicates that installed csl.api has version 2.54.x (nbms-and-javadoc-474-on-20160507), while csl.types is nbms-and-javadoc-517-on-20160618 The CSL module split was merged in around Jun 09 2016, which is between those two originating builds. csl.api spec version was not increased at that time; it was bulk increased in Sep 2016 after code freeze, se 8.2 release should be fine. |