{"action":"closed","issue":{"url":"https://api.github.com/repos/osate/osate2-core/issues/620","labels_url":"https://api.github.com/repos/osate/osate2-core/issues/620/labels{/name}","comments_url":"https://api.github.com/repos/osate/osate2-core/issues/620/comments","events_url":"https://api.github.com/repos/osate/osate2-core/issues/620/events","html_url":"https://github.com/osate/osate2-core/issues/620","id":103352601,"number":620,"title":"AADL Properties View on instance model","user":{"login":"reteprelief","id":750520,"avatar_url":"https://avatars.githubusercontent.com/u/750520?v=3","gravatar_id":"","url":"https://api.github.com/users/reteprelief","html_url":"https://github.com/reteprelief","followers_url":"https://api.github.com/users/reteprelief/followers","following_url":"https://api.github.com/users/reteprelief/following{/other_user}","gists_url":"https://api.github.com/users/reteprelief/gists{/gist_id}","starred_url":"https://api.github.com/users/reteprelief/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reteprelief/subscriptions","organizations_url":"https://api.github.com/users/reteprelief/orgs","repos_url":"https://api.github.com/users/reteprelief/repos","events_url":"https://api.github.com/users/reteprelief/events{/privacy}","received_events_url":"https://api.github.com/users/reteprelief/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/osate/osate2-core/labels/category:bug","name":"category:bug","color":"e11d21"},{"url":"https://api.github.com/repos/osate/osate2-core/labels/importance:high","name":"importance:high","color":"e11d21"}],"state":"closed","locked":false,"assignee":{"login":"lwrage","id":750311,"avatar_url":"https://avatars.githubusercontent.com/u/750311?v=3","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},"milestone":{"url":"https://api.github.com/repos/osate/osate2-core/milestones/5","html_url":"https://github.com/osate/osate2-core/milestones/2015.08","labels_url":"https://api.github.com/repos/osate/osate2-core/milestones/5/labels","id":1164872,"number":5,"title":"2015.08","description":"","creator":{"login":"lwrage","id":750311,"avatar_url":"https://avatars.githubusercontent.com/u/750311?v=3","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":1,"closed_issues":5,"state":"open","created_at":"2015-06-15T13:19:07Z","updated_at":"2015-08-27T12:24:59Z","due_on":"2015-08-31T04:00:00Z","closed_at":null},"comments":1,"created_at":"2015-08-26T20:00:12Z","updated_at":"2015-08-27T12:24:59Z","closed_at":"2015-08-27T12:24:59Z","body":"When I open an instance model and then open the AADL properties view I get a class cast expression.\r\n\r\njava.lang.ClassCastException: org.osate.aadl2.util.Aadl2ResourceImpl cannot be cast to org.eclipse.xtext.resource.DerivedStateAwareResource\r\n\tat org.eclipse.xtext.resource.DerivedStateAwareResourceDescriptionManager.internalGetResourceDescription(DerivedStateAwareResourceDescriptionManager.java:41)\r\n\tat org.eclipse.xtext.resource.impl.DefaultResourceDescriptionManager$1.get(DefaultResourceDescriptionManager.java:62)\r\n\tat org.eclipse.xtext.resource.impl.DefaultResourceDescriptionManager$1.get(DefaultResourceDescriptionManager.java:1)\r\n\tat org.eclipse.xtext.util.OnChangeEvictingCache.get(OnChangeEvictingCache.java:77)\r\n\tat org.eclipse.xtext.resource.impl.DefaultResourceDescriptionManager.getResourceDescription(DefaultResourceDescriptionManager.java:59)\r\n\tat org.eclipse.xtext.resource.persistence.StorageAwareResourceDescriptionManager.getResourceDescription(StorageAwareResourceDescriptionManager.java:38)\r\n\tat org.eclipse.xtext.scoping.impl.DefaultGlobalScopeProvider.getVisibleContainers(DefaultGlobalScopeProvider.java:65)\r\n\tat org.eclipse.xtext.scoping.impl.DefaultGlobalScopeProvider.getScope(DefaultGlobalScopeProvider.java:49)\r\n\tat org.eclipse.xtext.scoping.impl.DefaultGlobalScopeProvider.getScope(DefaultGlobalScopeProvider.java:61)\r\n\tat org.eclipse.xtext.scoping.impl.AbstractGlobalScopeProvider.getScope(AbstractGlobalScopeProvider.java:49)\r\n\tat org.eclipse.xtext.scoping.impl.AbstractGlobalScopeDelegatingScopeProvider.getGlobalScope(AbstractGlobalScopeDelegatingScopeProvider.java:46)\r\n\tat org.eclipse.xtext.scoping.impl.AbstractGlobalScopeDelegatingScopeProvider.getGlobalScope(AbstractGlobalScopeDelegatingScopeProvider.java:42)\r\n\tat org.eclipse.xtext.scoping.impl.ImportedNamespaceAwareLocalScopeProvider.getResourceScope(ImportedNamespaceAwareLocalScopeProvider.java:97)\r\n\tat org.eclipse.xtext.scoping.impl.ImportedNamespaceAwareLocalScopeProvider.getScope(ImportedNamespaceAwareLocalScopeProvider.java:90)\r\n\tat org.eclipse.xtext.scoping.impl.ImportedNamespaceAwareLocalScopeProvider.getScope(ImportedNamespaceAwareLocalScopeProvider.java:88)\r\n\tat org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider.delegateGetScope(AbstractDeclarativeScopeProvider.java:72)\r\n\tat org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider.getScope(AbstractDeclarativeScopeProvider.java:104)\r\n\tat org.osate.xtext.aadl2.ui.propertyview.CachePropertyLookupJob.lambda$0(CachePropertyLookupJob.java:119)\r\n\tat org.osate.xtext.aadl2.ui.propertyview.CachePropertyLookupJob$$Lambda$32/2146769979.apply(Unknown Source)\r\n\tat org.osate.xtext.aadl2.ui.propertyview.AadlPropertyView$15.run(AadlPropertyView.java:2193)\r\n\tat org.eclipse.emf.transaction.impl.TransactionalEditingDomainImpl.runExclusive(TransactionalEditingDomainImpl.java:328)\r\n\tat org.eclipse.emf.transaction.util.TransactionUtil.runExclusive(TransactionUtil.java:328)\r\n\tat org.osate.xtext.aadl2.ui.propertyview.AadlPropertyView.safeRead(AadlPropertyView.java:2188)\r\n\tat org.osate.xtext.aadl2.ui.propertyview.CachePropertyLookupJob.run(CachePropertyLookupJob.java:223)\r\n\tat org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)\r\n"}}