(no subject) [message #706747] |
Sun, 31 July 2011 20:48 |
Eclipse User |
|
|
|
Originally posted by: rbenjamin
NPE when clicking "Finish" using either a custom ODA source.
This can be reproduced simply by creating the two ODA sample/wizard
plugins, fixing the driver package reference, and clciking finish.
Ideas?
Thanks!
Roy
!SESSION 2011-07-31 13:40:05.331
-----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_13
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.platform.ide
Command-line arguments: -product org.eclipse.platform.ide -data
H:\Cassandra3/../runtime-EclipseApplication -dev
file:H:/Cassandra3/.metadata/.plugins/org.eclipse.pde.core/Eclipse
Application/dev.properties -os win32 -ws win32 -arch x86 -consoleLog -clean
!ENTRY org.eclipse.equinox.registry 2 0 2011-07-31 13:40:09.159
!MESSAGE The extensions and extension-points from the bundle
"org.eclipse.team.cvs.ssh" are ignored. The bundle is not marked as
singleton.
!ENTRY org.eclipse.emf.ecore 2 0 2011-07-31 13:40:13.800
!MESSAGE Both 'org.eclipse.gmf.bridge.trace' and
'org.eclipse.xpand.incremental' register an extension parser for 'trace'
log4j:WARN No appenders could be found for logger
(org.apache.cassandra.cql.jdbc.CassandraDriver).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for
more info.
!ENTRY org.eclipse.ui 4 0 2011-07-31 13:42:31.659
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
at
org.eclipse.birt.report.designer.data.ui.dataset.DataSetBasePage.createDataSetODAV3(DataSetBasePage.java:902)
at
org.eclipse.birt.report.designer.data.ui.dataset.DataSetBasePage.createSelectedDataSet(DataSetBasePage.java:861)
at
org.eclipse.birt.report.designer.data.ui.dataset.DefaultDataSetWizard.performFinish(DefaultDataSetWizard.java:84)
at
org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:811)
at
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:430)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at
org.eclipse.birt.report.designer.data.ui.actions.NewDataSetAction.createNewDataSet(NewDataSetAction.java:193)
at
org.eclipse.birt.report.designer.data.ui.actions.NewDataSetAction.run(NewDataSetAction.java:181)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
at org.eclipse.equinox.launcher.Main.main(Main.java:1384)
|
|
|
(no subject) [message #707368 is a reply to message #706747] |
Mon, 01 August 2011 14:52 |
|
When you build the designer oda make sure you check the box that states
that this plugin will contribute to the ui. And when you build the
runtime oda make sure to un-check the same check box. If you debug the
oda through eclipse make sure you have the following argument in the
debug configuration.
-XX:MaxPermSize=256M
Attached is an example of both projects created with Indigo.
Jason
On 7/31/2011 4:48 PM, rbenjamin wrote:
> NPE when clicking "Finish" using either a custom ODA source.
>
> This can be reproduced simply by creating the two ODA sample/wizard
> plugins, fixing the driver package reference, and clciking finish.
>
> Ideas?
>
> Thanks!
>
> Roy
>
>
> !SESSION 2011-07-31 13:40:05.331
> -----------------------------------------------
> eclipse.buildId=unknown
> java.version=1.6.0_13
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
> Framework arguments: -product org.eclipse.platform.ide
> Command-line arguments: -product org.eclipse.platform.ide -data
> H:\Cassandra3/../runtime-EclipseApplication -dev
> file:H:/Cassandra3/.metadata/.plugins/org.eclipse.pde.core/Eclipse
> Application/dev.properties -os win32 -ws win32 -arch x86 -consoleLog -clean
>
> !ENTRY org.eclipse.equinox.registry 2 0 2011-07-31 13:40:09.159
> !MESSAGE The extensions and extension-points from the bundle
> "org.eclipse.team.cvs.ssh" are ignored. The bundle is not marked as
> singleton.
>
> !ENTRY org.eclipse.emf.ecore 2 0 2011-07-31 13:40:13.800
> !MESSAGE Both 'org.eclipse.gmf.bridge.trace' and
> 'org.eclipse.xpand.incremental' register an extension parser for 'trace'
> log4j:WARN No appenders could be found for logger
> (org.apache.cassandra.cql.jdbc.CassandraDriver).
> log4j:WARN Please initialize the log4j system properly.
> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for
> more info.
>
> !ENTRY org.eclipse.ui 4 0 2011-07-31 13:42:31.659
> !MESSAGE Unhandled event loop exception
> !STACK 0
> java.lang.NullPointerException
> at
> org.eclipse.birt.report.designer.data.ui.dataset.DataSetBasePage.createDataSetODAV3(DataSetBasePage.java:902)
>
> at
> org.eclipse.birt.report.designer.data.ui.dataset.DataSetBasePage.createSelectedDataSet(DataSetBasePage.java:861)
>
> at
> org.eclipse.birt.report.designer.data.ui.dataset.DefaultDataSetWizard.performFinish(DefaultDataSetWizard.java:84)
>
> at
> org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:811)
> at
> org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:430)
> at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
> at
> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
> at org.eclipse.jface.window.Window.open(Window.java:801)
> at
> org.eclipse.birt.report.designer.data.ui.actions.NewDataSetAction.createNewDataSet(NewDataSetAction.java:193)
>
> at
> org.eclipse.birt.report.designer.data.ui.actions.NewDataSetAction.run(NewDataSetAction.java:181)
>
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
> at
> org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
>
> at
> org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
>
> at
> org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
>
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
> at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
>
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> at
> org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
>
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1384)
|
|
|
(no subject) [message #712123 is a reply to message #707368] |
Sun, 07 August 2011 02:36 |
Eclipse User |
|
|
|
Originally posted by: rbenjamin
Thank you for the help and example.
The example of course works fine.. :-)
There must be something different between the example and what I'm
trying to do; but I have not seen it yet.
I still have an exception thrown from DataSetDesignSession. The
exception's message says the data set ID is unknown.
I've finally got all the source and I can't seen where odaSataSetId is
validated.. it's not null in the debugger, and is only assigned.
Thanks
Roy
On 8/1/2011 7:52 AM, Jason Weathersby wrote:
> When you build the designer oda make sure you check the box that states
> that this plugin will contribute to the ui. And when you build the
> runtime oda make sure to un-check the same check box. If you debug the
> oda through eclipse make sure you have the following argument in the
> debug configuration.
> -XX:MaxPermSize=256M
>
> Attached is an example of both projects created with Indigo.
>
> Jason
>
>
> On 7/31/2011 4:48 PM, rbenjamin wrote:
>> NPE when clicking "Finish" using either a custom ODA source.
>>
>> This can be reproduced simply by creating the two ODA sample/wizard
>> plugins, fixing the driver package reference, and clciking finish.
>>
>> Ideas?
>>
>> Thanks!
>>
>> Roy
>>
>>
>> !SESSION 2011-07-31 13:40:05.331
>> -----------------------------------------------
>> eclipse.buildId=unknown
>> java.version=1.6.0_13
>> java.vendor=Sun Microsystems Inc.
>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
>> Framework arguments: -product org.eclipse.platform.ide
>> Command-line arguments: -product org.eclipse.platform.ide -data
>> H:\Cassandra3/../runtime-EclipseApplication -dev
>> file:H:/Cassandra3/.metadata/.plugins/org.eclipse.pde.core/Eclipse
>> Application/dev.properties -os win32 -ws win32 -arch x86 -consoleLog
>> -clean
>>
>> !ENTRY org.eclipse.equinox.registry 2 0 2011-07-31 13:40:09.159
>> !MESSAGE The extensions and extension-points from the bundle
>> "org.eclipse.team.cvs.ssh" are ignored. The bundle is not marked as
>> singleton.
>>
>> !ENTRY org.eclipse.emf.ecore 2 0 2011-07-31 13:40:13.800
>> !MESSAGE Both 'org.eclipse.gmf.bridge.trace' and
>> 'org.eclipse.xpand.incremental' register an extension parser for 'trace'
>> log4j:WARN No appenders could be found for logger
>> (org.apache.cassandra.cql.jdbc.CassandraDriver).
>> log4j:WARN Please initialize the log4j system properly.
>> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for
>> more info.
>>
>> !ENTRY org.eclipse.ui 4 0 2011-07-31 13:42:31.659
>> !MESSAGE Unhandled event loop exception
>> !STACK 0
>> java.lang.NullPointerException
>> at
>> org.eclipse.birt.report.designer.data.ui.dataset.DataSetBasePage.createDataSetODAV3(DataSetBasePage.java:902)
>>
>>
>> at
>> org.eclipse.birt.report.designer.data.ui.dataset.DataSetBasePage.createSelectedDataSet(DataSetBasePage.java:861)
>>
>>
>> at
>> org.eclipse.birt.report.designer.data.ui.dataset.DefaultDataSetWizard.performFinish(DefaultDataSetWizard.java:84)
>>
>>
>> at
>> org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:811)
>>
>> at
>> org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:430)
>>
>> at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
>> at
>> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)
>> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
>> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
>> at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
>> at org.eclipse.jface.window.Window.open(Window.java:801)
>> at
>> org.eclipse.birt.report.designer.data.ui.actions.NewDataSetAction.createNewDataSet(NewDataSetAction.java:193)
>>
>>
>> at
>> org.eclipse.birt.report.designer.data.ui.actions.NewDataSetAction.run(NewDataSetAction.java:181)
>>
>>
>> at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
>> at
>> org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
>>
>>
>> at
>> org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
>>
>>
>> at
>> org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
>>
>>
>> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
>> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
>> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
>> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
>> at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
>> at
>> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
>>
>>
>> at
>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
>>
>> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>> at
>> org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
>>
>>
>> at
>> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
>>
>>
>> at
>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
>>
>>
>> at
>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
>>
>>
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
>>
>>
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
>>
>>
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>
>>
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>
>>
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
>> at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
>> at org.eclipse.equinox.launcher.Main.main(Main.java:1384)
>
|
|
|
(no subject) [message #712124 is a reply to message #707368] |
Sun, 07 August 2011 02:43 |
Eclipse User |
|
|
|
Originally posted by: rbenjamin
I assume you mean that when using the Wizard to "create the plugin" not
"build the plugin"?
On 8/1/2011 7:52 AM, Jason Weathersby wrote:
> When you build the designer oda make sure you check the box that states
> that this plugin will contribute to the ui. And when you build the
> runtime oda make sure to un-check the same check box. If you debug the
> oda through eclipse make sure you have the following argument in the
> debug configuration.
> -XX:MaxPermSize=256M
|
|
|
(no subject) [message #712800 is a reply to message #707368] |
Sun, 07 August 2011 19:03 |
Eclipse User |
|
|
|
Originally posted by: rbenjamin
Thanks,
It's working now. I did it the old fashioned way, I incrementally
copied my code into your working example. Someday I'll go back and
figure out what was wrong to begin with.
Thanks
Roy
On 8/1/2011 7:52 AM, Jason Weathersby wrote:
> When you build the designer oda make sure you check the box that states
> that this plugin will contribute to the ui. And when you build the
> runtime oda make sure to un-check the same check box. If you debug the
> oda through eclipse make sure you have the following argument in the
> debug configuration.
> -XX:MaxPermSize=256M
>
> Attached is an example of both projects created with Indigo.
>
> Jason
>
>
> On 7/31/2011 4:48 PM, rbenjamin wrote:
>> NPE when clicking "Finish" using either a custom ODA source.
>>
>> This can be reproduced simply by creating the two ODA sample/wizard
>> plugins, fixing the driver package reference, and clciking finish.
>>
>> Ideas?
>>
>> Thanks!
>>
>> Roy
>>
>>
>> !SESSION 2011-07-31 13:40:05.331
>> -----------------------------------------------
>> eclipse.buildId=unknown
>> java.version=1.6.0_13
>> java.vendor=Sun Microsystems Inc.
>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
>> Framework arguments: -product org.eclipse.platform.ide
>> Command-line arguments: -product org.eclipse.platform.ide -data
>> H:\Cassandra3/../runtime-EclipseApplication -dev
>> file:H:/Cassandra3/.metadata/.plugins/org.eclipse.pde.core/Eclipse
>> Application/dev.properties -os win32 -ws win32 -arch x86 -consoleLog
>> -clean
>>
>> !ENTRY org.eclipse.equinox.registry 2 0 2011-07-31 13:40:09.159
>> !MESSAGE The extensions and extension-points from the bundle
>> "org.eclipse.team.cvs.ssh" are ignored. The bundle is not marked as
>> singleton.
>>
>> !ENTRY org.eclipse.emf.ecore 2 0 2011-07-31 13:40:13.800
>> !MESSAGE Both 'org.eclipse.gmf.bridge.trace' and
>> 'org.eclipse.xpand.incremental' register an extension parser for 'trace'
>> log4j:WARN No appenders could be found for logger
>> (org.apache.cassandra.cql.jdbc.CassandraDriver).
>> log4j:WARN Please initialize the log4j system properly.
>> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for
>> more info.
>>
>> !ENTRY org.eclipse.ui 4 0 2011-07-31 13:42:31.659
>> !MESSAGE Unhandled event loop exception
>> !STACK 0
>> java.lang.NullPointerException
>> at
>> org.eclipse.birt.report.designer.data.ui.dataset.DataSetBasePage.createDataSetODAV3(DataSetBasePage.java:902)
>>
>>
>> at
>> org.eclipse.birt.report.designer.data.ui.dataset.DataSetBasePage.createSelectedDataSet(DataSetBasePage.java:861)
>>
>>
>> at
>> org.eclipse.birt.report.designer.data.ui.dataset.DefaultDataSetWizard.performFinish(DefaultDataSetWizard.java:84)
>>
>>
>> at
>> org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:811)
>>
>> at
>> org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:430)
>>
>> at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
>> at
>> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)
>> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
>> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
>> at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
>> at org.eclipse.jface.window.Window.open(Window.java:801)
>> at
>> org.eclipse.birt.report.designer.data.ui.actions.NewDataSetAction.createNewDataSet(NewDataSetAction.java:193)
>>
>>
>> at
>> org.eclipse.birt.report.designer.data.ui.actions.NewDataSetAction.run(NewDataSetAction.java:181)
>>
>>
>> at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
>> at
>> org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
>>
>>
>> at
>> org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
>>
>>
>> at
>> org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
>>
>>
>> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
>> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
>> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
>> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
>> at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
>> at
>> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
>>
>>
>> at
>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
>>
>> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>> at
>> org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
>>
>>
>> at
>> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
>>
>>
>> at
>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
>>
>>
>> at
>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
>>
>>
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
>>
>>
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
>>
>>
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>
>>
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>
>>
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
>> at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
>> at org.eclipse.equinox.launcher.Main.main(Main.java:1384)
>
|
|
|
(no subject) [message #713644 is a reply to message #712800] |
Mon, 08 August 2011 17:27 |
|
Thanks for the update. If you locate how you fixed it please post it.
Jason
On 8/7/2011 3:03 PM, rbenjamin wrote:
>
> Thanks,
>
> It's working now. I did it the old fashioned way, I incrementally copied
> my code into your working example. Someday I'll go back and figure out
> what was wrong to begin with.
>
> Thanks
> Roy
>
>
>
> On 8/1/2011 7:52 AM, Jason Weathersby wrote:
>> When you build the designer oda make sure you check the box that states
>> that this plugin will contribute to the ui. And when you build the
>> runtime oda make sure to un-check the same check box. If you debug the
>> oda through eclipse make sure you have the following argument in the
>> debug configuration.
>> -XX:MaxPermSize=256M
>>
>> Attached is an example of both projects created with Indigo.
>>
>> Jason
>>
>>
>> On 7/31/2011 4:48 PM, rbenjamin wrote:
>>> NPE when clicking "Finish" using either a custom ODA source.
>>>
>>> This can be reproduced simply by creating the two ODA sample/wizard
>>> plugins, fixing the driver package reference, and clciking finish.
>>>
>>> Ideas?
>>>
>>> Thanks!
>>>
>>> Roy
>>>
>>>
>>> !SESSION 2011-07-31 13:40:05.331
>>> -----------------------------------------------
>>> eclipse.buildId=unknown
>>> java.version=1.6.0_13
>>> java.vendor=Sun Microsystems Inc.
>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
>>> Framework arguments: -product org.eclipse.platform.ide
>>> Command-line arguments: -product org.eclipse.platform.ide -data
>>> H:\Cassandra3/../runtime-EclipseApplication -dev
>>> file:H:/Cassandra3/.metadata/.plugins/org.eclipse.pde.core/Eclipse
>>> Application/dev.properties -os win32 -ws win32 -arch x86 -consoleLog
>>> -clean
>>>
>>> !ENTRY org.eclipse.equinox.registry 2 0 2011-07-31 13:40:09.159
>>> !MESSAGE The extensions and extension-points from the bundle
>>> "org.eclipse.team.cvs.ssh" are ignored. The bundle is not marked as
>>> singleton.
>>>
>>> !ENTRY org.eclipse.emf.ecore 2 0 2011-07-31 13:40:13.800
>>> !MESSAGE Both 'org.eclipse.gmf.bridge.trace' and
>>> 'org.eclipse.xpand.incremental' register an extension parser for 'trace'
>>> log4j:WARN No appenders could be found for logger
>>> (org.apache.cassandra.cql.jdbc.CassandraDriver).
>>> log4j:WARN Please initialize the log4j system properly.
>>> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for
>>> more info.
>>>
>>> !ENTRY org.eclipse.ui 4 0 2011-07-31 13:42:31.659
>>> !MESSAGE Unhandled event loop exception
>>> !STACK 0
>>> java.lang.NullPointerException
>>> at
>>> org.eclipse.birt.report.designer.data.ui.dataset.DataSetBasePage.createDataSetODAV3(DataSetBasePage.java:902)
>>>
>>>
>>>
>>> at
>>> org.eclipse.birt.report.designer.data.ui.dataset.DataSetBasePage.createSelectedDataSet(DataSetBasePage.java:861)
>>>
>>>
>>>
>>> at
>>> org.eclipse.birt.report.designer.data.ui.dataset.DefaultDataSetWizard.performFinish(DefaultDataSetWizard.java:84)
>>>
>>>
>>>
>>> at
>>> org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:811)
>>>
>>>
>>> at
>>> org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:430)
>>>
>>>
>>> at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
>>> at
>>> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)
>>>
>>> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
>>> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
>>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
>>> at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
>>> at org.eclipse.jface.window.Window.open(Window.java:801)
>>> at
>>> org.eclipse.birt.report.designer.data.ui.actions.NewDataSetAction.createNewDataSet(NewDataSetAction.java:193)
>>>
>>>
>>>
>>> at
>>> org.eclipse.birt.report.designer.data.ui.actions.NewDataSetAction.run(NewDataSetAction.java:181)
>>>
>>>
>>>
>>> at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
>>> at
>>> org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
>>>
>>>
>>>
>>> at
>>> org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
>>>
>>>
>>>
>>> at
>>> org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
>>>
>>>
>>>
>>> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
>>> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
>>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
>>> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
>>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
>>> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
>>> at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
>>> at
>>> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
>>>
>>>
>>>
>>> at
>>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
>>>
>>>
>>> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>>> at
>>> org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
>>>
>>>
>>>
>>> at
>>> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
>>>
>>>
>>>
>>> at
>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
>>>
>>>
>>>
>>> at
>>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
>>>
>>>
>>>
>>> at
>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
>>>
>>>
>>>
>>> at
>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
>>>
>>>
>>>
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>
>>>
>>>
>>> at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>
>>>
>>>
>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
>>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
>>> at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
>>> at org.eclipse.equinox.launcher.Main.main(Main.java:1384)
>>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03515 seconds