Hi,
Im migrating a J2EE application to Websphere 6.02 (with IBM JDK 1.4.2
SR3) and im running into
troubles when creating the ejb stubs.
Im running the ejbdeploy script that is shipped with Websphere 6.00 for

Windows.
The stub source generation and validation goes fine, but (alas!) during

the RMIC stage, I get a NulPointerException (see bellow).
I have tried both the IBM JDK that comes with WAS 6 and the Sun
1.4.2.07 JDK but i get the same result.


Any help would be great!


Here is my beloved exception String:


!MESSAGE java.lang.NullPointerException
at
com.ibm.tools.rmic.iiop.CompoundType.addTypes(Comp oundType.java:1059)
at
com.ibm.tools.rmic.iiop.CompoundType.addTypes(Comp oundType.java:1075)
at
com.ibm.tools.rmic.iiop.CompoundType.addTypes(Comp oundType.java:1089)
at
com.ibm.tools.rmic.iiop.CompoundType.addTypes(Comp oundType.java:1064)
at
com.ibm.tools.rmic.iiop.CompoundType.addTypes(Comp oundType.java:1064)
at com.ibm.tools.rmic.iiop.Type.collectMatching(Type. java:439)
at
com.ibm.tools.rmic.iiop.StubGenerator.getOutputTyp esFor(StubGenerator.java:*248)

at
com.ibm.tools.rmic.iiop.Generator.generateOutputFi les(Generator.java:318)

at
com.ibm.tools.rmic.iiop.Generator.generate(Generat or.java:299)
at sun.rmi.rmic.Main.doCompile(Main.java:554)
at sun.rmi.rmic.Main.compile(Main.java:149)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:8*5)

at
sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:5*8)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImp*l.java:60)

at java.lang.reflect.Method.invoke(Method.java:391)
at
com.ibm.etools.rmic.RMICClassLoader.runCompile(RMI CClassLoader.java:295)

at
com.ibm.etools.rmic.RMICOperation.invokeRMICInJVM( RMICOperation.java:682)

at
com.ibm.etools.rmic.RMICOperation.rmic(RMICOperati on.java:774)
at
com.ibm.etools.rmic.RMICOperation.generateStubs(RM ICOperation.java:279)

at
com.ibm.etools.rmic.RMICOperation.run(RMICOperatio n.java:848)
at
com.ibm.etools.rmic.RMICOperation.doit(RMICOperati on.java:146)
at
com.ibm.etools.ejbdeploy.batch.plugin.BatchExtensi on.invokeRMIC(BatchExtens*ion.java:1979)

at
com.ibm.etools.ejbdeploy.batch.plugin.BatchExtensi on.internalJarProcess(Bat*chExtension.java:982)

at
com.ibm.etools.ejbdeploy.batch.plugin.BatchExtensi on.runEarDeploy(BatchExte*nsion.java:404)

at
com.ibm.etools.ejbdeploy.batch.plugin.BatchExtensi on.access$0(BatchExtensio*n.java:305)

at
com.ibm.etools.ejbdeploy.batch.plugin.BatchExtensi on$RunDeploy.run(BatchExt*ension.java:288)

at
org.eclipse.core.internal.resources.Workspace.run( Workspace.java:1673)
at
org.eclipse.core.internal.resources.Workspace.run( Workspace.java:1693)
at
com.ibm.etools.ejbdeploy.batch.plugin.BatchExtensi on$RunDeploy.execute(Batc*hExtension.java:272)

at
com.ibm.etools.ejbdeploy.batch.plugin.BatchExtensi on.run(BatchExtension.jav*a:235)

at
org.eclipse.core.internal.runtime.PlatformActivato r$1.run(PlatformActivator*.java:335)

at
org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:273*)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:8*5)

at
sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:5*8)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImp*l.java:60)

at java.lang.reflect.Method.invoke(Method.java:391)
at
com.ibm.etools.ejbdeploy.batch.impl.BootLoaderLoad er.run(BootLoaderLoader.j*ava:390)

at
com.ibm.etools.ejbdeploy.batch.impl.BatchDeploy.ex ecute(BatchDeploy.java:14*4)

at
com.ibm.etools.ejbdeploy.EJBDeploy.execute(EJBDepl oy.java:83)
at com.ibm.etools.ejbdeploy.EJBDeploy.main(EJBDeploy. java:312)


Thanks,
yg.