{"id":1213,"date":"2022-08-30T15:14:16","date_gmt":"2022-08-30T15:14:16","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/11\/10\/rad-eclipse-configure-jpa-entities-failing-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:14:16","modified_gmt":"2022-08-30T15:14:16","slug":"rad-eclipse-configure-jpa-entities-failing-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/rad-eclipse-configure-jpa-entities-failing-collection-of-common-programming-errors\/","title":{"rendered":"RAD\/Eclipse Configure JPA entities failing-Collection of common programming errors"},"content":{"rendered":"<p>Previously running portlet throwing error when &#8216;Configure JPA Entities&#8230;&#8217; (have used this functionality yesterday successfully). Message as follows<\/p>\n<pre><code>org.eclipse.core.runtime.CoreException: org\/eclipse\/jpt\/ui\/internal\/utility\/SynchronousUiCommandExecutor\n    at org.eclipse.wst.common.frameworks.internal.datamodel.ui.DataModelWizard.performFinish(Unknown Source)\n    at org.eclipse.jface.wizard.WizardDialog.finishPressed(Unknown Source)\n    at org.eclipse.jface.wizard.WizardDialog.buttonPressed(Unknown Source)\n    at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Unknown Source)\n    at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)\n    at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)\n    at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)\n    at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)\n    at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)\n    at org.eclipse.jface.window.Window.runEventLoop(Unknown Source)\n    at org.eclipse.jface.window.Window.open(Unknown Source)\n    at com.ibm.jee.jpa.entity.config.internal.launcher.AbstractDialogLauncher.launch(Unknown Source)\n    at com.ibm.jee.jpa.entity.config.internal.launcher.AbstractEntityConfigWizardLauncher.launch(Unknown Source)\n    at com.ibm.jee.jpa.entity.config.internal.action.EntityConfigAction.run(Unknown Source)\n    at org.eclipse.ui.internal.PluginAction.runWithEvent(Unknown Source)\n    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(Unknown Source)\n    at org.eclipse.jface.action.ActionContributionItem.access$2(Unknown Source)\n    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(Unknown Source)\n    at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)\n    at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)\n    at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)\n    at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)\n    at org.eclipse.ui.internal.Workbench.runEventLoop(Unknown Source)\n    at org.eclipse.ui.internal.Workbench.runUI(Unknown Source)\n    at org.eclipse.ui.internal.Workbench.access$4(Unknown Source)\n    at org.eclipse.ui.internal.Workbench$7.run(Unknown Source)\n    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Unknown Source)\n    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Unknown Source)\n    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(Unknown Source)\n    at org.eclipse.ui.internal.ide.application.IDEApplication.start(Unknown Source)\n    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Unknown Source)\n    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Unknown Source)\n    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Unknown Source)\n    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)\n    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)\n    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)\n    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)\n    at java.lang.reflect.Method.invoke(Unknown Source)\n    at org.eclipse.equinox.launcher.Main.invokeFramework(Unknown Source)\n    at org.eclipse.equinox.launcher.Main.basicRun(Unknown Source)\n    at org.eclipse.equinox.launcher.Main.run(Unknown Source)\n    at org.eclipse.equinox.launcher.Main.main(Unknown Source)\nContains: org\/eclipse\/jpt\/ui\/internal\/utility\/SynchronousUiCommandExecutor\nContains: org\/eclipse\/jpt\/ui\/internal\/utility\/SynchronousUiCommandExecutor\nContains: org\/eclipse\/jpt\/ui\/internal\/utility\/SynchronousUiCommandExecutor\njava.lang.NoClassDefFoundError: org\/eclipse\/jpt\/ui\/internal\/utility\/SynchronousUiCommandExecutor\n    at com.ibm.jee.jpa.entity.config.internal.codegen.EntityConfigCodeGenOperation.run(Unknown Source)\n    at com.ibm.jee.jpa.entity.config.internal.wizard.entityconfig.operation.JpaEntityConfigWizardDelegateOperation.execute(Unknown Source)\n    at com.ibm.jee.jpa.entity.config.internal.wizard.entityconfig.operation.JpaBaseWizardOperation$WizardWorkspaceBatchOperation.run(Unknown Source)\n    at org.eclipse.jdt.internal.core.BatchOperation.executeOperation(Unknown Source)\n    at org.eclipse.jdt.internal.core.JavaModelOperation.run(Unknown Source)\n    at org.eclipse.core.internal.resources.Workspace.run(Unknown Source)\n    at org.eclipse.jdt.core.JavaCore.run(Unknown Source)\n    at org.eclipse.jdt.core.JavaCore.run(Unknown Source)\n    at com.ibm.jee.jpa.entity.config.internal.wizard.entityconfig.operation.JpaBaseWizardOperation$WizardWorkspaceBatchJob.run(Unknown Source)\n    at com.ibm.jee.jpa.entity.config.internal.wizard.entityconfig.operation.JpaBaseWizardOperation.execute(Unknown Source)\n    at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl$1.run(Unknown Source)\n    at org.eclipse.core.internal.resources.Workspace.run(Unknown Source)\n    at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.runOperation(Unknown Source)\n    at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.runOperation(Unknown Source)\n    at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.doExecute(Unknown Source)\n    at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.executeImpl(Unknown Source)\n    at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.cacheThreadAndContinue(Unknown Source)\n    at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.execute(Unknown Source)\n    at org.eclipse.wst.common.frameworks.internal.datamodel.ui.DataModelWizard$1CatchThrowableRunnableWithProgress.run(Unknown Source)\n    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(Unknown Source)\n<\/code><\/pre>\n<p>Some context &#8211; portlet application developed in RAD as a learning demo of JPA, basic JSF functionality. Using RAD 8.5, JSF 2.0 and primefaces. Most recent change was to import primefaces functionality and linking to this for jsf components. JPA connection should still be working as webpage is still fetching data (after restarting, so shouldnt be cached).<\/p>\n<p>Any ideas..<\/p>\n<p id=\"rop\"><small>Originally posted 2013-11-10 00:10:09. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>Previously running portlet throwing error when &#8216;Configure JPA Entities&#8230;&#8217; (have used this functionality yesterday successfully). Message as follows org.eclipse.core.runtime.CoreException: org\/eclipse\/jpt\/ui\/internal\/utility\/SynchronousUiCommandExecutor at org.eclipse.wst.common.frameworks.internal.datamodel.ui.DataModelWizard.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.jee.jpa.entity.config.internal.launcher.AbstractDialogLauncher.launch(Unknown [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1213","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1213","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=1213"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1213\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=1213"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=1213"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=1213"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}