Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

NPE when creating and deploying a new report

Hi, I've been going through the 'Creating and Deploying a new Report'
wiki page and got to step 7 of the 'Creating the Report' section.
When I press the Finish button nothing happens. I have this NPE in the
..log file:

!ENTRY org.eclipse.ui 4 0 2008-09-24 17:22:15.171
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:632)
at java.util.Properties.setProperty(Properties.java:163)
at
com.ibm.team.reports.ide.ui.oda.internal.wizards.GenericDataSetWizardPage.collectDataSetDesign(GenericDataSetWizardPage.java:194)
at
org.eclipse.datatools.connectivity.oda.design.internal.ui.DataSetWizardPageCore.finishDataSetDesign(DataSetWizardPageCore.java:368)
at
org.eclipse.datatools.connectivity.oda.design.internal.ui.DataSetWizardBase.collectDataSetDesignFromPage(DataSetWizardBase.java:333)
at
org.eclipse.datatools.connectivity.oda.design.internal.ui.DataSetWizardBase.finishDataSetDesign(DataSetWizardBase.java:356)
at
org.eclipse.datatools.connectivity.oda.design.internal.ui.DataSetWizardBase.performFinish(DataSetWizardBase.java:81)
at
org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
at
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
at
org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.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.java: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.birt.report.designer.ui.actions.NewDataSetAction.createNewDataSet(NewDataSetAction.java:157)
at
org.eclipse.birt.report.designer.ui.actions.NewDataSetAction.run(NewDataSetAction.java:142)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
at
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEvent(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.java:3682)
at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
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(Workbench.java:461)
at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
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(EclipseStarter.java:363)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)

Any ideas, or should I go direct to the BIRT project?

https://jazz.net/wiki/bin/view/Main/ReportsCreatingANewReport

Thanks,
Jeremy

0 votes



2 answers

Permanent link
I believe you are running into the issue described here:
https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/60923

Hope that helps!

-James
Jazz Install Team

Jeremy Hughes wrote:
Hi, I've been going through the 'Creating and Deploying a new Report'
wiki page and got to step 7 of the 'Creating the Report' section.
When I press the Finish button nothing happens. I have this NPE in the
.log file:

!ENTRY org.eclipse.ui 4 0 2008-09-24 17:22:15.171
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:632)
at java.util.Properties.setProperty(Properties.java:163)
at
com.ibm.team.reports.ide.ui.oda.internal.wizards.GenericDataSetWizardPage.collectDataSetDesign(GenericDataSetWizardPage.java:194)

at
org.eclipse.datatools.connectivity.oda.design.internal.ui.DataSetWizardPageCore.finishDataSetDesign(DataSetWizardPageCore.java:368)

at
org.eclipse.datatools.connectivity.oda.design.internal.ui.DataSetWizardBase.collectDataSetDesignFromPage(DataSetWizardBase.java:333)

at
org.eclipse.datatools.connectivity.oda.design.internal.ui.DataSetWizardBase.finishDataSetDesign(DataSetWizardBase.java:356)

at
org.eclipse.datatools.connectivity.oda.design.internal.ui.DataSetWizardBase.performFinish(DataSetWizardBase.java:81)

at
org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
at
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
at
org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.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.java: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.birt.report.designer.ui.actions.NewDataSetAction.createNewDataSet(NewDataSetAction.java:157)

at
org.eclipse.birt.report.designer.ui.actions.NewDataSetAction.run(NewDataSetAction.java:142)

at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)

at
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)

at
org.eclipse.jface.action.ActionContributionItem$5.handleEvent(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.java:3682)
at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
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(Workbench.java:461)
at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)

at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)

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(EclipseStarter.java:363)

at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:618)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)

Any ideas, or should I go direct to the BIRT project?

https://jazz.net/wiki/bin/view/Main/ReportsCreatingANewReport

Thanks,
Jeremy

0 votes


Permanent link
To make it easy/quick for forum readers, the summary of workitem 60923 is:

The data source needs to have the Project Area set to some non-empty
value. The doc will be updated to make this clear.

Cheers,
Geoff

James Stuckey wrote:
I believe you are running into the issue described here:
https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/60923


Hope that helps!

-James
Jazz Install Team

Jeremy Hughes wrote:
Hi, I've been going through the 'Creating and Deploying a new Report'
wiki page and got to step 7 of the 'Creating the Report' section.
When I press the Finish button nothing happens. I have this NPE in the
.log file:

!ENTRY org.eclipse.ui 4 0 2008-09-24 17:22:15.171
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:632)
at java.util.Properties.setProperty(Properties.java:163)
at
com.ibm.team.reports.ide.ui.oda.internal.wizards.GenericDataSetWizardPage.collectDataSetDesign(GenericDataSetWizardPage.java:194)

at
org.eclipse.datatools.connectivity.oda.design.internal.ui.DataSetWizardPageCore.finishDataSetDesign(DataSetWizardPageCore.java:368)

at
org.eclipse.datatools.connectivity.oda.design.internal.ui.DataSetWizardBase.collectDataSetDesignFromPage(DataSetWizardBase.java:333)

at
org.eclipse.datatools.connectivity.oda.design.internal.ui.DataSetWizardBase.finishDataSetDesign(DataSetWizardBase.java:356)

at
org.eclipse.datatools.connectivity.oda.design.internal.ui.DataSetWizardBase.performFinish(DataSetWizardBase.java:81)

at
org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)

at
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)

at
org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.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.java: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.birt.report.designer.ui.actions.NewDataSetAction.createNewDataSet(NewDataSetAction.java:157)

at
org.eclipse.birt.report.designer.ui.actions.NewDataSetAction.run(NewDataSetAction.java:142)

at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)

at
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)

at
org.eclipse.jface.action.ActionContributionItem$5.handleEvent(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.java:3682)
at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at
org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
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(Workbench.java:461)

at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)

at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)

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(EclipseStarter.java:363)

at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:618)
at
org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)

Any ideas, or should I go direct to the BIRT project?

https://jazz.net/wiki/bin/view/Main/ReportsCreatingANewReport

Thanks,
Jeremy

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Sep 24 '08, 12:28 p.m.

Question was seen: 6,382 times

Last updated: Sep 24 '08, 12:28 p.m.

Confirmation Cancel Confirm