Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Not able to deploy Entity Bean..!!!  RSS feed

 
Shanmugam Muthukumarasamy
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I am not able to deploy one Entity bean. Actually I am migration my application from VAJ 4.0 to WSAD 5.0. Actually I have 11 Entity beans and one session bean in my application. I have used to export utility in VAJ 4.0 to get the EJB 1.1 jar and I imported that jar file into WSAD 5.0. Now in this case, I am not able to deploy only one entity bean. That is throwing the following exception. I am not able to understand ...what is the problem..? any one have any idea...
The Exception thrown by the "EJB Deployer" in WSAD 5.0 is :
>com.ibm.etools.ejbdeploy.EJBDeploymentException
>com.ibm.etools.ejbdeploy.plugin.InternalErrorGenerationException
java.lang.NullPointerException
at com.ibm.ObjectQuery.crud.queryplan.ReadQueryCreator.createNavigationQuery(ReadQueryCreator.java:157)
at com.ibm.etools.ejbdeploy.generators.mb.PersisterAssocFinderMBGenerator.run(PersisterAssocFinderMBGenerator.java:70)
at com.ibm.etools.codegen.BaseGenerator.runDependents(BaseGenerator.java:275)
at com.ibm.etools.java.codegen.JavaMethodGenerator.getBody(JavaMethodGenerator.java:343)
at com.ibm.etools.java.codegen.JavaMethodGenerator.generateMethod(JavaMethodGenerator.java:303)
at com.ibm.etools.java.codegen.JavaMethodGenerator.calculateMergeResults(JavaMethodGenerator.java:142)
at com.ibm.etools.java.codegen.JavaMethodGenerator.calculateMergeResults(JavaMethodGenerator.java:129)
at com.ibm.etools.java.codegen.JavaMemberGenerator.analyze(JavaMemberGenerator.java:43)
at com.ibm.etools.codegen.BaseGenerator.analyzeChildren(BaseGenerator.java:58)
at com.ibm.etools.codegen.BaseGenerator.primAnalyze(BaseGenerator.java:250)
at com.ibm.etools.codegen.BaseGenerator.analyze(BaseGenerator.java:49)
at com.ibm.etools.java.codegen.JavaMemberGenerator.analyze(JavaMemberGenerator.java:52)
at com.ibm.etools.codegen.BaseGenerator.analyzeChildren(BaseGenerator.java:58)
at com.ibm.etools.java.codegen.JavaCompilationUnitGenerator.analyzeChildren(JavaCompilationUnitGenerator.java:602)
at com.ibm.etools.codegen.BaseGenerator.primAnalyze(BaseGenerator.java:250)
at com.ibm.etools.codegen.BaseGenerator.analyze(BaseGenerator.java:49)
at com.ibm.etools.java.codegen.JavaCompilationUnitGenerator.analyze(JavaCompilationUnitGenerator.java:113)
at com.ibm.etools.codegen.BaseGenerator.analyzeChildren(BaseGenerator.java:58)
at com.ibm.etools.codegen.BaseGenerator.primAnalyze(BaseGenerator.java:250)
at com.ibm.etools.codegen.BaseGenerator.analyze(BaseGenerator.java:49)
at com.ibm.etools.ejbdeploy.plugin.EJBDeployOperation.deployCMP1_1(EJBDeployOperation.java:560)
at com.ibm.etools.ejbdeploy.plugin.EJBDeployOperation.deployCMP(EJBDeployOperation.java:506)
at com.ibm.etools.ejbdeploy.plugin.EJBDeployOperation.runCMP(EJBDeployOperation.java:1459)
at com.ibm.etools.ejbdeploy.plugin.EJBDeployOperation.run(EJBDeployOperation.java:1269)
at com.ibm.etools.j2ee.common.ui.RunnableWithProgressWrapper.run(RunnableWithProgressWrapper.java:57)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:299)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:249)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:720)
at com.ibm.etools.ejbdeploy.ui.plugin.DeployRMICBeansOperation.generateDeployCode(DeployRMICBeansOperation.java:252)
at com.ibm.etools.ejbdeploy.ui.plugin.DeployRMICBeansOperation.run(DeployRMICBeansOperation.java:549)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1378)
at com.ibm.etools.ejbdeploy.ui.plugin.DeployRMICPage.performFinish(DeployRMICPage.java:449)
at com.ibm.etools.ejbdeploy.ui.plugin.DeployRMICWizard.performFinish(DeployRMICWizard.java:83)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:577)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:312)
at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:398)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java(Compiled Code))
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java(Compiled Code))
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java(Compiled Code))
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java(Compiled Code))
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java(Compiled Code))
at org.eclipse.jface.window.Window.runEventLoop(Window.java(Compiled Code))
at org.eclipse.jface.window.Window.open(Window.java:542)
at com.ibm.etools.ejbdeploy.ui.plugin.EJBDeployMenuAction.run(EJBDeployMenuAction.java:155)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:210)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:407)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java(Compiled Code))
at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java(Compiled Code))
at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java(Compiled Code))
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java(Compiled Code))
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java(Compiled Code))
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java(Compiled Code))
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java(Compiled Code))
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java(Compiled Code))
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1239)
at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:775)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
at java.lang.reflect.Method.invoke(Native Method)
at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
at org.eclipse.core.launcher.Main.run(Main.java:703)
at org.eclipse.core.launcher.Main.main(Main.java:539)

Thanks in advance,
Shanmugam.
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you have any unresolved tasks (red "x"'s in the task list) for your EJB's?
Kyle
 
Shanmugam Muthukumarasamy
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Kyle,
Thanks for your reply, but I am not getting any unresolved problem in the Tasks. But If I give the referecne of Web project to the EJB Project, I am getting Cycle error. Other than that I don't have any problem. Do you guess am I missing anything else..!!!
Thanks,
Shanmugam.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!