Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dali » Not able to generate the JPA Manager Bean(Not able to generate the JPA Manager Bean)
icon5.gif  Not able to generate the JPA Manager Bean [message #545723] Thu, 08 July 2010 14:22 Go to next message
Umesh  is currently offline Umesh
Messages: 4
Registered: July 2010
Junior Member
Hi,
I installed the latest version of Dali JPA plugin 2.3 on Rational Application Developer which runs on Eclipse 3.6.

I was trying out a sample JAP application, was successfully able to generate the entities and configure them. However when I tried to Add the JPA Manager Beans to the entities created. I get the error below.

Can anyone help me on this?


Error log:
org.eclipse.core.runtime.CoreException: org/eclipse/jpt/core/internal/utility/jdt/JDTTools.buildASTR oot(Lorg/eclipse/jdt/core/ICompilationUnit;)Lorg/eclipse/jdt /core/dom/CompilationUnit;
at org.eclipse.wst.common.frameworks.internal.datamodel.ui.Data ModelWizard.performFinish(Unknown Source)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(Unknown Source)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(Unknown Source)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Unknown Source)
at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at org.eclipse.jface.window.Window.runEventLoop(Unknown Source)
at org.eclipse.jface.window.Window.open(Unknown Source)
at com.ibm.etools.webtools.jpa.managerbean.internal.launcher.Ab stractDialogLauncher.launch(Unknown Source)
at com.ibm.etools.webtools.jpa.managerbean.internal.launcher.Ab stractManagerBeanWizardLauncher.launch(Unknown Source)
at com.ibm.etools.webtools.jpa.managerbean.internal.action.Abst ractManagerBeanAction.run(Unknown Source)
at org.eclipse.ui.internal.PluginAction.runWithEvent(Unknown Source)
at org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(Unknown Source)
at org.eclipse.jface.action.ActionContributionItem.access$2(Unk nown Source)
at org.eclipse.jface.action.ActionContributionItem$5.handleEven t(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at org.eclipse.ui.internal.Workbench.runEventLoop(Unknown Source)
at org.eclipse.ui.internal.Workbench.runUI(Unknown Source)
at org.eclipse.ui.internal.Workbench.access$4(Unknown Source)
at org.eclipse.ui.internal.Workbench$5.run(Unknown Source)
at org.eclipse.core.databinding.observable.Realm.runWithDefault (Unknown Source)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Unkn own Source)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(Unknown Source)
at org.eclipse.ui.internal.ide.application.IDEApplication.start (Unknown Source)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Unknow n Source)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(Unknown Source)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(Unknown Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Unknown Source)
at org.eclipse.equinox.launcher.Main.basicRun(Unknown Source)
at org.eclipse.equinox.launcher.Main.run(Unknown Source)
at org.eclipse.equinox.launcher.Main.main(Unknown Source)
Contains: org/eclipse/jpt/core/internal/utility/jdt/JDTTools.buildASTR oot(Lorg/eclipse/jdt/core/ICompilationUnit;)Lorg/eclipse/jdt /core/dom/CompilationUnit;
Contains: org/eclipse/jpt/core/internal/utility/jdt/JDTTools.buildASTR oot(Lorg/eclipse/jdt/core/ICompilationUnit;)Lorg/eclipse/jdt /core/dom/CompilationUnit;
Contains: org/eclipse/jpt/core/internal/utility/jdt/JDTTools.buildASTR oot(Lorg/eclipse/jdt/core/ICompilationUnit;)Lorg/eclipse/jdt /core/dom/CompilationUnit;
java.lang.NoSuchMethodError: org/eclipse/jpt/core/internal/utility/jdt/JDTTools.buildASTR oot(Lorg/eclipse/jdt/core/ICompilationUnit;)Lorg/eclipse/jdt /core/dom/CompilationUnit;
at com.ibm.etools.webtools.jpa.managerbean.util.ManagerBeanAnno tationUtil.addJPAManagerAnnotation(Unknown Source)
at com.ibm.etools.webtools.jpa.managerbean.codegen.ManagerBeanC odeGenOperation.run(Unknown Source)
at com.ibm.etools.webtools.jpa.managerbean.internal.wizard.mana gerbean.operation.JpaManagerBeanWizardDelegateOperation.exec ute(Unknown Source)
at com.ibm.jee.jpa.entity.config.internal.wizard.entityconfig.o peration.JpaBaseWizardOperation$WizardWorkspaceBatchOperatio n.run(Unknown Source)
at org.eclipse.jdt.internal.core.BatchOperation.executeOperatio n(Unknown Source)
at org.eclipse.jdt.internal.core.JavaModelOperation.run(Unknown Source)
at org.eclipse.core.internal.resources.Workspace.run(Unknown Source)
at org.eclipse.jdt.core.JavaCore.run(Unknown Source)
at org.eclipse.jdt.core.JavaCore.run(Unknown Source)
at com.ibm.jee.jpa.entity.config.internal.wizard.entityconfig.o peration.JpaBaseWizardOperation$WizardWorkspaceBatchJob.run( Unknown Source)
at com.ibm.jee.jpa.entity.config.internal.wizard.entityconfig.o peration.JpaBaseWizardOperation.execute(Unknown Source)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl$1.run(Unknown Source)
at org.eclipse.core.internal.resources.Workspace.run(Unknown Source)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl.runOperation(Unknown Source)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl.runOperation(Unknown Source)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl.doExecute(Unknown Source)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl.executeImpl(Unknown Source)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl.cacheThreadAndContinue(Unknown Source)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl.execute(Unknown Source)
at org.eclipse.wst.common.frameworks.internal.datamodel.ui.Data ModelWizard$1CatchThrowableRunnableWithProgress.run(Unknown Source)
at org.eclipse.jface.operation.ModalContext$ModalContextThread. run(Unknown Source)
Contains: org/eclipse/jpt/core/internal/utility/jdt/JDTTools.buildASTR oot(Lorg/eclipse/jdt/core/ICompilationUnit;)Lorg/eclipse/jdt /core/dom/CompilationUnit;
java.lang.NoSuchMethodError: org/eclipse/jpt/core/internal/utility/jdt/JDTTools.buildASTR oot(Lorg/eclipse/jdt/core/ICompilationUnit;)Lorg/eclipse/jdt /core/dom/CompilationUnit;
at com.ibm.etools.webtools.jpa.managerbean.util.ManagerBeanAnno tationUtil.addJPAManagerAnnotation(Unknown Source)
at com.ibm.etools.webtools.jpa.managerbean.codegen.ManagerBeanC odeGenOperation.run(Unknown Source)
at com.ibm.etools.webtools.jpa.managerbean.internal.wizard.mana gerbean.operation.JpaManagerBeanWizardDelegateOperation.exec ute(Unknown Source)
at com.ibm.jee.jpa.entity.config.internal.wizard.entityconfig.o peration.JpaBaseWizardOperation$WizardWorkspaceBatchOperatio n.run(Unknown Source)
at org.eclipse.jdt.internal.core.BatchOperation.executeOperatio n(Unknown Source)
at org.eclipse.jdt.internal.core.JavaModelOperation.run(Unknown Source)
at org.eclipse.core.internal.resources.Workspace.run(Unknown Source)
at org.eclipse.jdt.core.JavaCore.run(Unknown Source)
at org.eclipse.jdt.core.JavaCore.run(Unknown Source)
at com.ibm.jee.jpa.entity.config.internal.wizard.entityconfig.o peration.JpaBaseWizardOperation$WizardWorkspaceBatchJob.run( Unknown Source)
at com.ibm.jee.jpa.entity.config.internal.wizard.entityconfig.o peration.JpaBaseWizardOperation.execute(Unknown Source)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl$1.run(Unknown Source)
at org.eclipse.core.internal.resources.Workspace.run(Unknown Source)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl.runOperation(Unknown Source)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl.runOperation(Unknown Source)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl.doExecute(Unknown Source)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl.executeImpl(Unknown Source)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl.cacheThreadAndContinue(Unknown Source)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl.execute(Unknown Source)
at org.eclipse.wst.common.frameworks.internal.datamodel.ui.Data ModelWizard$1CatchThrowableRunnableWithProgress.run(Unknown Source)
at org.eclipse.jface.operation.ModalContext$ModalContextThread. run(Unknown Source)
Re: Not able to generate the JPA Manager Bean [message #545728 is a reply to message #545723] Thu, 08 July 2010 14:57 Go to previous messageGo to next message
Karen Butzke is currently offline Karen Butzke
Messages: 220
Registered: July 2009
Senior Member
Looks like a RAD compatibility issue to me. You're getting:
java.lang.NoSuchMethodError: org/eclipse/jpt/core/internal/utility/jdt/JDTTools.buildASTR oot(Lorg/eclipse/jdt/core/ICompilationUnit;)Lorg/eclipse/jdt /core/dom/CompilationUnit;
at com.ibm.etools.webtools.jpa.managerbean.util.ManagerBeanAnno tationUtil.addJPAManagerAnnotation(Unknown Source)


JDTTools.buildASTRoot() is a method that does not exist in the Dali 2.3 release.

Karen
Re: Not able to generate the JPA Manager Bean [message #545741 is a reply to message #545723] Thu, 08 July 2010 16:21 Go to previous messageGo to next message
Chris is currently offline Chris
Messages: 97
Registered: July 2009
Member
For info, Rational Application Developer v7.5.5.1, (which I believe is
the latest version) runs on Eclipse 3.4.2 not 3.6.


On 08/07/2010 19:22, Umesh wrote:
> Hi, I installed the latest version of Dali JPA plugin 2.3 on Rational
> Application Developer which runs on Eclipse 3.6.
>
> I was trying out a sample JAP application, was successfully able to
> generate the entities and configure them. However when I tried to Add
> the JPA Manager Beans to the entities created. I get the error below.
> Can anyone help me on this?
>
Re: Not able to generate the JPA Manager Bean [message #546963 is a reply to message #545723] Wed, 14 July 2010 14:19 Go to previous messageGo to next message
Umesh  is currently offline Umesh
Messages: 4
Registered: July 2010
Junior Member
This install of Dali was done on RAD 8.0 Beta , which runs on 3.6 eclipse.

I was able to resolve the issue by installing Dali on fresh Install of RAD 8.0.

Thanks for your help Smile
Re: Not able to generate the JPA Manager Bean [message #547506 is a reply to message #546963] Sat, 17 July 2010 17:23 Go to previous message
Chris is currently offline Chris
Messages: 97
Registered: July 2009
Member
RAD 8.0 Beta eh!! Nice one.
Re: Not able to generate the JPA Manager Bean [message #619308 is a reply to message #545723] Thu, 08 July 2010 14:57 Go to previous message
Karen Butzke is currently offline Karen Butzke
Messages: 220
Registered: July 2009
Senior Member
Looks like a RAD compatibility issue to me. You're getting:
java.lang.NoSuchMethodError: org/eclipse/jpt/core/internal/utility/jdt/JDTTools.buildASTR oot(Lorg/eclipse/jdt/core/ICompilationUnit;)Lorg/eclipse/jdt /core/dom/CompilationUnit;
at com.ibm.etools.webtools.jpa.managerbean.util.ManagerBeanAnno tationUtil.addJPAManagerAnnotation(Unknown Source)


JDTTools.buildASTRoot() is a method that does not exist in the Dali 2.3 release.

Karen
Re: Not able to generate the JPA Manager Bean [message #619313 is a reply to message #545723] Thu, 08 July 2010 16:21 Go to previous message
Chris is currently offline Chris
Messages: 97
Registered: July 2009
Member
For info, Rational Application Developer v7.5.5.1, (which I believe is
the latest version) runs on Eclipse 3.4.2 not 3.6.


On 08/07/2010 19:22, Umesh wrote:
> Hi, I installed the latest version of Dali JPA plugin 2.3 on Rational
> Application Developer which runs on Eclipse 3.6.
>
> I was trying out a sample JAP application, was successfully able to
> generate the entities and configure them. However when I tried to Add
> the JPA Manager Beans to the entities created. I get the error below.
> Can anyone help me on this?
>
Re: Not able to generate the JPA Manager Bean [message #619316 is a reply to message #545723] Wed, 14 July 2010 14:19 Go to previous message
Umesh  is currently offline Umesh
Messages: 4
Registered: July 2010
Junior Member
This install of Dali was done on RAD 8.0 Beta , which runs on 3.6 eclipse.

I was able to resolve the issue by installing Dali on fresh Install of RAD 8.0.

Thanks for your help :)
Re: Not able to generate the JPA Manager Bean [message #619379 is a reply to message #619316] Sat, 17 July 2010 17:23 Go to previous message
Chris is currently offline Chris
Messages: 97
Registered: July 2009
Member
RAD 8.0 Beta eh!! Nice one.
Previous Topic:What's new in Dali Helios - Demo
Next Topic:Why so few users for such a fantastic project ?
Goto Forum:
  


Current Time: Fri Aug 22 21:45:12 EDT 2014

Powered by FUDForum. Page generated in 0.02331 seconds