Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem deploying EJB  RSS feed

 
Gayatri Ganesh
Ranch Hand
Posts: 143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Everyone,

I have written 2 EJBs with home,localHome, remote, local remote and the beans.
When I say Generate --> Deployment and RMIC code through WSAD I get the following error :


>com.ibm.etools.ejbdeploy.EJBDeploymentException (Error during generation of deployment code: null.)
java.lang.NullPointerException
at java.lang.Throwable.<init>(Throwable.java)
at java.lang.Throwable.<init>(Throwable.java)
at java.lang.NullPointerException.<init>(NullPointerException.java:63)
at com.ibm.etools.ejbrdbmapping.impl.RDBEjbMapperImpl.getInverseRoleMaps(RDBEjbMapperImpl.java:494)
at com.ibm.etools.ejbrdbmapping.impl.RDBEjbMapperImpl.getRoleMaps(RDBEjbMapperImpl.java:760)
at com.ibm.etools.ejbrdbmapping.impl.RDBEjbMapperImpl.gatherInheritedRoleMaps(RDBEjbMapperImpl.java:287)
at com.ibm.etools.ejbrdbmapping.impl.RDBEjbMapperImpl.getAllRoleMaps(RDBEjbMapperImpl.java:328)
at com.ibm.etools.ejbdeploy.gen20.jdbc.CMPAttributeMapHelper.populateLists(CMPAttributeMapHelper.java:441)
at com.ibm.etools.ejbdeploy.gen20.jdbc.CMPAttributeMapHelper.initAttributeMapperList(CMPAttributeMapHelper.java:398)
at com.ibm.etools.ejbdeploy.gen20.jdbc.QueryCacheHelper.<init>(QueryCacheHelper.java:29)
at com.ibm.etools.ejbdeploy.gen20.jdbc.QueryCacheCache.initQueries(QueryCacheCache.java:69)
at com.ibm.etools.ejbdeploy.gen20.jdbc.QueryCacheCache.init(QueryCacheCache.java:172)
at com.ibm.etools.ejbdeploy.plugin.EJBDeployOperation.generateQueries(EJBDeployOperation.java:1719)
at com.ibm.etools.ejbdeploy.plugin.EJBDeployOperation.getClassMapsForBackend(EJBDeployOperation.java:1667)
at com.ibm.etools.ejbdeploy.plugin.EJBDeployOperation.doRun(EJBDeployOperation.java:1391)
at com.ibm.etools.ejbdeploy.plugin.EJBDeployOperation.run(EJBDeployOperation.java:1258)
at com.ibm.etools.ejbdeploy.ui.plugin.DeployRMICBeansOperation.generateDeployCode(DeployRMICBeansOperation.java:304)
at com.ibm.etools.ejbdeploy.ui.plugin.DeployRMICBeansOperation.run(DeployRMICBeansOperation.java:570)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1595)
at com.ibm.etools.ejbdeploy.ui.plugin.DeployRunnableWithProgress.run(DeployRunnableWithProgress.java:92)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)


Can anyone please tell me what the problem is ?

Thanks
Gayatri
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 36406
454
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Gayatri,
Are there any warnings in the task pane for that project?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!