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
Closed

Error in instantiation when using unnamed mode transitions #1839

lwrage opened this issue Jun 14, 2019 · 0 comments

Comments

@lwrage
Copy link
Contributor

@lwrage 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
@lwrage lwrage self-assigned this Jun 18, 2019
@lwrage lwrage added this to the 2.5.1 milestone Jun 18, 2019
lwrage added a commit that referenced this issue Jun 18, 2019
@lwrage lwrage closed this in #1846 Jun 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

1 participant