EJBDeploy Issues with NullPointer Exception at org.eclipse.jst.server.core.FacetUtil.getRuntime

63 views
Skip to first unread message

usene...@gmail.com

unread,
May 14, 2009, 2:58:31 PM5/14/09
to
Hello, we've recently migrated from WSAD 5.1.2 to RAD 7.0. We've
migrated our application and made appropiate modifcation to our
application.xml and EJB deployment descriptors. We were able to get
our application running in RAD 7.0 using WAS 5.1 test env.
(We're in the process of converting over to use WAS 6.1)
We then proceed to work with our ANT build and was able to create a
ear using the WAS 6.1 and WAS 5.1 runtimes within RAD 7.0.

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!

siva

unread,
Sep 11, 2018, 12:12:05 PM9/11/18
to
i am receiving the same error but i am not migrating using wsEJBDeploy ant task from Websphere Ant for building EJB.

Do you remember resolution for this problem
Reply all
Reply to author
Forward
0 new messages