cp-api / cp-lib4

0 stars 0 forks source link

Cannot set state transition effect when library is used #10

Open eclipse-capella-bot opened 3 years ago

eclipse-capella-bot commented 3 years ago

When a project references a library, clicking on the "Effect" selection button of a StateTransition in the project a NPE is thrown:

java.lang.NullPointerException at org.polarsys.capella.core.business.queries.queries.capellacommon.GetAvailable_StateTransitionEffect.execute(GetAvailable_StateTransitionEffect.java:55) at org.polarsys.capella.common.queries.interpretor.QueryInterpretor.executeQuery(QueryInterpretor.java:86) at org.polarsys.capella.common.queries.interpretor.QueryInterpretor.executeQuery(QueryInterpretor.java:116) at org.polarsys.capella.core.libraries.extendedqueries.GenericGetForLibWithCorrespondingArchitectureElement.execute(GenericGetForLibWithCorrespondingArchitectureElement.java:38) at org.polarsys.capella.common.queries.interpretor.QueryInterpretor.executeQuery(QueryInterpretor.java:86) at org.polarsys.capella.common.queries.interpretor.QueryInterpretor.executeQuery(QueryInterpretor.java:116) at org.polarsys.capella.core.business.queries.capellacommon.StateTransitionEffect.getAvailableElements(StateTransitionEffect.java:42) at org.polarsys.capella.core.ui.properties.controllers.AbstractSimpleSemanticFieldController.readOpenValues(AbstractSimpleSemanticFieldController.java:46)

πŸ†” ECLIPSE-555036 / POLARSYS-918 πŸ‘· felix.dorner πŸ“… 2016-05-04 πŸ”Ž 1.0.2