cp-api / capella

0 stars 0 forks source link

Activity Explorer tabs are empty if a diagram.getTarget.eIsProxy == true #353

Closed eclipse-capella-bot closed 3 years ago

eclipse-capella-bot commented 3 years ago

https://polarsys.org/forums/index.php?t=rview&goto=2057#msg_2057

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)

ECLIPSE-554331 POLARSYS-2053 @pdu 2018-04-27

eclipse-capella-bot commented 3 years ago

pdu commented on 2018-04-27

Attachment: 2053.zip Same as comment from 2001-12-11 17:56. May be easier to read and update.

pdu commented on 2018-04-27

Please check also delete of Model element owning a diagram. The diagram and the Diagram Descriptor must be deleted too.

Regards

aak commented on 2018-05-15

(In reply to pdu from comment #2)

Please check also delete of Model element owning a diagram. The diagram and the Diagram Descriptor must be deleted too.

Regards

Which steps should I follow to have a same model with proxy ? I checked all delete action but not able to have this situation.

pdu commented on 2018-05-15

You can open in text mode the aird file and change the target id of the diagram and diagramDescriptor.

One other way is to delete the semantic target of the diagram. To do that, you can edit text-mode the melodymodeller file to delete the element.

Finding a 'user' way to do it, is harder.

ci-bot commented on 2018-05-16

Merged to [v1.2.x]. Commit: 659d3c2d55def7b2ec8acf4e9cae7c94bd8ab9b0

pdu commented on 2018-05-17

fixed

pdu commented on 2018-05-17

fixed

ci-bot commented on 2018-07-09

Merged to [master]. Commit: 78d72ab01c93c09b8ca8358ea795a5ffcb75e9b6