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.
When I try to start the editor an illegal exception appear and the netbeans editor crashes. -------------------------------------------------- ----------------------------- >Log Session: martes 13 de julio de 2004 11H30' CEST >System Info: Product Version = NetBeans IDE 3.6 (Build 200404071636) Operating System = Windows 2000 version 5.0 running on x86 Java; VM; Vendor = 1.4.2_05; Java HotSpot (TM) Client VM 1.4.2_05-b04; Sun Microsystems Inc. Java Home = C:\j2sdk1.4.2_05\jre System Locale; Encod. = es_ES; Cp1252 Home Dir; Current Dir = C:\Documents and Settings\c-rodrigujo; C:\Program Files\NetBeans3.6 IDE Install; User Dir = C:\Program Files\NetBeans3.6; C:\Documents and Settings\c- rodrigujo\.netbeans\3.6 CLASSPATH = C:\Program Files\NetBeans3.6 \lib\ext\boot.jar;C:\j2sdk1.4.2_05 \lib\dt.jar;C:\j2sdk1.4.2_05\lib\tools.jar Boot & ext classpath = C:\j2sdk1.4.2_05 \jre\lib\rt.jar;C:\j2sdk1.4.2_05 \jre\lib\i18n.jar;C:\j2sdk1.4.2_05 \jre\lib\sunrsasign.jar;C:\j2sdk1.4.2_05 \jre\lib\jsse.jar;C:\j2sdk1.4.2_05 \jre\lib\jce.jar;C:\j2sdk1.4.2_05 \jre\lib\charsets.jar;C:\j2sdk1.4.2_05 \jre\classes;C:\j2sdk1.4.2_05 \jre\lib\ext\dnsns.jar;C:\j2sdk1.4.2_05 \jre\lib\ext\ldapsec.jar;C:\j2sdk1.4.2_05 \jre\lib\ext\localedata.jar;C:\j2sdk1.4.2_05 \jre\lib\ext\sunjce_provider.jar Dynamic classpath = C:\Program Files\NetBeans3.6\lib\core.jar;C:\Program Files\NetBeans3.6\lib\openfile-cli.jar;C:\Program Files\NetBeans3.6\lib\openide- loaders.jar;C:\Program Files\NetBeans3.6 \lib\openide.jar -------------------------------------------------- ----------------------------- [org.netbeans.core.modules #6] Warning: the module org.netbeans.modules.projects uses org.openide.deprecated which is deprecated: Clients of obsoleted Open APIs are encouraged to remove this dependency. See http://www.netbeans.org/download/dev/javadoc/OpenA PIs/org/openide/doc-files/upgrade.html#3.5i-sep-I exception in initialize() on J2EE: java.lang.IllegalArgumentException: Illegal initial capacity: -303452348 [org.netbeans.core.modules] *********** Exception occurred ************ at Tue Jul 13 11:31:15 CEST 2004 java.lang.IllegalArgumentException: java.lang.reflect.InvocationTargetException at org.openide.util.SharedClassObject.findObject (SharedClassObject.java:452) at org.netbeans.core.modules.ManifestSection.createIn stance(ManifestSection.java:173) at org.netbeans.core.modules.ManifestSection.getInsta nce(ManifestSection.java:191) at org.netbeans.core.LoaderPoolNode.add (LoaderPoolNode.java:144) at org.netbeans.core.modules.NbInstaller.loadLoaderSe ction(NbInstaller.java:515) at org.netbeans.core.modules.NbInstaller.loadSections (NbInstaller.java:411) [catch] at org.netbeans.core.modules.NbInstaller.load (NbInstaller.java:227) at org.netbeans.core.modules.ModuleManager.enable (ModuleManager.java:861) at org.netbeans.core.modules.ModuleList.installNew (ModuleList.java:552) at org.netbeans.core.modules.ModuleList.trigger (ModuleList.java:487) at org.netbeans.core.modules.ModuleSystem.scanForNewA ndRestore(ModuleSystem.java:302) at org.netbeans.core.NonGui.run (NonGui.java:348) at org.netbeans.core.Main.run (Main.java:294) at org.netbeans.core.NbTopManager.getNbTopManager (NbTopManager.java:233) at org.netbeans.core.NbTopManager.get (NbTopManager.java:188) at org.netbeans.core.Main.start (Main.java:485) at org.netbeans.core.TopThreadGroup.run (TopThreadGroup.java:90) at java.lang.Thread.run(Thread.java:534) ==> ..................... Thnk you very much. Hope this help
Created attachment 16264 [details] Log file created by the problem
Hi, thank you for report. Seems like a problem in the j2eeserver module.
Assigning to Pavel
I cannot reproduce this. Is the problem reproducible on your machine? If so, can you zip and attach your user dir? I will add more conditions in the code to make it more bullet proof.
Added some checks to prevent this. If it is not reproducible I will close the issue. cvs commit -m "46184 added checks for nonexistent folders" org\netbeans\modules\j2ee\deployment\config\ConfigDataLoader.java (in directory E:\nb_all\j2eeserver\src\) Checking in org/netbeans/modules/j2ee/deployment/config/ConfigDataLoader.java; /cvs/j2eeserver/src/org/netbeans/modules/j2ee/deployment/config/ConfigDataLoader.java,v <-- ConfigDataLoader.java new revision: 1.7; previous revision: 1.6 done
Cannot reproduce. Please attach the user dir and reopen the issue if the problem is reproducible. Thanks.
*** Issue 46871 has been marked as a duplicate of this issue. ***
*** Issue 46088 has been marked as a duplicate of this issue. ***
*** Issue 43333 has been marked as a duplicate of this issue. ***
*** Issue 45642 has been marked as a duplicate of this issue. ***
*** Issue 50284 has been marked as a duplicate of this issue. ***