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: | WARNING [org.netbeans.ProxyClassLoader]: Will not load class org.dom4j.* arbitrarily from one of ModuleCL@7608443a[org.netbeans.modules.hibernatelib] and ModuleCL@770253a9[org.netbeans.libs.findbugs] starting from SystemClassLoader[805 modul | ||
---|---|---|---|
Product: | java | Reporter: | markiewb |
Component: | FindBugs | Assignee: | Petr Hejl <phejl> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 7.4 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
markiewb
2013-09-15 21:32:12 UTC
neither org.netbeans.modules.hibernatelib or org.netbeans.modules.hibernatelib are exposing these classes so i don't see, how it can be solved on findbugs side. Reassigning to platform/Module systems. Jardo, please can you give some advice on this? Stacktrace is needed, but if some module does: ServiceLoader.load(AClassWhichIsThereTwice.class) the module system complains as it does not know which one to load. If you give me steps to reproduce, I can investigate what to do with this on the module system side. Otherwise you need to prevent duplication of classes that are loaded via reflection. Reporter, can you provide a stack trace? (In reply to Petr Hejl from comment #3) > Reporter, can you provide a stack trace? Tried again using NB8.0.2. There is no stacktrace. Only the single line in the log WARNING [org.netbeans.ProxyClassLoader]: Will not load class org.dom4j.DocumentFactory arbitrarily from one of ModuleCL@2af53811[org.netbeans.modules.hibernate4lib] and ModuleCL@3952fab0[org.netbeans.libs.findbugs] starting from SystemClassLoader[663 modules]; see http://wiki.netbeans.org/DevFaqModuleCCE Steps for reproduction: * start NB8.0.2 JavaEE with a clean user dir (no additional plugins) * open some java projects (I am not sure if this is relevant) * Source/Inspect... * Press the button at the bottom left to install findbugs * Change scope in Source/Inspect... dialog to findbugs and press "Inspect" -> now there should be the message in the log (use "find text..." to search for in the ide log) This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss |