Skip to content

Error in instantiation when using unnamed mode transitions #1839

Closed

Description

@lwrage

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

Activity

  1. self-assigned this
    on Jun 18, 2019
  2. added this to the 2.5.1 milestone on Jun 18, 2019
  3. added a commit that references this issue on Jun 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions