{"action":"closed","issue":{"url":"https://api.github.com/repos/osate/osate2-core/issues/986","repository_url":"https://api.github.com/repos/osate/osate2-core","labels_url":"https://api.github.com/repos/osate/osate2-core/issues/986/labels{/name}","comments_url":"https://api.github.com/repos/osate/osate2-core/issues/986/comments","events_url":"https://api.github.com/repos/osate/osate2-core/issues/986/events","html_url":"https://github.com/osate/osate2-core/issues/986","id":283987506,"number":986,"title":"Instantiating subcomponents with unbound prototypes caues exception","user":{"login":"AaronGreenhouse","id":16961842,"avatar_url":"https://avatars3.githubusercontent.com/u/16961842?v=4","gravatar_id":"","url":"https://api.github.com/users/AaronGreenhouse","html_url":"https://github.com/AaronGreenhouse","followers_url":"https://api.github.com/users/AaronGreenhouse/followers","following_url":"https://api.github.com/users/AaronGreenhouse/following{/other_user}","gists_url":"https://api.github.com/users/AaronGreenhouse/gists{/gist_id}","starred_url":"https://api.github.com/users/AaronGreenhouse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AaronGreenhouse/subscriptions","organizations_url":"https://api.github.com/users/AaronGreenhouse/orgs","repos_url":"https://api.github.com/users/AaronGreenhouse/repos","events_url":"https://api.github.com/users/AaronGreenhouse/events{/privacy}","received_events_url":"https://api.github.com/users/AaronGreenhouse/received_events","type":"User","site_admin":false},"labels":[{"id":127174396,"url":"https://api.github.com/repos/osate/osate2-core/labels/category:bug","name":"category:bug","color":"e11d21","default":false},{"id":127174103,"url":"https://api.github.com/repos/osate/osate2-core/labels/importance:medium","name":"importance:medium","color":"fbca04","default":false},{"id":711688083,"url":"https://api.github.com/repos/osate/osate2-core/labels/review","name":"review","color":"ededed","default":false}],"state":"closed","locked":false,"assignee":{"login":"AaronGreenhouse","id":16961842,"avatar_url":"https://avatars3.githubusercontent.com/u/16961842?v=4","gravatar_id":"","url":"https://api.github.com/users/AaronGreenhouse","html_url":"https://github.com/AaronGreenhouse","followers_url":"https://api.github.com/users/AaronGreenhouse/followers","following_url":"https://api.github.com/users/AaronGreenhouse/following{/other_user}","gists_url":"https://api.github.com/users/AaronGreenhouse/gists{/gist_id}","starred_url":"https://api.github.com/users/AaronGreenhouse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AaronGreenhouse/subscriptions","organizations_url":"https://api.github.com/users/AaronGreenhouse/orgs","repos_url":"https://api.github.com/users/AaronGreenhouse/repos","events_url":"https://api.github.com/users/AaronGreenhouse/events{/privacy}","received_events_url":"https://api.github.com/users/AaronGreenhouse/received_events","type":"User","site_admin":false},"assignees":[{"login":"AaronGreenhouse","id":16961842,"avatar_url":"https://avatars3.githubusercontent.com/u/16961842?v=4","gravatar_id":"","url":"https://api.github.com/users/AaronGreenhouse","html_url":"https://github.com/AaronGreenhouse","followers_url":"https://api.github.com/users/AaronGreenhouse/followers","following_url":"https://api.github.com/users/AaronGreenhouse/following{/other_user}","gists_url":"https://api.github.com/users/AaronGreenhouse/gists{/gist_id}","starred_url":"https://api.github.com/users/AaronGreenhouse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AaronGreenhouse/subscriptions","organizations_url":"https://api.github.com/users/AaronGreenhouse/orgs","repos_url":"https://api.github.com/users/AaronGreenhouse/repos","events_url":"https://api.github.com/users/AaronGreenhouse/events{/privacy}","received_events_url":"https://api.github.com/users/AaronGreenhouse/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/osate/osate2-core/milestones/12","html_url":"https://github.com/osate/osate2-core/milestone/12","labels_url":"https://api.github.com/repos/osate/osate2-core/milestones/12/labels","id":2952007,"number":12,"title":"2.3.2","description":null,"creator":{"login":"lwrage","id":750311,"avatar_url":"https://avatars1.githubusercontent.com/u/750311?v=4","gravatar_id":"","url":"https://api.github.com/users/lwrage","html_url":"https://github.com/lwrage","followers_url":"https://api.github.com/users/lwrage/followers","following_url":"https://api.github.com/users/lwrage/following{/other_user}","gists_url":"https://api.github.com/users/lwrage/gists{/gist_id}","starred_url":"https://api.github.com/users/lwrage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lwrage/subscriptions","organizations_url":"https://api.github.com/users/lwrage/orgs","repos_url":"https://api.github.com/users/lwrage/repos","events_url":"https://api.github.com/users/lwrage/events{/privacy}","received_events_url":"https://api.github.com/users/lwrage/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":24,"state":"open","created_at":"2017-12-01T18:03:31Z","updated_at":"2018-02-08T21:12:12Z","due_on":"2018-02-28T08:00:00Z","closed_at":null},"comments":7,"created_at":"2017-12-21T19:54:58Z","updated_at":"2018-02-08T21:12:12Z","closed_at":"2018-02-08T21:12:12Z","author_association":"NONE","body":"Instantiating this model causes an exception.  Granted, this model probably fails some kind of consistency constraint as the prototype X is unbound, but we should not just bomb out.\r\n\r\n\tpackage package1\r\n\tpublic\r\n\t\tsystem s\r\n\t\tend s;\r\n\t\r\n\t\tsystem implementation s.i\r\n\t\tprototypes\r\n\t\t\tX: bus;\r\n\t\tsubcomponents\r\n\t\t\tb: bus X;\r\n\t\tend s.i;\r\n\tend package1;\r\n\r\nWe get the exception\r\n\r\njava.lang.NullPointerException\r\n\tat org.osate.aadl2.instantiation.InstantiateModel.getAllUsedPropertyDefinitions(InstantiateModel.java:1932)\r\n\tat org.osate.aadl2.instantiation.InstantiateModel.getUsedPropertyDefinitions(InstantiateModel.java:492)\r\n\tat org.osate.aadl2.instantiation.InstantiateModel.fillSystemInstance(InstantiateModel.java:465)\r\n\tat org.osate.aadl2.instantiation.InstantiateModel.createSystemInstanceInt(InstantiateModel.java:397)\r\n\tat org.osate.aadl2.instantiation.InstantiateModel$1.doExecute(InstantiateModel.java:339)\r\n\tat org.eclipse.emf.transaction.RecordingCommand.execute(RecordingCommand.java:135)\r\n\tat org.eclipse.emf.workspace.EMFCommandOperation.doExecute(EMFCommandOperation.java:119)\r\n\tat org.eclipse.emf.workspace.AbstractEMFOperation.execute(AbstractEMFOperation.java:150)\r\n\tat org.eclipse.core.commands.operations.DefaultOperationHistory.execute(DefaultOperationHistory.java:488)\r\n\tat org.eclipse.emf.workspace.impl.WorkspaceCommandStackImpl.doExecute(WorkspaceCommandStackImpl.java:208)\r\n\tat org.eclipse.emf.transaction.impl.AbstractTransactionalCommandStack.execute(AbstractTransactionalCommandStack.java:165)\r\n\tat org.osate.aadl2.instantiation.InstantiateModel.createSystemInstance(InstantiateModel.java:351)\r\n"}}
{"actor":{"display_login":"lwrage"}}