{"action":"closed","issue":{"url":"https://api.github.com/repos/ModelDriven/Alf-Reference-Implementation/issues/12","repository_url":"https://api.github.com/repos/ModelDriven/Alf-Reference-Implementation","labels_url":"https://api.github.com/repos/ModelDriven/Alf-Reference-Implementation/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/ModelDriven/Alf-Reference-Implementation/issues/12/comments","events_url":"https://api.github.com/repos/ModelDriven/Alf-Reference-Implementation/issues/12/events","html_url":"https://github.com/ModelDriven/Alf-Reference-Implementation/issues/12","id":135408935,"number":12,"title":"Exception when the type of an association end is a use case","user":{"login":"JoriDubrovin","id":17139400,"avatar_url":"https://avatars.githubusercontent.com/u/17139400?v=3","gravatar_id":"","url":"https://api.github.com/users/JoriDubrovin","html_url":"https://github.com/JoriDubrovin","followers_url":"https://api.github.com/users/JoriDubrovin/followers","following_url":"https://api.github.com/users/JoriDubrovin/following{/other_user}","gists_url":"https://api.github.com/users/JoriDubrovin/gists{/gist_id}","starred_url":"https://api.github.com/users/JoriDubrovin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoriDubrovin/subscriptions","organizations_url":"https://api.github.com/users/JoriDubrovin/orgs","repos_url":"https://api.github.com/users/JoriDubrovin/repos","events_url":"https://api.github.com/users/JoriDubrovin/events{/privacy}","received_events_url":"https://api.github.com/users/JoriDubrovin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ModelDriven/Alf-Reference-Implementation/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"seidewitz","id":8561049,"avatar_url":"https://avatars.githubusercontent.com/u/8561049?v=3","gravatar_id":"","url":"https://api.github.com/users/seidewitz","html_url":"https://github.com/seidewitz","followers_url":"https://api.github.com/users/seidewitz/followers","following_url":"https://api.github.com/users/seidewitz/following{/other_user}","gists_url":"https://api.github.com/users/seidewitz/gists{/gist_id}","starred_url":"https://api.github.com/users/seidewitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seidewitz/subscriptions","organizations_url":"https://api.github.com/users/seidewitz/orgs","repos_url":"https://api.github.com/users/seidewitz/repos","events_url":"https://api.github.com/users/seidewitz/events{/privacy}","received_events_url":"https://api.github.com/users/seidewitz/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-02-22T12:56:05Z","updated_at":"2016-02-23T16:43:03Z","closed_at":"2016-02-23T16:43:03Z","body":"When calling `org.modeldriven.alf.syntax.statements.Block.deriveAll` for parsed Alf statements, `org.modeldriven.alf.eclipse.uml.StructuralFeature.getType()` throws `ClassCastException` when the type of the feature is a `org.eclipse.uml2.uml.UseCase` (`org.modeldriven.alf.eclipse.uml.NamedElement` cannot be cast to `org.modeldriven.alf.uml.Type`).  Even though we are not trying to access this particular feature in Alf, the static checker ends up here through `org.modeldriven.alf.syntax.units.impl.NamespaceDefinitionImpl.resolveAssociationEnd`.\r\n"}}