Uploaded image for project: 'Teiid Designer'
  1. Teiid Designer
  2. TEIIDDES-850

Teiid System Catalog View throws exception when SYS/VirtualDatabases tree node selected

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 7.2
    • Fix Version/s: 7.3
    • Component/s: Views
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      1. EXEC: Open Teiid System Catalog View

      2. EXEC: Select SYS/VirtualDatabases tree node
      3. ASSERT: There are no exceptions reported

      Now this test case fails with exception

      java.lang.IllegalArgumentException: Path must include project and resource name: /SYS.xmi
      	at org.eclipse.core.runtime.Assert.isLegal(Assert.java:63)
      	at org.eclipse.core.internal.resources.Workspace.newResource(Workspace.java:1801)
      	at org.eclipse.core.internal.resources.Container.getFile(Container.java:207)
      	at org.eclipse.bpel.validator.factory.AdapterFactory.getFileFromPlatformURI(AdapterFactory.java:586)
      	at org.eclipse.bpel.validator.factory.AdapterFactory.getFileFromURI(AdapterFactory.java:561)
      	at org.eclipse.bpel.validator.factory.AdapterFactory.adapt_EObject2IResource(AdapterFactory.java:134)
      	at org.eclipse.bpel.validator.factory.AdapterFactory.getAdapter(AdapterFactory.java:83)
      	at org.eclipse.core.internal.adapter.AdapterFactoryProxy.getAdapter(AdapterFactoryProxy.java:80)
      	at org.eclipse.core.internal.runtime.AdapterManager.getAdapter(AdapterManager.java:295)
      	at org.eclipse.ui.internal.util.Util.getAdapter(Util.java:118)
      	at org.eclipse.ui.internal.ActionExpression$ObjectStateExpression.isEnabledFor(ActionExpression.java:513)
      	at org.eclipse.ui.internal.ActionExpression$AndExpression.isEnabledFor(ActionExpression.java:132)
      	at org.eclipse.ui.internal.ActionExpression$SingleExpression.isEnabledFor(ActionExpression.java:743)
      	at org.eclipse.ui.internal.ActionExpression.isEnabledFor(ActionExpression.java:1053)
      	at org.eclipse.ui.internal.ActionExpression.isEnabledFor(ActionExpression.java:1035)
      	at org.eclipse.ui.SelectionEnabler.isEnabledFor(SelectionEnabler.java:303)
      	at org.eclipse.ui.SelectionEnabler.isEnabledForSelection(SelectionEnabler.java:349)
      	at org.eclipse.ui.internal.PluginAction.refreshEnablement(PluginAction.java:203)
      	at org.eclipse.ui.internal.PluginAction.selectionChanged(PluginAction.java:277)
      	at org.eclipse.ui.internal.PluginAction.selectionChanged(PluginAction.java:299)
      	at org.eclipse.ui.internal.AbstractSelectionService.fireSelection(AbstractSelectionService.java:156)
      	at org.eclipse.ui.internal.AbstractSelectionService.setActivePart(AbstractSelectionService.java:282)
      	at org.eclipse.ui.internal.WWinPartService.updateActivePart(WWinPartService.java:134)
      	at org.eclipse.ui.internal.WWinPartService.access$0(WWinPartService.java:125)
      	at org.eclipse.ui.internal.WWinPartService$WWinListener.partDeactivated(WWinPartService.java:50)
      	at org.eclipse.ui.internal.PartListenerList2$4.run(PartListenerList2.java:115)
      	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.firePartDeactivated(PartListenerList2.java:113)
      	at org.eclipse.ui.internal.PartService.firePartDeactivated(PartService.java:242)
      	at org.eclipse.ui.internal.PartService.setActivePart(PartService.java:300)
      	at org.eclipse.ui.internal.WorkbenchPagePartList.fireActivePartChanged(WorkbenchPagePartList.java:57)
      	at org.eclipse.ui.internal.PartList.setActivePart(PartList.java:136)
      	at org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:3537)
      	at org.eclipse.ui.internal.WorkbenchPage.requestActivation(WorkbenchPage.java:3077)
      	at org.eclipse.ui.internal.PartPane.requestActivation(PartPane.java:279)
      	at org.eclipse.ui.internal.PartPane.setFocus(PartPane.java:325)
      	at org.eclipse.ui.internal.PartStack.presentationSelectionChanged(PartStack.java:844)
      	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.showSystemMenu(TabbedStackPresentation.java:489)
      	at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:145)
      	at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:269)
      	at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:282)
      	at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.handleContextMenu(AbstractTabFolder.java:340)
      	at org.eclipse.ui.internal.presentations.util.AbstractTabFolder$1.handleEvent(AbstractTabFolder.java:60)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1282)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1267)
      	at org.eclipse.swt.widgets.Control.showMenu(Control.java:4290)
      	at org.eclipse.swt.widgets.Control.gtk_event_after(Control.java:2724)
      	at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1738)
      	at org.eclipse.swt.widgets.Control.windowProc(Control.java:4796)
      	at org.eclipse.swt.widgets.Display.windowProc(Display.java:4360)
      	at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)
      	at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:8168)
      	at org.eclipse.swt.widgets.Display.eventProc(Display.java:1238)
      	at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
      	at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:2229)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3159)
      	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:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:616)
      	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)
      
      Show
      1. EXEC: Open Teiid System Catalog View 2. EXEC: Select SYS/VirtualDatabases tree node 3. ASSERT: There are no exceptions reported Now this test case fails with exception java.lang.IllegalArgumentException: Path must include project and resource name: /SYS.xmi at org.eclipse.core.runtime.Assert.isLegal(Assert.java:63) at org.eclipse.core.internal.resources.Workspace.newResource(Workspace.java:1801) at org.eclipse.core.internal.resources.Container.getFile(Container.java:207) at org.eclipse.bpel.validator.factory.AdapterFactory.getFileFromPlatformURI(AdapterFactory.java:586) at org.eclipse.bpel.validator.factory.AdapterFactory.getFileFromURI(AdapterFactory.java:561) at org.eclipse.bpel.validator.factory.AdapterFactory.adapt_EObject2IResource(AdapterFactory.java:134) at org.eclipse.bpel.validator.factory.AdapterFactory.getAdapter(AdapterFactory.java:83) at org.eclipse.core.internal.adapter.AdapterFactoryProxy.getAdapter(AdapterFactoryProxy.java:80) at org.eclipse.core.internal.runtime.AdapterManager.getAdapter(AdapterManager.java:295) at org.eclipse.ui.internal.util.Util.getAdapter(Util.java:118) at org.eclipse.ui.internal.ActionExpression$ObjectStateExpression.isEnabledFor(ActionExpression.java:513) at org.eclipse.ui.internal.ActionExpression$AndExpression.isEnabledFor(ActionExpression.java:132) at org.eclipse.ui.internal.ActionExpression$SingleExpression.isEnabledFor(ActionExpression.java:743) at org.eclipse.ui.internal.ActionExpression.isEnabledFor(ActionExpression.java:1053) at org.eclipse.ui.internal.ActionExpression.isEnabledFor(ActionExpression.java:1035) at org.eclipse.ui.SelectionEnabler.isEnabledFor(SelectionEnabler.java:303) at org.eclipse.ui.SelectionEnabler.isEnabledForSelection(SelectionEnabler.java:349) at org.eclipse.ui.internal.PluginAction.refreshEnablement(PluginAction.java:203) at org.eclipse.ui.internal.PluginAction.selectionChanged(PluginAction.java:277) at org.eclipse.ui.internal.PluginAction.selectionChanged(PluginAction.java:299) at org.eclipse.ui.internal.AbstractSelectionService.fireSelection(AbstractSelectionService.java:156) at org.eclipse.ui.internal.AbstractSelectionService.setActivePart(AbstractSelectionService.java:282) at org.eclipse.ui.internal.WWinPartService.updateActivePart(WWinPartService.java:134) at org.eclipse.ui.internal.WWinPartService.access$0(WWinPartService.java:125) at org.eclipse.ui.internal.WWinPartService$WWinListener.partDeactivated(WWinPartService.java:50) at org.eclipse.ui.internal.PartListenerList2$4.run(PartListenerList2.java:115) 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.firePartDeactivated(PartListenerList2.java:113) at org.eclipse.ui.internal.PartService.firePartDeactivated(PartService.java:242) at org.eclipse.ui.internal.PartService.setActivePart(PartService.java:300) at org.eclipse.ui.internal.WorkbenchPagePartList.fireActivePartChanged(WorkbenchPagePartList.java:57) at org.eclipse.ui.internal.PartList.setActivePart(PartList.java:136) at org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:3537) at org.eclipse.ui.internal.WorkbenchPage.requestActivation(WorkbenchPage.java:3077) at org.eclipse.ui.internal.PartPane.requestActivation(PartPane.java:279) at org.eclipse.ui.internal.PartPane.setFocus(PartPane.java:325) at org.eclipse.ui.internal.PartStack.presentationSelectionChanged(PartStack.java:844) 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.showSystemMenu(TabbedStackPresentation.java:489) at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:145) at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:269) at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:282) at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.handleContextMenu(AbstractTabFolder.java:340) at org.eclipse.ui.internal.presentations.util.AbstractTabFolder$1.handleEvent(AbstractTabFolder.java:60) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1282) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1267) at org.eclipse.swt.widgets.Control.showMenu(Control.java:4290) at org.eclipse.swt.widgets.Control.gtk_event_after(Control.java:2724) at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1738) at org.eclipse.swt.widgets.Control.windowProc(Control.java:4796) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4360) at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method) at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:8168) at org.eclipse.swt.widgets.Display.eventProc(Display.java:1238) at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method) at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:2229) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3159) 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:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) 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)

      Gliffy Diagrams

        Attachments

          Activity

            People

            • Assignee:
              blafond Barry LaFond
              Reporter:
              dgolovin Denis Golovin
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: