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 46184 - Exception in j2eeserver module on startup
Summary: Exception in j2eeserver module on startup
Status: RESOLVED WORKSFORME
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P1 blocker (vote)
Assignee: Pavel Buzek
URL:
Keywords:
: 43333 45642 46088 46871 50284 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-07-15 10:41 UTC by jra46
Modified: 2004-10-21 22:11 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Log file created by the problem (17.60 KB, text/plain)
2004-07-15 10:43 UTC, jra46
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jra46 2004-07-15 10:41:51 UTC
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
Comment 1 jra46 2004-07-15 10:43:32 UTC
Created attachment 16264 [details]
Log file created by the problem
Comment 2 Jan Lahoda 2004-07-16 14:27:23 UTC
Hi,
   thank you for report. Seems like a problem in the j2eeserver module.
Comment 3 Petr Jiricka 2004-07-19 15:46:29 UTC
Assigning to Pavel
Comment 4 Pavel Buzek 2004-07-19 21:04:04 UTC
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.
Comment 5 Pavel Buzek 2004-07-19 23:30:55 UTC
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
Comment 6 Pavel Buzek 2004-07-20 20:35:00 UTC
Cannot reproduce. Please attach the user dir and reopen the issue if
the problem is reproducible. Thanks.
Comment 7 Pavel Buzek 2004-08-04 18:55:56 UTC
*** Issue 46871 has been marked as a duplicate of this issue. ***
Comment 8 Pavel Buzek 2004-08-05 20:41:43 UTC
*** Issue 46088 has been marked as a duplicate of this issue. ***
Comment 9 Pavel Buzek 2004-08-06 22:31:13 UTC
*** Issue 43333 has been marked as a duplicate of this issue. ***
Comment 10 Martin Adamek 2004-10-05 16:52:55 UTC
*** Issue 45642 has been marked as a duplicate of this issue. ***
Comment 11 Pavel Buzek 2004-10-21 22:11:39 UTC
*** Issue 50284 has been marked as a duplicate of this issue. ***