description:
exception is thrown out when restart birt without closing the new data cube dialogue.

build number:
2.6.0.v20100302-0630

steps to reproduce:
1. new a sample data source, data set and a data cube (keep the new data cube dialogue open).
2. activate the highcontrast function using the keyboard shortcut
(left-alt+left-shift+printscreen), and click ok to restart birt-all-in-one.
3. check the error log view.

expected result:
no exception.

actual result:
exception is thrown out.
error log:
java.lang.nullpointerexception
at org.eclipse.birt.report.designer.ui.cubebuilder.action.newcubeaction.getcubes(newcubeaction.java:155)
at org.eclipse.birt.report.designer.ui.cubebuilder.action.newcubeaction.run(newcubeaction.java:133)
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:1050)
at org.eclipse.swt.widgets.display.rundeferredevents(display.java:3984)
at org.eclipse.swt.widgets.display.readanddispatch(display.java:3577)
at org.eclipse.ui.internal.workbench.runeventloop(workbench.java:2407)
at org.eclipse.ui.internal.workbench.runui(workbench.java:2371)
at org.eclipse.ui.internal.workbench.access$4(workbench.java:2220)
at org.eclipse.ui.internal.workbench$5.run(workbench.java:500)
at org.eclipse.core.databinding.observable.realm.runwithdefault(realm.java:332)
at org.eclipse.ui.internal.workbench.createandrunworkbench(workbench.java:493)
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:194)
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:367)
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:585)
at org.eclipse.equinox.launcher.main.invokeframework(main.java:611)
at org.eclipse.equinox.launcher.main.basicrun(main.java:566)
at org.eclipse.equinox.launcher.main.run(main.java:1363)
fixed it.
exception is still thrown out in build (2.6.0.v20100315-0630). reopen for further investigation.
please verify in 2.5.3 build.
verified in build (2.6.0.v20100317-0630).
verified in build (2.5.2.v20100316-0202), closed.
closed.