Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in instantiation when using unnamed mode transitions #1839

Closed
lwrage opened this issue Jun 14, 2019 · 0 comments · Fixed by #1846
Closed

Error in instantiation when using unnamed mode transitions #1839

lwrage opened this issue Jun 14, 2019 · 0 comments · Fixed by #1846

Comments

@lwrage
Copy link
Contributor

lwrage commented Jun 14, 2019

Summary

A model with unnamed mode transitions causes an error during instantiation.

It is caused by a null pointer exception in InstanceObjectImpl.findInstanceObjectsHelper

package Issue1839
public
	
	system T
	end T;
	
	system implementation T.i
		subcomponents
			a: abstract A;
		properties
			Source_Name => "f" applies to a.f;
	end T.i;
	
	abstract A
		features
			f: in data port;
		modes
			m1: initial mode;
			m2: mode;
			m1 -[f]-> m2;
	end A;
	
end Issue1839;

Environment

  • OSATE Version: 2.4.1 and 2.5.0
  • Operating System: all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant