Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DTP » dtp m3 and generic driver
dtp m3 and generic driver [message #7238] Sat, 21 January 2006 14:42 Go to next message
Haris Peco is currently offline Haris PecoFriend
Messages: 1072
Registered: July 2009
Senior Member
Hello,
I try dtp m3 (from jan 21) with eclipse 3.1 on linux
(i download lpg.jar and save in sql and sql.lexer plugins)
i try generic jdbc driver with oracle - it work but i have problem
with results view

when i open database perspective or show Result views i get next error

java.lang.NullPointerException
at
org.eclipse.datatools.sqltools.result.internal.ui.view.Resul tsView.init(ResultsView.java:287)
at
org.eclipse.ui.internal.ViewReference.createPartHelper(ViewR eference.java:280)
at org.eclipse.ui.internal.ViewReference.createPart(ViewReferen ce.java:180)
at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:552)
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:28 3)
at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:51 2)
at
org.eclipse.ui.internal.presentations.PresentablePart.setVis ible(PresentablePart.java:126)
at
org.eclipse.ui.internal.presentations.util.PresentablePartFo lder.select(PresentablePartFolder.java:268)
at
org.eclipse.ui.internal.presentations.util.LeftToRightTabOrd er.select(LeftToRightTabOrder.java:65)
at
org.eclipse.ui.internal.presentations.util.TabbedStackPresen tation.selectPart(TabbedStackPresentation.java:391)
at
org.eclipse.ui.internal.PartStack.refreshPresentationSelecti on(PartStack.java:1102)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.jav a:1051)
at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:12 56)
at org.eclipse.ui.internal.PartStack.createControl(PartStack.ja va:576)
at org.eclipse.ui.internal.PartStack.createControl(PartStack.ja va:528)
at
org.eclipse.ui.internal.PartSashContainer.createControl(Part SashContainer.java:485)
at
org.eclipse.ui.internal.PerspectiveHelper.activate(Perspecti veHelper.java:230)
at org.eclipse.ui.internal.Perspective.onActivate(Perspective.j ava:813)
at
org.eclipse.ui.internal.WorkbenchPage.setPerspective(Workben chPage.java:2979)
at
org.eclipse.ui.internal.WorkbenchPage.busySetPerspective(Wor kbenchPage.java:909)
at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPag e.java:894)
at org.eclipse.ui.internal.WorkbenchPage$12.run(WorkbenchPage.j ava:3102)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
at
org.eclipse.ui.internal.WorkbenchPage.setPerspective(Workben chPage.java:3100)
at
org.eclipse.ui.internal.ChangeToPerspectiveMenu.run(ChangeTo PerspectiveMenu.java:91)
at org.eclipse.ui.actions.PerspectiveMenu.run(PerspectiveMenu.j ava:331)
at
org.eclipse.ui.actions.PerspectiveMenu.runOther(PerspectiveM enu.java:346)
at
org.eclipse.ui.actions.PerspectiveMenu$3.runWithEvent(Perspe ctiveMenu.java:108)
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:538)
at org.eclipse.jface.action.ActionContributionItem.access$
(ActionContributionItem.java:488)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1021)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2867)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2572)
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(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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)
Re: dtp m3 and generic driver [message #7283 is a reply to message #7238] Sat, 21 January 2006 18:37 Go to previous message
Haris Peco is currently offline Haris PecoFriend
Messages: 1072
Registered: July 2009
Senior Member
i debug this and find error
line 287 ResultsView
_store = ResultsViewPlugin.getDefault().getPreferenceStore();

ResultsViewPlugin.getDefault() return null

this plugin isn't initialized - i can't find why
Haris Peco wrote:

> Hello,
> I try dtp m3 (from jan 21) with eclipse 3.1 on linux
> (i download lpg.jar and save in sql and sql.lexer plugins)
> i try generic jdbc driver with oracle - it work but i have problem
> with results view
>
> when i open database perspective or show Result views i get next error
>
> java.lang.NullPointerException
> at
>
org.eclipse.datatools.sqltools.result.internal.ui.view.Resul tsView.init(ResultsView.java:287)
> at
>
org.eclipse.ui.internal.ViewReference.createPartHelper(ViewR eference.java:280)
> at
> org.eclipse.ui.internal.ViewReference.createPart(ViewReferen ce.java:180)
> at
>
org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:552)
> at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:28 3)
> at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:51 2)
> at
>
org.eclipse.ui.internal.presentations.PresentablePart.setVis ible(PresentablePart.java:126)
> at
>
org.eclipse.ui.internal.presentations.util.PresentablePartFo lder.select(PresentablePartFolder.java:268)
> at
>
org.eclipse.ui.internal.presentations.util.LeftToRightTabOrd er.select(LeftToRightTabOrder.java:65)
> at
>
org.eclipse.ui.internal.presentations.util.TabbedStackPresen tation.selectPart(TabbedStackPresentation.java:391)
> at
>
org.eclipse.ui.internal.PartStack.refreshPresentationSelecti on(PartStack.java:1102)
> at org.eclipse.ui.internal.PartStack.setSelection(PartStack.jav a:1051)
> at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:12 56)
> at org.eclipse.ui.internal.PartStack.createControl(PartStack.ja va:576)
> at org.eclipse.ui.internal.PartStack.createControl(PartStack.ja va:528)
> at
>
org.eclipse.ui.internal.PartSashContainer.createControl(Part SashContainer.java:485)
> at
>
org.eclipse.ui.internal.PerspectiveHelper.activate(Perspecti veHelper.java:230)
> at org.eclipse.ui.internal.Perspective.onActivate(Perspective.j ava:813)
> at
>
org.eclipse.ui.internal.WorkbenchPage.setPerspective(Workben chPage.java:2979)
> at
>
org.eclipse.ui.internal.WorkbenchPage.busySetPerspective(Wor kbenchPage.java:909)
> at
> org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPag e.java:894)
> at org.eclipse.ui.internal.WorkbenchPage$12.run(WorkbenchPage.j ava:3102)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
> at
>
org.eclipse.ui.internal.WorkbenchPage.setPerspective(Workben chPage.java:3100)
> at
>
org.eclipse.ui.internal.ChangeToPerspectiveMenu.run(ChangeTo PerspectiveMenu.java:91)
> at org.eclipse.ui.actions.PerspectiveMenu.run(PerspectiveMenu.j ava:331)
> at
> org.eclipse.ui.actions.PerspectiveMenu.runOther(PerspectiveM enu.java:346)
> at
>
org.eclipse.ui.actions.PerspectiveMenu$3.runWithEvent(Perspe ctiveMenu.java:108)
> at
>
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:538)
> at org.eclipse.jface.action.ActionContributionItem.access$
> (ActionContributionItem.java:488)
> at
>
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:400)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1021)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2867)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2572)
> 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(NativeMethodAcce ssorImpl.java:39)
> at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> 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)
Re: dtp m3 and generic driver [message #570009 is a reply to message #7238] Sat, 21 January 2006 18:37 Go to previous message
Haris Peco is currently offline Haris PecoFriend
Messages: 1072
Registered: July 2009
Senior Member
i debug this and find error
line 287 ResultsView
_store = ResultsViewPlugin.getDefault().getPreferenceStore();

ResultsViewPlugin.getDefault() return null

this plugin isn't initialized - i can't find why
Haris Peco wrote:

> Hello,
> I try dtp m3 (from jan 21) with eclipse 3.1 on linux
> (i download lpg.jar and save in sql and sql.lexer plugins)
> i try generic jdbc driver with oracle - it work but i have problem
> with results view
>
> when i open database perspective or show Result views i get next error
>
> java.lang.NullPointerException
> at
>
org.eclipse.datatools.sqltools.result.internal.ui.view.Resul tsView.init(ResultsView.java:287)
> at
>
org.eclipse.ui.internal.ViewReference.createPartHelper(ViewR eference.java:280)
> at
> org.eclipse.ui.internal.ViewReference.createPart(ViewReferen ce.java:180)
> at
>
org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:552)
> at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:28 3)
> at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:51 2)
> at
>
org.eclipse.ui.internal.presentations.PresentablePart.setVis ible(PresentablePart.java:126)
> at
>
org.eclipse.ui.internal.presentations.util.PresentablePartFo lder.select(PresentablePartFolder.java:268)
> at
>
org.eclipse.ui.internal.presentations.util.LeftToRightTabOrd er.select(LeftToRightTabOrder.java:65)
> at
>
org.eclipse.ui.internal.presentations.util.TabbedStackPresen tation.selectPart(TabbedStackPresentation.java:391)
> at
>
org.eclipse.ui.internal.PartStack.refreshPresentationSelecti on(PartStack.java:1102)
> at org.eclipse.ui.internal.PartStack.setSelection(PartStack.jav a:1051)
> at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:12 56)
> at org.eclipse.ui.internal.PartStack.createControl(PartStack.ja va:576)
> at org.eclipse.ui.internal.PartStack.createControl(PartStack.ja va:528)
> at
>
org.eclipse.ui.internal.PartSashContainer.createControl(Part SashContainer.java:485)
> at
>
org.eclipse.ui.internal.PerspectiveHelper.activate(Perspecti veHelper.java:230)
> at org.eclipse.ui.internal.Perspective.onActivate(Perspective.j ava:813)
> at
>
org.eclipse.ui.internal.WorkbenchPage.setPerspective(Workben chPage.java:2979)
> at
>
org.eclipse.ui.internal.WorkbenchPage.busySetPerspective(Wor kbenchPage.java:909)
> at
> org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPag e.java:894)
> at org.eclipse.ui.internal.WorkbenchPage$12.run(WorkbenchPage.j ava:3102)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
> at
>
org.eclipse.ui.internal.WorkbenchPage.setPerspective(Workben chPage.java:3100)
> at
>
org.eclipse.ui.internal.ChangeToPerspectiveMenu.run(ChangeTo PerspectiveMenu.java:91)
> at org.eclipse.ui.actions.PerspectiveMenu.run(PerspectiveMenu.j ava:331)
> at
> org.eclipse.ui.actions.PerspectiveMenu.runOther(PerspectiveM enu.java:346)
> at
>
org.eclipse.ui.actions.PerspectiveMenu$3.runWithEvent(Perspe ctiveMenu.java:108)
> at
>
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:538)
> at org.eclipse.jface.action.ActionContributionItem.access$
> (ActionContributionItem.java:488)
> at
>
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:400)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1021)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2867)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2572)
> 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(NativeMethodAcce ssorImpl.java:39)
> at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> 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)
Previous Topic:dtp m3 and generic driver
Next Topic:Some foreign keys are not shown
Goto Forum:
  


Current Time: Sat Nov 09 03:58:43 GMT 2024

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

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

Back to the top