Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dali » Dali plugin problem
Dali plugin problem [message #583141] Sat, 22 April 2006 12:04
Eclipse UserFriend
Originally posted by: jakieskonto1.wp.pl

I use Eclipse SDK 3.2.0 with Build id: I20060223-1656 with dali-R-0.5M2
plugin. I also have installed all necessary prerequisites, so everything
looks ok when I check my eclipse configuration in manager configuration.
When I open persistence perspective everything looks also ok, but when I
star to work I receive the following exceptions:

Problems occurred when invoking code from plug-in: "org.eclipse.jface"
java.lang.IllegalArgumentException: Argument cannot be null
at org.eclipse.swt.SWT.error(SWT.java:3333)
at org.eclipse.swt.SWT.error(SWT.java:3272)
at org.eclipse.swt.SWT.error(SWT.java:3243)
at org.eclipse.swt.widgets.Widget.error(Widget.java:432)
at org.eclipse.swt.widgets.Combo.add(Combo.java:144)
at
org.eclipse.dali.ui.PersistenceProjectPropertiesPage.populat eSchemaNameCombo(PersistenceProjectPropertiesPage.java:133)
at
org.eclipse.dali.ui.PersistenceProjectPropertiesPage.createC ontents(PersistenceProjectPropertiesPage.java:92)
at
org.eclipse.jface.preference.PreferencePage.createControl(Pr eferencePage.java:232)
at
org.eclipse.jface.preference.PreferenceDialog.createPageCont rol(PreferenceDialog.java:1351)
at
org.eclipse.jface.preference.PreferenceDialog$12.run(Prefere nceDialog.java:1118)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:816)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:14 8)
at
org.eclipse.jface.preference.PreferenceDialog.showPage(Prefe renceDialog.java:1112)
at
org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.sho wPage(FilteredPreferenceDialog.java:429)
at
org.eclipse.jface.preference.PreferenceDialog$8.selectionCha nged(PreferenceDialog.java:630)
at
org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredV iewer.java:802)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:816)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:14 8)
at
org.eclipse.jface.viewers.StructuredViewer.firePostSelection Changed(StructuredViewer.java:800)
at
org.eclipse.jface.viewers.StructuredViewer.setSelection(Stru cturedViewer.java:1513)
at
org.eclipse.jface.preference.PreferenceDialog.selectSavedIte m(PreferenceDialog.java:920)
at
org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.sel ectSavedItem(FilteredPreferenceDialog.java:472)
at
org.eclipse.jface.preference.PreferenceDialog$3.run(Preferen ceDialog.java:334)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
at
org.eclipse.jface.preference.PreferenceDialog.createContents (PreferenceDialog.java:330)
at org.eclipse.jface.window.Window.create(Window.java:420)
at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1101)
at
org.eclipse.ui.internal.dialogs.PropertyDialog.createDialogO n(PropertyDialog.java:76)
at
org.eclipse.ui.dialogs.PropertyDialogAction.createDialog(Pro pertyDialogAction.java:174)
at
org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDial ogAction.java:155)
at
org.eclipse.ui.internal.ide.actions.ProjectPropertyDialogAct ion.run(ProjectPropertyDialogAction.java:76)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:492 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:530)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:480)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:392)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:925)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3287)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2907)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1899)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1863)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:417)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:106)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:99)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:92)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:68)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:374)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:169)
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.core.launcher.Main.invokeFramework(Main.java:338 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:282)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)

and another:

Problems occurred when invoking code from plug-in:
"org.eclipse.ui.workbench"
java.lang.NullPointerException
at
org.eclipse.dali.ui.views.TableComposite.populateTableCombo( TableComposite.java:191)
at
org.eclipse.dali.ui.views.TableComposite.populate(TableCompo site.java:174)
at
org.eclipse.dali.ui.views.EntityComposite.populateTablePanel (EntityComposite.java:350)
at
org.eclipse.dali.ui.views.EntityComposite.populate(EntityCom posite.java:324)
at
org.eclipse.dali.ui.views.PersistentTypeComposite.populate(P ersistentTypeComposite.java:173)
at
org.eclipse.dali.ui.views.PersistentTypeComposite.populate(P ersistentTypeComposite.java:156)
at
org.eclipse.dali.ui.views.PersistencePropertiesView.populate (PersistencePropertiesView.java:69)
at
org.eclipse.dali.ui.views.PersistencePropertiesView.setPersi stenceFile(PersistencePropertiesView.java:97)
at
org.eclipse.dali.ui.views.PersistenceOutlineView.setPersiste nceFile(PersistenceOutlineView.java:335)
at
org.eclipse.dali.ui.views.PersistenceOutlineView.setActiveIn put(PersistenceOutlineView.java:297)
at
org.eclipse.dali.ui.views.PersistenceOutlineView.handlePartR ef(PersistenceOutlineView.java:125)
at
org.eclipse.dali.ui.views.PersistenceOutlineView.access$0(Pe rsistenceOutlineView.java:118)
at
org.eclipse.dali.ui.views.PersistenceOutlineView$1.partBroug htToTop(PersistenceOutlineView.java:85)
at
org.eclipse.ui.internal.PartListenerList2$2.run(PartListener List2.java:83)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:1044)
at org.eclipse.core.runtime.Platform.run(Platform.java:783)
at
org.eclipse.ui.internal.PartListenerList2.fireEvent(PartList enerList2.java:54)
at
org.eclipse.ui.internal.PartListenerList2.firePartBroughtToT op(PartListenerList2.java:81)
at
org.eclipse.ui.internal.PartService.firePartBroughtToTop(Par tService.java:90)
at
org.eclipse.ui.internal.WorkbenchPagePartList.firePartBrough tToTop(WorkbenchPagePartList.java:75)
at
org.eclipse.ui.internal.WorkbenchPagePartList.fireActiveEdit orChanged(WorkbenchPagePartList.java:51)
at org.eclipse.ui.internal.PartList.setActiveEditor(PartList.ja va:143)
at
org.eclipse.ui.internal.WorkbenchPage.makeActiveEditor(Workb enchPage.java:1128)
at
org.eclipse.ui.internal.WorkbenchPage.setActivePart(Workbenc hPage.java:2903)
at
org.eclipse.ui.internal.WorkbenchPage.requestActivation(Work benchPage.java:2512)
at org.eclipse.ui.internal.PartPane.requestActivation(PartPane. java:249)
at org.eclipse.ui.internal.EditorPane.requestActivation(EditorP ane.java:88)
at org.eclipse.ui.internal.PartPane.setFocus(PartPane.java:295)
at org.eclipse.ui.internal.EditorPane.setFocus(EditorPane.java: 116)
at
org.eclipse.ui.internal.PartStack.presentationSelectionChang ed(PartStack.java:788)
at org.eclipse.ui.internal.PartStack.access$0(PartStack.java:77 1)
at org.eclipse.ui.internal.PartStack$1.selectPart(PartStack.jav a:119)
at
org.eclipse.ui.internal.presentations.util.TabbedStackPresen tation$1.handleEvent(TabbedStackPresentation.java:126)
at
org.eclipse.ui.internal.presentations.util.AbstractTabFolder .fireEvent(AbstractTabFolder.java:267)
at
org.eclipse.ui.internal.presentations.util.AbstractTabFolder .fireEvent(AbstractTabFolder.java:276)
at
org.eclipse.ui.internal.presentations.defaultpresentation.De faultTabFolder.access$1(DefaultTabFolder.java:1)
at
org.eclipse.ui.internal.presentations.defaultpresentation.De faultTabFolder$2.handleEvent(DefaultTabFolder.java:84)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:867)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:852)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:6 60)
at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.ja va:3138)
at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:19 22)
at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.j ava:288)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3125)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2758)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:103)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
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.core.launcher.Main.invokeFramework(Main.java:334 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)

The last problem is that some annotations are marked as not resolved, eg:
Column 'ID' can't be resolved
Table 'name' can't be resolved
etc.

Can anybody help me with this.
Previous Topic:Hibernate EJB3 (J2SE) vs. Generic EJB 3 Persistence
Next Topic:EntityManagerFactory
Goto Forum:
  


Current Time: Sun Nov 23 05:56:23 GMT 2014

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

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