Closed eclipse-modisco-bot closed 3 hours ago
By Nicolas Bros on Jun 17, 2010 04:15
I couldn't reproduce with this QuerySet, but this should be fixed anyway in revision 2585 (I added a check for null CompilationUnit).
By Hugo Bruneliere on Oct 04, 2010 13:43
Bug fixed.
| --- | --- | | Bugzilla Link | 317023 | | Status | CLOSED FIXED | | Importance | P3 normal | | Reported | Jun 16, 2010 06:03 EDT | | Modified | Oct 18, 2010 08:29 EDT | | Version | 0.9.0 | | Reporter | Gabriel BARBIER |
Description
Created attachment 172025\ The query set with the exception
Hello,\ using Eclipse RC4 and MoDisco 0.9 (from SVN), I get following exception when I open a model of query set:
java.lang.NullPointerException\ at org.eclipse.gmt.modisco.infra.query.editor.presentation.QueryEditor.getShowInContext(QueryEditor.java:1795)\ at org.eclipse.ui.internal.services.WorkbenchSourceProvider.getContext(WorkbenchSourceProvider.java:412)\ at org.eclipse.ui.internal.services.WorkbenchSourceProvider.updateActivePart(WorkbenchSourceProvider.java:478)\ at org.eclipse.ui.internal.services.WorkbenchSourceProvider.checkActivePart(WorkbenchSourceProvider.java:305)\ at org.eclipse.ui.internal.services.WorkbenchSourceProvider.checkActivePart(WorkbenchSourceProvider.java:300)\ at org.eclipse.ui.internal.services.WorkbenchSourceProvider$1.partOpened(WorkbenchSourceProvider.java:251)\ at org.eclipse.ui.internal.PartListenerList$5.run(PartListenerList.java:132)\ at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)\ at org.eclipse.core.runtime.Platform.run(Platform.java:888)\ at org.eclipse.ui.internal.PartListenerList.fireEvent(PartListenerList.java:57)\ at org.eclipse.ui.internal.PartListenerList.firePartOpened(PartListenerList.java:130)\ at org.eclipse.ui.internal.PartService.firePartOpened(PartService.java:276)\ at org.eclipse.ui.internal.WWinPartService$WWinListener.partOpened(WWinPartService.java:54)\ at org.eclipse.ui.internal.PartListenerList2$5.run(PartListenerList2.java:130)\ at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)\ at org.eclipse.core.runtime.Platform.run(Platform.java:888)\ at org.eclipse.ui.internal.PartListenerList2.fireEvent(PartListenerList2.java:55)\ at org.eclipse.ui.internal.PartListenerList2.firePartOpened(PartListenerList2.java:128)\ at org.eclipse.ui.internal.PartService.firePartOpened(PartService.java:280)\ at org.eclipse.ui.internal.WorkbenchPagePartList.firePartOpened(WorkbenchPagePartList.java:35)\ at org.eclipse.ui.internal.PartList.partOpened(PartList.java:241)\ at org.eclipse.ui.internal.PartList.access$0(PartList.java:210)\ at org.eclipse.ui.internal.PartList$1.propertyChanged(PartList.java:40)\ at org.eclipse.ui.internal.WorkbenchPartReference.fireInternalPropertyChange(WorkbenchPartReference.java:375)\ at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:610)\ at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:313)\ at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:529)\ at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180)\ at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270)\ at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)\ at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473)\ at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1254)\ at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1207)\ at org.eclipse.ui.internal.PartStack.presentationSelectionChanged(PartStack.java:841)\ at org.eclipse.ui.internal.PartStack.access$1(PartStack.java:827)\ at org.eclipse.ui.internal.PartStack$1.selectPart(PartStack.java:137)\ at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:133)\ at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:269)\ at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:278)\ at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder.access$1(DefaultTabFolder.java:1)\ at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder$2.handleEvent(DefaultTabFolder.java:88)\ at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)\ at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)\ at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1076)\ at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)\ at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:773)\ at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:2736)\ at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1424)\ at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:257)\ at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)\ at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)\ 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:2624)\ at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2588)\ at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2422)\ at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:670)\ at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)\ at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:663)\ 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:1407)
Aggregation.querySet