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 128392 - definePackage: If you are getting this....
Summary: definePackage: If you are getting this....
Status: RESOLVED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Module System (show other bugs)
Version: 6.x
Hardware: Sun All
: P3 blocker (vote)
Assignee: Jesse Glick
URL: http://konik-z2.czech.sun.com:8080/hu...
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2008-02-26 06:46 UTC by Jaroslav Tulach
Modified: 2008-12-23 08:45 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
The log, not really informative, imho (44.93 KB, text/plain)
2008-02-26 06:47 UTC, Jaroslav Tulach
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2008-02-26 06:46:17 UTC
This happened and was caught by commit validation:

If you are getting this, probably it is because you have several modules trying to load from the same package. This is
not supported (#71524).
Caused: java.lang.IllegalArgumentException: org.openide.awt
	at java.lang.ClassLoader.definePackage(ClassLoader.java:1418)
	at org.netbeans.ProxyClassLoader.definePackage(ProxyClassLoader.java:466)
	at org.netbeans.JarClassLoader.definePackage(JarClassLoader.java:203)
Comment 1 Jaroslav Tulach 2008-02-26 06:47:02 UTC
Created attachment 57237 [details]
The log, not really informative, imho
Comment 2 Jesse Glick 2008-02-26 17:33:57 UTC
I have no idea what could cause that. The message is obsolete and can be removed. Is this reproducible?
Comment 3 Jesse Glick 2008-02-26 17:42:04 UTC
In #3e89ec46f1c7 I am removing the annotation message; the IAE would still be thrown.
Comment 4 Jesse Glick 2008-02-27 17:24:25 UTC
Did not fail in the next build after unrelated changes. I would have no idea how to reproduce this and without being
able to reproduce I cannot guess why it would occur.