This issue occurs when we try to run EJBDeploy. Since RAD 7.0 doesn't
come with a "runnable" EJBDeploy for WAS 5.1 runtimes we're using the
WAS 6.1 EJBDeploy.bat.
It runs fine right up to when it tries to generate RMIC code and we
get the error below:
[*Error] An unexpected exception was thrown. Halting execution.
Shutting down workbench.
Error executing deployment: java.lang.NullPointerException. Error is
null.
java.lang.NullPointerException
at org.eclipse.jst.server.core.FacetUtil.getRuntime
(FacetUtil.java:57)
at com.ibm.etools.rmic.RMICOperation.getJavaLocation
(RMICOperation.java:
486)
at com.ibm.etools.rmic.RMICOperation.invokeRMICInJVM
(RMICOperation.java:
839)
at com.ibm.etools.rmic.RMICOperation.rmic(RMICOperation.java:
936)
at com.ibm.etools.rmic.RMICOperation.generateStubs
(RMICOperation.java:32
5)
at com.ibm.etools.rmic.RMICOperation.run(RMICOperation.java:
1012)
at com.ibm.etools.rmic.RMICOperation.doit(RMICOperation.java:
188)
at
com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.invokeRMIC(Batch
Extension.java:1713)
at
com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.runEarDeploy(Bat
chExtension.java:440)
at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.access
$1(BatchEx
tension.java:333)
at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension
$RunDeploy.run(Ba
tchExtension.java:316)
at org.eclipse.core.internal.resources.Workspace.run
(Workspace.java:1737
)
at org.eclipse.core.internal.resources.Workspace.run
(Workspace.java:1719
)
at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension
$RunDeploy.execut
e(BatchExtension.java:281)
at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.run
(BatchExtensi
on.java:244)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run
(PlatformAct
ivator.java:78)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runAppli
cation(EclipseAppLauncher.java:92)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Ec
lipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.ja
va:400)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.
java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at com.ibm.etools.ejbdeploy.batch.impl.BootLoaderLoader.run
(BootLoaderLo
ader.java:274)
at com.ibm.etools.ejbdeploy.batch.impl.BatchDeploy.execute
(BatchDeploy.j
ava:99)
at com.ibm.etools.ejbdeploy.EJBDeploy.execute(EJBDeploy.java:
83)
at com.ibm.etools.ejbdeploy.EJBDeploy.main(EJBDeploy.java:313)
EJBDeploy level: o0712.03
The error above occurs with a ANT build using WAS 6.1 runtime in RAD
7.0. We've tried numerours things and had numerous guesses.
Has anyone faced similiar issues before?
Any assistances would be greatly appreciated. Thanks!