eclipse-modisco / org.eclipse.modisco

Eclipse Public License 2.0
0 stars 0 forks source link

cannot create a QuerySet (NPE in the wizard) #159

Closed eclipse-modisco-bot closed 2 hours ago

eclipse-modisco-bot commented 2 hours ago

| --- | --- | | Bugzilla Link | 305897 | | Status | CLOSED FIXED | | Importance | P3 major | | Reported | Mar 15, 2010 13:29 EDT | | Modified | Sep 22, 2010 05:42 EDT | | Version | 0.8.0 | | Depends on | 305961 | | Reporter | Nicolas Bros |

Description

java.lang.NullPointerException\ at org.eclipse.ui.dialogs.WizardNewFileCreationPage.isFilteredByParent(WizardNewFileCreationPage.java:779)\ at org.eclipse.ui.dialogs.WizardNewFileCreationPage.validatePage(WizardNewFileCreationPage.java:768)\ at org.eclipse.gmt.modisco.infra.query.editor.presentation.QueryModelWizard$QueryModelWizardNewFileCreationPage.validatePage(QueryModelWizard.java:312)\ at org.eclipse.ui.dialogs.WizardNewFileCreationPage.handleEvent(WizardNewFileCreationPage.java:572)\ at org.eclipse.ui.internal.ide.misc.ResourceAndContainerGroup.handleEvent(ResourceAndContainerGroup.java:364)\ 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.Widget.sendEvent(Widget.java:1074)\ at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1055)\ at org.eclipse.swt.widgets.Text.wmCommandChild(Text.java:2526)\ at org.eclipse.swt.widgets.Control.WM_COMMAND(Control.java:4276)\ at org.eclipse.swt.widgets.Control.windowProc(Control.java:4142)\ at org.eclipse.swt.widgets.Display.windowProc(Display.java:4830)\ at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)\ at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2359)\ at org.eclipse.swt.widgets.Text.callWindowProc(Text.java:255)\ at org.eclipse.swt.widgets.Control.windowProc(Control.java:4230)\ at org.eclipse.swt.widgets.Text.windowProc(Text.java:2170)\ at org.eclipse.swt.widgets.Display.windowProc(Display.java:4830)\ at org.eclipse.swt.internal.win32.OS.SetWindowTextW(Native Method)\ at org.eclipse.swt.internal.win32.OS.SetWindowText(OS.java:3315)\ at org.eclipse.swt.widgets.Text.setText(Text.java:1961)\ at org.eclipse.ui.internal.ide.misc.ResourceAndContainerGroup.setResource(ResourceAndContainerGroup.java:410)\ at org.eclipse.ui.dialogs.WizardNewFileCreationPage.createControl(WizardNewFileCreationPage.java:234)\ at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1220)\ at org.eclipse.jface.wizard.WizardDialog.access$4(WizardDialog.java:1212)\ at org.eclipse.jface.wizard.WizardDialog$6.run(WizardDialog.java:1201)\ at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)\ at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:1199)\ at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:888)\ at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:425)\ at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)\ at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)\ 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:4037)\ at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3628)\ at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)\ at org.eclipse.jface.window.Window.open(Window.java:801)\ at org.eclipse.ui.internal.handlers.WizardHandler$New.executeHandler(WizardHandler.java:254)\ at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:274)\ at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)\ at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)\ at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)\ at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)\ at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241)\ at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)\ 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:4037)\ at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3628)\ at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2416)\ at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2380)\ at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2229)\ at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:504)\ at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)\ at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:497)\ 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(Unknown Source)\ at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)\ at java.lang.reflect.Method.invoke(Unknown Source)\ at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)\ at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)\ at org.eclipse.equinox.launcher.Main.run(Main.java:1406)

eclipse-modisco-bot commented 2 hours ago

By Nicolas Bros on Mar 15, 2010 13:46

This seems to happen only if the workspace is still empty.

eclipse-modisco-bot commented 2 hours ago

By Nicolas Bros on Mar 16, 2010 08:19

I added a temporary workaround (with a FIXME comment) in the Query and Facet wizards, so that it works in M6. And a fix has just been committed in Eclipse Platform for M7.\ So, I'm marking this bug as fixed.

eclipse-modisco-bot commented 2 hours ago

By Hugo Bruneliere on Mar 30, 2010 04:49

Wizard updated.