Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 466606 - [Tree Table] Reopen a table with no category for depth==0 don't work
Summary: [Tree Table] Reopen a table with no category for depth==0 don't work
Status: RESOLVED DUPLICATE of bug 467706
Alias: None
Product: Papyrus
Classification: Modeling
Component: Table (show other bugs)
Version: 1.0.2   Edit
Hardware: PC All
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 436956
  Show dependency tree
 
Reported: 2015-05-06 11:55 EDT by Vincent Lorenzo CLA
Modified: 2016-02-08 07:20 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vincent Lorenzo CLA 2015-05-06 11:55:37 EDT
Steps to reproduce : 
 1/ Create a new Class Tree Table
 2/ Remove the category for the depth 0
 3/ Drop some classes in the table
 4/ save and close the table
 5/ try to open -< it does not work
 
 
!ENTRY org.eclipse.papyrus.infra.core.sasheditor 4 0 2015-05-06 17:54:54.105
!MESSAGE Can't create Nattable
!STACK 1
org.eclipse.ui.PartInitException: Can't create Nattable
	at org.eclipse.papyrus.infra.nattable.common.factory.NattableEditorFactory$NattableEditorModel.createIEditorPart(NattableEditorFactory.java:135)
	at org.eclipse.papyrus.infra.core.sasheditor.internal.EditorPart.createIEditorPart(EditorPart.java:274)
	at org.eclipse.papyrus.infra.core.sasheditor.internal.EditorPart.createPartControl(EditorPart.java:197)
	at org.eclipse.papyrus.infra.core.sasheditor.internal.TabFolderPart.createChildPart(TabFolderPart.java:1065)
	at org.eclipse.papyrus.infra.core.sasheditor.internal.TabFolderPart.createTabItem(TabFolderPart.java:986)
	at org.eclipse.papyrus.infra.core.sasheditor.internal.TabFolderPart.synchronize2(TabFolderPart.java:900)
	at org.eclipse.papyrus.infra.core.sasheditor.internal.RootPart.synchronize2(RootPart.java:139)
	at org.eclipse.papyrus.infra.core.sasheditor.internal.SashWindowsContainer.refreshTabsInternal(SashWindowsContainer.java:671)
	at org.eclipse.papyrus.infra.core.sasheditor.internal.SashWindowsContainer.refreshTabs(SashWindowsContainer.java:625)
	at org.eclipse.papyrus.infra.core.sasheditor.editor.AbstractMultiPageSashEditor.doRefreshTabs(AbstractMultiPageSashEditor.java:212)
	at org.eclipse.papyrus.infra.core.sasheditor.editor.AbstractMultiPageSashEditor.access$0(AbstractMultiPageSashEditor.java:210)
	at org.eclipse.papyrus.infra.core.sasheditor.editor.AbstractMultiPageSashEditor$1.run(AbstractMultiPageSashEditor.java:205)
	at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:187)
	at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:156)
	at org.eclipse.swt.widgets.Display.syncExec(Display.java:4734)
	at org.eclipse.papyrus.infra.core.sasheditor.editor.AbstractMultiPageSashEditor.refreshTabs(AbstractMultiPageSashEditor.java:201)
	at org.eclipse.papyrus.infra.core.editor.CoreMultiDiagramEditor.refreshTabs(CoreMultiDiagramEditor.java:1123)
	at org.eclipse.papyrus.infra.core.editor.CoreMultiDiagramEditor$5.run(CoreMultiDiagramEditor.java:1112)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4147)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3764)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
	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:606)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
	at org.eclipse.papyrus.infra.nattable.common.factory.NattableEditorFactory$NattableEditorModel.createIEditorPart(NattableEditorFactory.java:127)
	... 43 more
Caused by: org.eclipse.core.runtime.AssertionFailedException: assertion failed: 
	at org.eclipse.core.runtime.Assert.isTrue(Assert.java:110)
	at org.eclipse.core.runtime.Assert.isTrue(Assert.java:96)
	at org.eclipse.papyrus.infra.nattable.manager.axis.AbstractTreeAxisManagerForEventList.fillChildrenForSemanticElement(AbstractTreeAxisManagerForEventList.java:294)
	at org.eclipse.papyrus.infra.nattable.manager.axis.AbstractTreeAxisManagerForEventList.fillListWithRoots(AbstractTreeAxisManagerForEventList.java:374)
	at org.eclipse.papyrus.infra.nattable.manager.axis.CompositeTreeAxisManagerForEventList.fillListWithRoots(CompositeTreeAxisManagerForEventList.java:221)
	at org.eclipse.papyrus.infra.nattable.manager.axis.CompositeTreeAxisManagerForEventList.setSubManagers(CompositeTreeAxisManagerForEventList.java:67)
	at org.eclipse.papyrus.infra.nattable.manager.table.TreeNattableModelManager.createAxisManager(TreeNattableModelManager.java:221)
	at org.eclipse.papyrus.infra.nattable.manager.table.NattableModelManager.init(NattableModelManager.java:679)
	at org.eclipse.papyrus.infra.nattable.manager.table.NattableModelManager.<init>(NattableModelManager.java:250)
	at org.eclipse.papyrus.infra.nattable.manager.table.TreeNattableModelManager.<init>(TreeNattableModelManager.java:101)
	at org.eclipse.papyrus.infra.nattable.utils.NattableModelManagerFactory.createNatTableModelManager(NattableModelManagerFactory.java:43)
	at org.eclipse.papyrus.infra.nattable.common.editor.AbstractEMFNattableEditor.<init>(AbstractEMFNattableEditor.java:85)
	at org.eclipse.papyrus.infra.nattable.common.editor.NatTableEditor.<init>(NatTableEditor.java:35)
	... 48 more
!SUBENTRY 1 org.eclipse.ui 4 0 2015-05-06 17:54:54.106
!MESSAGE Can't create Nattable
!STACK 0
java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
	at org.eclipse.papyrus.infra.nattable.common.factory.NattableEditorFactory$NattableEditorModel.createIEditorPart(NattableEditorFactory.java:127)
	at org.eclipse.papyrus.infra.core.sasheditor.internal.EditorPart.createIEditorPart(EditorPart.java:274)
	at org.eclipse.papyrus.infra.core.sasheditor.internal.EditorPart.createPartControl(EditorPart.java:197)
	at org.eclipse.papyrus.infra.core.sasheditor.internal.TabFolderPart.createChildPart(TabFolderPart.java:1065)
	at org.eclipse.papyrus.infra.core.sasheditor.internal.TabFolderPart.createTabItem(TabFolderPart.java:986)
	at org.eclipse.papyrus.infra.core.sasheditor.internal.TabFolderPart.synchronize2(TabFolderPart.java:900)
	at org.eclipse.papyrus.infra.core.sasheditor.internal.RootPart.synchronize2(RootPart.java:139)
	at org.eclipse.papyrus.infra.core.sasheditor.internal.SashWindowsContainer.refreshTabsInternal(SashWindowsContainer.java:671)
	at org.eclipse.papyrus.infra.core.sasheditor.internal.SashWindowsContainer.refreshTabs(SashWindowsContainer.java:625)
	at org.eclipse.papyrus.infra.core.sasheditor.editor.AbstractMultiPageSashEditor.doRefreshTabs(AbstractMultiPageSashEditor.java:212)
	at org.eclipse.papyrus.infra.core.sasheditor.editor.AbstractMultiPageSashEditor.access$0(AbstractMultiPageSashEditor.java:210)
	at org.eclipse.papyrus.infra.core.sasheditor.editor.AbstractMultiPageSashEditor$1.run(AbstractMultiPageSashEditor.java:205)
	at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:187)
	at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:156)
	at org.eclipse.swt.widgets.Display.syncExec(Display.java:4734)
	at org.eclipse.papyrus.infra.core.sasheditor.editor.AbstractMultiPageSashEditor.refreshTabs(AbstractMultiPageSashEditor.java:201)
	at org.eclipse.papyrus.infra.core.editor.CoreMultiDiagramEditor.refreshTabs(CoreMultiDiagramEditor.java:1123)
	at org.eclipse.papyrus.infra.core.editor.CoreMultiDiagramEditor$5.run(CoreMultiDiagramEditor.java:1112)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4147)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3764)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
	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:606)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
Caused by: org.eclipse.core.runtime.AssertionFailedException: assertion failed: 
	at org.eclipse.core.runtime.Assert.isTrue(Assert.java:110)
	at org.eclipse.core.runtime.Assert.isTrue(Assert.java:96)
	at org.eclipse.papyrus.infra.nattable.manager.axis.AbstractTreeAxisManagerForEventList.fillChildrenForSemanticElement(AbstractTreeAxisManagerForEventList.java:294)
	at org.eclipse.papyrus.infra.nattable.manager.axis.AbstractTreeAxisManagerForEventList.fillListWithRoots(AbstractTreeAxisManagerForEventList.java:374)
	at org.eclipse.papyrus.infra.nattable.manager.axis.CompositeTreeAxisManagerForEventList.fillListWithRoots(CompositeTreeAxisManagerForEventList.java:221)
	at org.eclipse.papyrus.infra.nattable.manager.axis.CompositeTreeAxisManagerForEventList.setSubManagers(CompositeTreeAxisManagerForEventList.java:67)
	at org.eclipse.papyrus.infra.nattable.manager.table.TreeNattableModelManager.createAxisManager(TreeNattableModelManager.java:221)
	at org.eclipse.papyrus.infra.nattable.manager.table.NattableModelManager.init(NattableModelManager.java:679)
	at org.eclipse.papyrus.infra.nattable.manager.table.NattableModelManager.<init>(NattableModelManager.java:250)
	at org.eclipse.papyrus.infra.nattable.manager.table.TreeNattableModelManager.<init>(TreeNattableModelManager.java:101)
	at org.eclipse.papyrus.infra.nattable.utils.NattableModelManagerFactory.createNatTableModelManager(NattableModelManagerFactory.java:43)
	at org.eclipse.papyrus.infra.nattable.common.editor.AbstractEMFNattableEditor.<init>(AbstractEMFNattableEditor.java:85)
	at org.eclipse.papyrus.infra.nattable.common.editor.NatTableEditor.<init>(NatTableEditor.java:35)
	... 48 more
Root exception:
org.eclipse.core.runtime.AssertionFailedException: assertion failed: 
	at org.eclipse.core.runtime.Assert.isTrue(Assert.java:110)
	at org.eclipse.core.runtime.Assert.isTrue(Assert.java:96)
	at org.eclipse.papyrus.infra.nattable.manager.axis.AbstractTreeAxisManagerForEventList.fillChildrenForSemanticElement(AbstractTreeAxisManagerForEventList.java:294)
	at org.eclipse.papyrus.infra.nattable.manager.axis.AbstractTreeAxisManagerForEventList.fillListWithRoots(AbstractTreeAxisManagerForEventList.java:374)
	at org.eclipse.papyrus.infra.nattable.manager.axis.CompositeTreeAxisManagerForEventList.fillListWithRoots(CompositeTreeAxisManagerForEventList.java:221)
	at org.eclipse.papyrus.infra.nattable.manager.axis.CompositeTreeAxisManagerForEventList.setSubManagers(CompositeTreeAxisManagerForEventList.java:67)
	at org.eclipse.papyrus.infra.nattable.manager.table.TreeNattableModelManager.createAxisManager(TreeNattableModelManager.java:221)
	at org.eclipse.papyrus.infra.nattable.manager.table.NattableModelManager.init(NattableModelManager.java:679)
	at org.eclipse.papyrus.infra.nattable.manager.table.NattableModelManager.<init>(NattableModelManager.java:250)
	at org.eclipse.papyrus.infra.nattable.manager.table.TreeNattableModelManager.<init>(TreeNattableModelManager.java:101)
	at org.eclipse.papyrus.infra.nattable.utils.NattableModelManagerFactory.createNatTableModelManager(NattableModelManagerFactory.java:43)
	at org.eclipse.papyrus.infra.nattable.common.editor.AbstractEMFNattableEditor.<init>(AbstractEMFNattableEditor.java:85)
	at org.eclipse.papyrus.infra.nattable.common.editor.NatTableEditor.<init>(NatTableEditor.java:35)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
	at org.eclipse.papyrus.infra.nattable.common.factory.NattableEditorFactory$NattableEditorModel.createIEditorPart(NattableEditorFactory.java:127)
	at org.eclipse.papyrus.infra.core.sasheditor.internal.EditorPart.createIEditorPart(EditorPart.java:274)
	at org.eclipse.papyrus.infra.core.sasheditor.internal.EditorPart.createPartControl(EditorPart.java:197)
	at org.eclipse.papyrus.infra.core.sasheditor.internal.TabFolderPart.createChildPart(TabFolderPart.java:1065)
	at org.eclipse.papyrus.infra.core.sasheditor.internal.TabFolderPart.createTabItem(TabFolderPart.java:986)
	at org.eclipse.papyrus.infra.core.sasheditor.internal.TabFolderPart.synchronize2(TabFolderPart.java:900)
	at org.eclipse.papyrus.infra.core.sasheditor.internal.RootPart.synchronize2(RootPart.java:139)
	at org.eclipse.papyrus.infra.core.sasheditor.internal.SashWindowsContainer.refreshTabsInternal(SashWindowsContainer.java:671)
	at org.eclipse.papyrus.infra.core.sasheditor.internal.SashWindowsContainer.refreshTabs(SashWindowsContainer.java:625)
	at org.eclipse.papyrus.infra.core.sasheditor.editor.AbstractMultiPageSashEditor.doRefreshTabs(AbstractMultiPageSashEditor.java:212)
	at org.eclipse.papyrus.infra.core.sasheditor.editor.AbstractMultiPageSashEditor.access$0(AbstractMultiPageSashEditor.java:210)
	at org.eclipse.papyrus.infra.core.sasheditor.editor.AbstractMultiPageSashEditor$1.run(AbstractMultiPageSashEditor.java:205)
	at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:187)
	at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:156)
	at org.eclipse.swt.widgets.Display.syncExec(Display.java:4734)
	at org.eclipse.papyrus.infra.core.sasheditor.editor.AbstractMultiPageSashEditor.refreshTabs(AbstractMultiPageSashEditor.java:201)
	at org.eclipse.papyrus.infra.core.editor.CoreMultiDiagramEditor.refreshTabs(CoreMultiDiagramEditor.java:1123)
	at org.eclipse.papyrus.infra.core.editor.CoreMultiDiagramEditor$5.run(CoreMultiDiagramEditor.java:1112)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4147)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3764)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
	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:606)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
Comment 1 Vincent Lorenzo CLA 2016-02-08 07:20:22 EST
Duplicate of Bug 467706 which is fixed

*** This bug has been marked as a duplicate of bug 467706 ***