Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

IndexOutOfBoundsException while running the ejbdeploy tool.

2 views
Skip to first unread message

Pavanapuresan

unread,
Sep 10, 2001, 3:49:57 PM9/10/01
to
Hi all,
Im using the ejbdeploy tool to generate code for my enterprise beans. Im
migrating a project from Weblogic to websphere. Consequently, the tool had
quite a few errors and warnings to declare while running. After clering all
the errors, when i ran the tool again, it generated 202 warnings but went
ahead to generate the database schema and mappings. While doing that, it
threw the following exception and halted. I'd be glad of any information
about why this happened and what i should do to correct it.

>com.ibm.etools.ejbdeploy.EJBDeploymentException (Index: 0, Size: 0)
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(ArrayList.java(Compiled Code))
at java.util.ArrayList.get(ArrayList.java(Compiled Code))
at
com.ibm.etools.ejbdeploy.generators.SqlUpdateString.getInitializer(SqlUpdate
String.java:40)
at
com.ibm.etools.java.codegen.JavaFieldGenerator.populateFieldDescriptor(JavaF
ieldGenerator.java:214)
at
com.ibm.etools.java.codegen.JavaFieldGenerator.createFieldDescriptor(JavaFie
ldGenerator.java:75)
at
com.ibm.etools.java.codegen.JavaFieldGenerator.createMemberDescriptor(JavaFi
eldGenerator.java:94)
at
com.ibm.etools.java.codegen.JavaMemberGenerator.analyze(JavaMemberGenerator.
java:27)
at
com.ibm.etools.codegen.BaseGenerator.analyzeChildren(BaseGenerator.java(Comp
iled Code))
at
com.ibm.etools.codegen.BaseGenerator.primAnalyze(BaseGenerator.java(Compiled
Code))
at
com.ibm.etools.codegen.BaseGenerator.analyze(BaseGenerator.java(Compiled
Code))
at
com.ibm.etools.java.codegen.JavaMemberGenerator.analyze(JavaMemberGenerator.
java:35)
at
com.ibm.etools.codegen.BaseGenerator.analyzeChildren(BaseGenerator.java(Comp
iled Code))
at
com.ibm.etools.codegen.BaseGenerator.primAnalyze(BaseGenerator.java(Compiled
Code))
at
com.ibm.etools.codegen.BaseGenerator.analyze(BaseGenerator.java(Compiled
Code))
at
com.ibm.etools.java.codegen.JavaCompilationUnitGenerator.analyze(JavaCompila
tionUnitGenerator.java:80)
at
com.ibm.etools.codegen.BaseGenerator.analyzeChildren(BaseGenerator.java(Comp
iled Code))
at
com.ibm.etools.codegen.BaseGenerator.primAnalyze(BaseGenerator.java(Compiled
Code))
at
com.ibm.etools.codegen.BaseGenerator.analyze(BaseGenerator.java(Compiled
Code))
at
com.ibm.etools.ejbdeploy.plugin.EJBDeployOperation.deployCMP(EJBDeployOperat
ion.java:170)
at
com.ibm.etools.ejbdeploy.plugin.EJBDeployOperation.run(EJBDeployOperation.ja
va:479)
at
com.ibm.etools.ejbdeploy.plugin.EJBDeployOperation.doit(EJBDeployOperation.j
ava:214)
at
com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.invokeDeployment(BatchE
xtension.java:689)
at
com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.run(BatchExtension.java
:846)
at
com.ibm.etools.ejbdeploy.batch.impl.BatchDeploy.execute(BatchDeploy.java:122
)
at com.ibm.etools.ejbdeploy.EJBDeploy.execute(EJBDeploy.java:60)
at com.ibm.etools.ejbdeploy.EJBDeploy.main(EJBDeploy.java:207)

Thanks and regards,

Pavan


0 new messages