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 226274 - I get a CCE because ambiguous delegation, but there isn't any ambiguity.
Summary: I get a CCE because ambiguous delegation, but there isn't any ambiguity.
Status: RESOLVED INVALID
Alias: None
Product: platform
Classification: Unclassified
Component: Module System (show other bugs)
Version: 7.1.2
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-18 13:46 UTC by cdelgadob
Modified: 2013-02-26 07:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
No dependency between modules (142.44 KB, image/png)
2013-02-18 13:49 UTC, cdelgadob
Details
package causing ambiguity is not public (101.44 KB, image/png)
2013-02-18 13:50 UTC, cdelgadob
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cdelgadob 2013-02-18 13:46:21 UTC
I get this exception:
java.lang.ClassNotFoundException: Will not load class org.springframework.beans.factory.xml.UtilNamespaceHandler arbitrarily from one of ModuleCL@1b158db[com.inmunotek.prickfilm.core] and ModuleCL@14d556e[com.inmunotek.prickfilm.menues] starting from SystemClassLoader[70 modules]; see http://wiki.netbeans.org/DevFaqModuleCCE
	at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:244)
	at org.netbeans.ModuleManager$SystemClassLoader.loadClass(ModuleManager.java:582)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
	at org.springframework.util.ClassUtils.forName(ClassUtils.java:257)

But the module that's raising this exception doesn't depend on com.inmunotek.prickfilm.menues, plus all classes in com.inmunotek.prickfilm.menues are not shared.

Product Version = NetBeans IDE 7.1.2 (Build 201204101705)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.6.0
Runtime = Java HotSpot(TM) 64-Bit Server VM 21.0-b17
Comment 1 cdelgadob 2013-02-18 13:49:55 UTC
Created attachment 131528 [details]
No dependency between modules
Comment 2 cdelgadob 2013-02-18 13:50:05 UTC
Created attachment 131529 [details]
package causing ambiguity is not public
Comment 3 Jaroslav Tulach 2013-02-26 07:40:46 UTC
SystemClassLoader sees all packages. Not only public ones.