Capella Activity Explorer

Hello,
I recently migrated my project from Capella 1.1 to Capella 1.2. When i try to create a diagram from the workflow pane, for example i want to create an LAB by clicking on Logical Architecture on the the workflow pane, nothing is displayed. See screen shot attached for more details.
Thanks in advance.

Hello,
To better understand your problem : are you able to open the Activity Explorer ?
This is done by right-clicking the ADAPTO.aird file --> Open Activity Explorer

Hello,
Thanks for prompt reaction. Yes i am able to view the menu. Only when i click on one of the five (05) workflow steps, that i get a empty window as i shown on initial message. See attached for your convenience.
Best

I would like to note, that even though i cannot create the diagrams from the activity explorer, i am able to create any diagram from the right menu by selecting the right context and right clicking : create New diagram/table.

Hello,
same problem there
https://forum.mbse-capella.org/t/539/
and here, but without migration - only working in Capella 1.2.
The model ist fragmented and the problem seems to be located in the airdfragment-file of the system analysis. If I replace just this file with an old version the Tabs are OK again.
The Activity Explorer opens but you can not step into OA, SA, … from there.
Error-Log

eclipse.buildId=unknown
java.version=1.8.0_161
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_DE
Command-line arguments: -os win32 -ws win32 -arch x86_64
org.eclipse.ui
Error
Thu Apr 26 16:10:43 CEST 2018
Unhandled event loop exception
java.lang.NullPointerException
at org.polarsys.capella.core.explorer.activity.ui.viewer.Capell aArchitectureContentProvider.getChildren(CapellaArchitecture ContentProvider.java:100)
at org.polarsys.capella.core.explorer.activity.ui.viewer.Capell aArchitectureContentProvider.handleViewPointItem(CapellaArch itectureContentProvider.java:163)
at org.polarsys.capella.core.explorer.activity.ui.viewer.Capell aArchitectureContentProvider.getChildren(CapellaArchitecture ContentProvider.java:78)
at org.polarsys.capella.core.explorer.activity.ui.viewer.Capell aArchitectureContentProvider.hasChildren(CapellaArchitecture ContentProvider.java:175)
at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(Ab stractTreeViewer.java:2136)
at org.eclipse.jface.viewers.TreeViewer.isExpandable(TreeViewer .java:538)
at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(Ab stractTreeViewer.java:2166)
at org.eclipse.jface.viewers.AbstractTreeViewer.updatePlus(Abst ractTreeViewer.java:2849)
at org.eclipse.jface.viewers.TreeViewer.updatePlus(TreeViewer.j ava:786)
at org.eclipse.jface.viewers.AbstractTreeViewer.createTreeItem( AbstractTreeViewer.java:844)
at org.eclipse.jface.viewers.AbstractTreeViewer.lambda$0(Abstra ctTreeViewer.java:820)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren( AbstractTreeViewer.java:795)
at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeView er.java:596)
at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren( AbstractTreeViewer.java:766)
at org.eclipse.jface.viewers.AbstractTreeViewer.internalInitial izeTree(AbstractTreeViewer.java:1538)
at org.eclipse.jface.viewers.TreeViewer.internalInitializeTree( TreeViewer.java:772)
at org.eclipse.jface.viewers.AbstractTreeViewer.lambda$1(Abstra ctTreeViewer.java:1523)
at org.eclipse.jface.viewers.StructuredViewer.preservingSelecti on(StructuredViewer.java:1458)
at org.eclipse.jface.viewers.TreeViewer.preservingSelection(Tre eViewer.java:354)
at org.eclipse.jface.viewers.StructuredViewer.preservingSelecti on(StructuredViewer.java:1419)
at org.eclipse.jface.viewers.AbstractTreeViewer.inputChanged(Ab stractTreeViewer.java:1517)
at org.eclipse.ui.dialogs.FilteredTree$NotifyingTreeViewer.inpu tChanged(FilteredTree.java:1215)
at org.eclipse.jface.viewers.ContentViewer.setInput(ContentView er.java:286)
at org.eclipse.jface.viewers.StructuredViewer.setInput(Structur edViewer.java:1696)
at org.eclipse.amalgam.explorer.activity.ui.api.editor.pages.vi ewers.AbstractActivityExplorerViewer.createViewer(AbstractAc tivityExplorerViewer.java:171)
at org.eclipse.amalgam.explorer.activity.ui.api.editor.pages.Ba sicSessionActivityExplorerPage.createViewers(BasicSessionAct ivityExplorerPage.java:155)
at org.eclipse.amalgam.explorer.activity.ui.api.editor.pages.Ba sicSessionActivityExplorerPage.createFormContent(BasicSessio nActivityExplorerPage.java:124)
at org.eclipse.ui.forms.editor.FormPage$1.run(FormPage.java:166 )
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
at org.eclipse.ui.forms.editor.FormPage.createPartControl(FormP age.java:163)
at org.eclipse.ui.forms.editor.FormEditor.pageChange(FormEditor .java:480)
at org.eclipse.ui.part.MultiPageEditorPart$2.widgetSelected(Mul tiPageEditorPart.java:295)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:249)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4418)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1103)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1088)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:8 02)
at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.ja va:3167)
at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:18 50)
at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.j ava:333)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4418)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:4236)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3824)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine $4.run(PartRenderingEngine.java:1121)
at org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:336)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine .run(PartRenderingEngine.java:1022)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRu nUI(E4Workbench.java:150)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:693)
at org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:336)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:610)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:148)
at org.polarsys.capella.core.platform.sirius.ui.app.CapellaAppl ication.start(CapellaApplication.java:116)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.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(EclipseS tarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:243)
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: 673)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
at org.eclipse.equinox.launcher.Main.run(Main.java:1519)

It’s weird. You can try :

  • deactivating the add-ons / viewpoints
  • running capella with a “clean” command :
  • create a shortcut of the capella executable (eclipse.exe)
  • modify the properties of the shortcut : add
    -clean at the end of the target of the shortcut

Hi,
Did not know how can i deactivate add-ons/viewpoints. However i appended the “-clean” to shortcut target and the problem persists. The problem is project specific, if i switch to another project, i have no issue and i could create any diagram from the activity explorer.

Hi,
By looking at source code, it seems that you have in your model a diagram owned by a deleted element.
On the Interpreter view (Window > Show View > Interpreter),
write :
aql:self.eContainer().eContainer().eContents().eContents()->select(d | d.target.eContainer() == null)
In the Capella Explorer, go to your model, and click onto a diagram:
The interpreter view shall display a diagram. The element owning this diagram has been deleted. so you have to delete it also.
I have created the issue :
ticket 2053
Best regards,
Philippe

Hello Philippe
thank you for your reply but I was not able to find any suspicious diagram with your query.
But now I’m getting another error when opening another Activity-Explorer-Tab.
Perhaps there are some more loose ends…?

eclipse.buildId=unknown
java.version=1.8.0_161
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_DE
Command-line arguments: -os win32 -ws win32 -arch x86_64
org.eclipse.ui.workbench
Error
Fri Apr 27 18:09:33 CEST 2018
An unexpected exception was thrown.
java.lang.NullPointerException
at org.polarsys.capella.core.explorer.activity.ui.viewer.Capell aArchitectureContentProvider.getChildren(CapellaArchitecture ContentProvider.java:100)
at org.polarsys.capella.core.explorer.activity.ui.viewer.Capell aArchitectureContentProvider.handleViewPointItem(CapellaArch itectureContentProvider.java:163)
at org.polarsys.capella.core.explorer.activity.ui.viewer.Capell aArchitectureContentProvider.getChildren(CapellaArchitecture ContentProvider.java:78)
at org.polarsys.capella.core.explorer.activity.ui.viewer.Capell aArchitectureContentProvider.hasChildren(CapellaArchitecture ContentProvider.java:175)
at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(Ab stractTreeViewer.java:2136)
at org.eclipse.jface.viewers.TreeViewer.isExpandable(TreeViewer .java:538)
at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(Ab stractTreeViewer.java:2166)
at org.eclipse.jface.viewers.AbstractTreeViewer.updatePlus(Abst ractTreeViewer.java:2849)
at org.eclipse.jface.viewers.TreeViewer.updatePlus(TreeViewer.j ava:786)
at org.eclipse.jface.viewers.AbstractTreeViewer.updateChildren( AbstractTreeViewer.java:2741)
at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh Struct(AbstractTreeViewer.java:1913)
at org.eclipse.jface.viewers.TreeViewer.internalRefreshStruct(T reeViewer.java:669)
at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh (AbstractTreeViewer.java:1888)
at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh (AbstractTreeViewer.java:1845)
at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh (AbstractTreeViewer.java:1831)
at org.eclipse.jface.viewers.StructuredViewer.lambda$0(Structur edViewer.java:1519)
at org.eclipse.jface.viewers.StructuredViewer.preservingSelecti on(StructuredViewer.java:1458)
at org.eclipse.jface.viewers.TreeViewer.preservingSelection(Tre eViewer.java:354)
at org.eclipse.jface.viewers.StructuredViewer.preservingSelecti on(StructuredViewer.java:1419)
at org.eclipse.jface.viewers.StructuredViewer.refresh(Structure dViewer.java:1519)
at org.eclipse.jface.viewers.ColumnViewer.refresh(ColumnViewer. java:523)
at org.eclipse.ui.dialogs.FilteredTree$NotifyingTreeViewer.refr esh(FilteredTree.java:1240)
at org.eclipse.jface.viewers.StructuredViewer.refresh(Structure dViewer.java:1478)
at org.eclipse.ui.dialogs.FilteredTree$NotifyingTreeViewer.refr esh(FilteredTree.java:1228)
at org.eclipse.amalgam.explorer.activity.ui.api.editor.pages.vi ewers.AbstractActivityExplorerViewer.refresh(AbstractActivit yExplorerViewer.java:206)
at org.eclipse.amalgam.explorer.activity.ui.api.editor.pages.vi ewers.AbstractActivityExplorerViewer.propertyChanged(Abstrac tActivityExplorerViewer.java:247)
at org.eclipse.ui.part.WorkbenchPart.firePropertyChange(Workben chPart.java:120)
at org.eclipse.amalgam.explorer.activity.ui.api.editor.pages.Co mmonActivityExplorerPage.markAsActive(CommonActivityExplorer Page.java:245)
at org.eclipse.amalgam.explorer.activity.ui.api.editor.pages.Co mmonActivityExplorerPage.setActive(CommonActivityExplorerPag e.java:225)
at org.eclipse.amalgam.explorer.activity.ui.api.editor.pages.Ac tivityExplorerPage.setActive(ActivityExplorerPage.java:430)
at org.eclipse.amalgam.explorer.activity.ui.api.editor.pages.Ba sicSessionActivityExplorerPage.setActive(BasicSessionActivit yExplorerPage.java:314)
at org.eclipse.ui.forms.editor.FormEditor.pageChange(FormEditor .java:495)
at org.eclipse.ui.part.MultiPageEditorPart$2.widgetSelected(Mul tiPageEditorPart.java:295)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:249)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4418)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1103)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1088)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:8 02)
at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.ja va:3167)
at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:18 50)
at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.j ava:333)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4418)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:4236)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3824)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine $4.run(PartRenderingEngine.java:1121)
at org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:336)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine .run(PartRenderingEngine.java:1022)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRu nUI(E4Workbench.java:150)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:693)
at org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:336)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:610)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:148)
at org.polarsys.capella.core.platform.sirius.ui.app.CapellaAppl ication.start(CapellaApplication.java:116)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.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(EclipseS tarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:243)
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: 673)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
at org.eclipse.equinox.launcher.Main.run(Main.java:1519)

Copyright © Eclipse Capella, the Eclipse Capella logo, Eclipse and the Eclipse logo are Trademarks of The Eclipse Foundation.