Hi,

It would be really great if someone can guide me to fix this problem.

Vivek, I am also facing the same problem. I am using RAD 6.0. I am trying to build my ejbs using ejbdeploy.bat option but it gives me error.





- where ejbDeployOptions's value is -cp ${classpath}

It would be really great if someone can help to fix the problem.

Starting workbench.
[exec] o0546.10 Creating the project.
[exec] [*Error] An unexpected exception was thrown. Halting execution.
[exec] Shutting down workbench.
[exec] Error executing deployment: java.lang.NullPointerException. Error is null.
[exec] java.lang.NullPointerException
[exec] at com.ibm.etools.archive.j2ee.operations.J2EEImportO peration.doExecute(J2EEImportOperation.java:52)
[exec] at com.ibm.etools.archive.j2ee.operations.J2EEImportO peration.execute(J2EEImportOperation.java:45)
[exec] at com.ibm.wtp.common.operation.WTPOperation.doRun(WT POperation.java:267)
[exec] at com.ibm.wtp.common.operation.WTPOperation$1.run(WT POperation.java:181)
[exec] at org.eclipse.core.internal.resources.Workspace.run( Workspace.java:1673)
[exec] at org.eclipse.core.internal.resources.Workspace.run( Workspace.java:1693)
[exec] at com.ibm.wtp.common.operation.WTPOperation.run(WTPO peration.java:199)
[exec] at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtensi on.createJarProject(BatchExtension.java:1142)
[exec] at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtensi on.runJarDeploy(BatchExtension.java:870)
[exec] at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtensi on.access$1(BatchExtension.java:867)
[exec] at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtensi on$RunDeploy.run(BatchExtension.java:289)
[exec] at org.eclipse.core.internal.resources.Workspace.run( Workspace.java:1673)
[exec] at org.eclipse.core.internal.resources.Workspace.run( Workspace.java:1693)
[exec] at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtensi on$RunDeploy.execute(BatchExtension.java:271)
[exec] at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtensi on.run(BatchExtension.java:234)
[exec] at org.eclipse.core.internal.runtime.PlatformActivato r$1.run(PlatformActivator.java:335)
[exec] at org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:273)
[exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
[exec] at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:85)
[exec] at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:58)
[exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:60)
[exec] at java.lang.reflect.Method.invoke(Method.java:391)
[exec] at com.ibm.etools.ejbdeploy.batch.impl.BootLoaderLoad er.run(BootLoaderLoader.java:400)
[exec] at com.ibm.etools.ejbdeploy.batch.impl.BatchDeploy.ex ecute(BatchDeploy.java:144)
[exec] at com.ibm.etools.ejbdeploy.EJBDeploy.execute(EJBDepl oy.java:83)
[exec] at com.ibm.etools.ejbdeploy.EJBDeploy.main(EJBDeploy. java:313)
[exec] EJBDeploy level: o0546.10