Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dali » NPE when launching JPA Project wizard
NPE when launching JPA Project wizard [message #605088] Tue, 31 July 2007 04:05
sudhakar is currently offline sudhakar
Messages: 19
Registered: July 2009
Junior Member
When I choose JPA Project in the New projects window the following NPE
is being logged in the workspace .log file. If I hit next again I get an
blank JPA project wizard page. I have to maximize this wizard dialog
box in order for the fields to actually display. It's like the fields
are not being drawn the first time.


!ENTRY org.eclipse.ui 4 0 2007-07-30 22:55:16.994
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
at
org.eclipse.jpt.core.internal.facet.JpaFacetDataModelProvide r$1.compare(JpaFacetDataModelProvider.java:114)
at java.util.Arrays.mergeSort(Unknown Source)
at java.util.Arrays.mergeSort(Unknown Source)
at java.util.Arrays.mergeSort(Unknown Source)
at java.util.Arrays.sort(Unknown Source)
at
org.eclipse.jpt.core.internal.facet.JpaFacetDataModelProvide r.getValidPropertyDescriptors(JpaFacetDataModelProvider.java :109)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elImpl.getValidPropertyDescriptors(DataModelImpl.java:320)
at
org.eclipse.wst.common.frameworks.internal.datamodel.ui.Data ModelSynchHelper.setWidgetValue(DataModelSynchHelper.java:30 3)
at
org.eclipse.wst.common.frameworks.internal.datamodel.ui.Data ModelSynchHelper$1.run(DataModelSynchHelper.java:225)
at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.j ava:152)
at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchroniz er.java:118)
at org.eclipse.swt.widgets.Display.syncExec(Display.java:4097)
at
org.eclipse.wst.common.frameworks.internal.datamodel.ui.Data ModelSynchHelper.synchUIWithModel(DataModelSynchHelper.java: 212)
at
org.eclipse.wst.common.frameworks.internal.datamodel.ui.Data ModelSynchHelper.synchComposite(DataModelSynchHelper.java:44 2)
at
org.eclipse.wst.common.frameworks.internal.datamodel.ui.Data ModelSynchHelper.synchCombo(DataModelSynchHelper.java:479)
at
org.eclipse.jpt.ui.internal.wizards.JpaFacetWizardPage$Class pathConfigGroup. <init>(JpaFacetWizardPage.java:379)
at
org.eclipse.jpt.ui.internal.wizards.JpaFacetWizardPage.creat eTopLevelComposite(JpaFacetWizardPage.java:91)
at
org.eclipse.wst.common.frameworks.internal.datamodel.ui.Data ModelWizardPage.createControl(DataModelWizardPage.java:101)
at
org.eclipse.wst.common.project.facet.ui.ModifyFacetedProject Wizard.handleSelectedFacetsChangedEvent(ModifyFacetedProject Wizard.java:514)
at
org.eclipse.wst.common.project.facet.ui.ModifyFacetedProject Wizard.createPageControls(ModifyFacetedProjectWizard.java:24 0)
at
org.eclipse.wst.web.ui.internal.wizards.NewProjectDataModelF acetWizard.createPageControls(NewProjectDataModelFacetWizard .java:135)
at
org.eclipse.jface.wizard.WizardDialog.createPageControls(Wiz ardDialog.java:669)
at org.eclipse.jface.wizard.WizardDialog.setWizard(WizardDialog .java:1083)
at
org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDi alog.java:1142)
at org.eclipse.jface.wizard.WizardDialog.access$2(WizardDialog. java:1139)
at org.eclipse.jface.wizard.WizardDialog$4.run(WizardDialog.jav a:1128)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog. java:1126)
at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDial og.java:820)
at
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:369)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.jav a:616)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:227)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3682)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3293)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:820 )
at org.eclipse.jface.window.Window.open(Window.java:796)
at org.eclipse.ui.actions.NewProjectAction.run(NewProjectAction .java:116)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:545)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:490)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:402)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3682)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3293)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 19)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:106)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:153)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:106)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:76)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
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(Main.java: 504)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
at org.eclipse.equinox.launcher.Main.run(Main.java:1169)
Previous Topic:one to one mapping problems
Next Topic:one to one mapping problems
Goto Forum:
  


Current Time: Wed Sep 17 21:43:22 GMT 2014

Powered by FUDForum. Page generated in 0.04772 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software