We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c4abbd9 commit d62ff99Copy full SHA for d62ff99
1 file changed
org.omg.sysml/src/org/omg/sysml/adapter/FeatureAdapter.java
@@ -822,7 +822,11 @@ protected void computeValueConnector() {
822
if (FeatureUtil.getValuationFor(target).isInitial()) {
823
Feature that = (Feature)getLibraryType("Base::things::that");
824
Feature startShot = (Feature)getLibraryType("Occurrences::Occurrence::startShot");
825
- featuringTypes = Collections.singletonList(FeatureUtil.chainFeatures(that, startShot));
+ if (that != null && startShot != null) {
826
+ featuringTypes = Collections.singletonList(FeatureUtil.chainFeatures(that, startShot));
827
+ } else {
828
+ featuringTypes = target.getFeaturingType();
829
+ }
830
} else {
831
featuringTypes = target.getFeaturingType();
832
}
0 commit comments