{"action":"closed","issue":{"url":"https://api.github.com/repos/max-leuthaeuser/SCROLL/issues/14","repository_url":"https://api.github.com/repos/max-leuthaeuser/SCROLL","labels_url":"https://api.github.com/repos/max-leuthaeuser/SCROLL/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/max-leuthaeuser/SCROLL/issues/14/comments","events_url":"https://api.github.com/repos/max-leuthaeuser/SCROLL/issues/14/events","html_url":"https://github.com/max-leuthaeuser/SCROLL/issues/14","id":266097167,"number":14,"title":"NullPointerException when passing null to role-function","user":{"login":"FRohde","id":5616781,"avatar_url":"https://avatars1.githubusercontent.com/u/5616781?v=4","gravatar_id":"","url":"https://api.github.com/users/FRohde","html_url":"https://github.com/FRohde","followers_url":"https://api.github.com/users/FRohde/followers","following_url":"https://api.github.com/users/FRohde/following{/other_user}","gists_url":"https://api.github.com/users/FRohde/gists{/gist_id}","starred_url":"https://api.github.com/users/FRohde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FRohde/subscriptions","organizations_url":"https://api.github.com/users/FRohde/orgs","repos_url":"https://api.github.com/users/FRohde/repos","events_url":"https://api.github.com/users/FRohde/events{/privacy}","received_events_url":"https://api.github.com/users/FRohde/received_events","type":"User","site_admin":false},"labels":[{"id":92876492,"url":"https://api.github.com/repos/max-leuthaeuser/SCROLL/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":{"login":"max-leuthaeuser","id":1417198,"avatar_url":"https://avatars2.githubusercontent.com/u/1417198?v=4","gravatar_id":"","url":"https://api.github.com/users/max-leuthaeuser","html_url":"https://github.com/max-leuthaeuser","followers_url":"https://api.github.com/users/max-leuthaeuser/followers","following_url":"https://api.github.com/users/max-leuthaeuser/following{/other_user}","gists_url":"https://api.github.com/users/max-leuthaeuser/gists{/gist_id}","starred_url":"https://api.github.com/users/max-leuthaeuser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/max-leuthaeuser/subscriptions","organizations_url":"https://api.github.com/users/max-leuthaeuser/orgs","repos_url":"https://api.github.com/users/max-leuthaeuser/repos","events_url":"https://api.github.com/users/max-leuthaeuser/events{/privacy}","received_events_url":"https://api.github.com/users/max-leuthaeuser/received_events","type":"User","site_admin":false},"assignees":[{"login":"max-leuthaeuser","id":1417198,"avatar_url":"https://avatars2.githubusercontent.com/u/1417198?v=4","gravatar_id":"","url":"https://api.github.com/users/max-leuthaeuser","html_url":"https://github.com/max-leuthaeuser","followers_url":"https://api.github.com/users/max-leuthaeuser/followers","following_url":"https://api.github.com/users/max-leuthaeuser/following{/other_user}","gists_url":"https://api.github.com/users/max-leuthaeuser/gists{/gist_id}","starred_url":"https://api.github.com/users/max-leuthaeuser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/max-leuthaeuser/subscriptions","organizations_url":"https://api.github.com/users/max-leuthaeuser/orgs","repos_url":"https://api.github.com/users/max-leuthaeuser/repos","events_url":"https://api.github.com/users/max-leuthaeuser/events{/privacy}","received_events_url":"https://api.github.com/users/max-leuthaeuser/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2017-10-17T11:59:13Z","updated_at":"2017-10-17T12:42:00Z","closed_at":"2017-10-17T12:41:59Z","author_association":"NONE","body":"When argument null is passed to a function which is implemented in a role-object, the dispatch-process can not be completed and throws a NullPointerException. \r\n\r\nExample:\r\n`var p1 = new Person(\"Ferdinand\")`\r\n`var r1 = new PseudoRole(\"F1\")`\r\n`p1 play r1`\r\n`(+p1).setMyName(null)`\r\n`--> NullPointerException`\r\n\r\n> Exception in thread \"main\" java.lang.NullPointerException\r\n\tat scroll.internal.util.ReflectiveHelper$.$anonfun$matchMethod$1(ReflectiveHelper.scala:130)\r\n\tat scroll.internal.util.ReflectiveHelper$.$anonfun$matchMethod$1$adapted(ReflectiveHelper.scala:120)\r\n\tat scala.collection.IndexedSeqOptimized.prefixLengthImpl(IndexedSeqOptimized.scala:37)\r\n\tat scala.collection.IndexedSeqOptimized.forall(IndexedSeqOptimized.scala:42)\r\n\tat scala.collection.IndexedSeqOptimized.forall$(IndexedSeqOptimized.scala:42)\r\n\tat scala.collection.mutable.ArrayBuffer.forall(ArrayBuffer.scala:48)\r\n\tat scroll.internal.util.ReflectiveHelper$.matchArgTypes$lzycompute$1(ReflectiveHelper.scala:120)\r\n\tat scroll.internal.util.ReflectiveHelper$.matchArgTypes$1(ReflectiveHelper.scala:120)\r\n\tat scroll.internal.util.ReflectiveHelper$.matchMethod(ReflectiveHelper.scala:134)\r\n\tat scroll.internal.util.ReflectiveHelper$.$anonfun$findMethod$1(ReflectiveHelper.scala:156)\r\n\tat scroll.internal.util.ReflectiveHelper$.$anonfun$findMethod$1$adapted(ReflectiveHelper.scala:156)\r\n\tat scala.collection.Iterator.find(Iterator.scala:981)\r\n\tat scala.collection.Iterator.find$(Iterator.scala:978)\r\n\tat scala.collection.AbstractIterator.find(Iterator.scala:1417)\r\n\tat scala.collection.IterableLike.find(IterableLike.scala:78)\r\n\tat scala.collection.IterableLike.find$(IterableLike.scala:77)\r\n\tat scala.collection.AbstractIterable.find(Iterable.scala:54)\r\n\tat scroll.internal.util.ReflectiveHelper$.findMethod(ReflectiveHelper.scala:156)\r\n\tat scroll.internal.Compartment$Player.$anonfun$applyDynamic$1(Compartment.scala:435)\r\n\tat scroll.internal.Compartment$Player.$anonfun$applyDynamic$1$adapted(Compartment.scala:434)\r\n\tat scala.collection.immutable.List.foreach(List.scala:389)\r\n\tat scroll.internal.Compartment$Player.applyDynamic(Compartment.scala:434)\r\n\tat simplePseudonymity.PseudoApp$$anon$1.<init>(PseudoApp.scala:39)\r\n\tat simplePseudonymity.PseudoApp$.delayedEndpoint$simplePseudonymity$PseudoApp$1(PseudoApp.scala:29)\r\n\tat simplePseudonymity.PseudoApp$delayedInit$body.apply(PseudoApp.scala:23)\r\n\tat scala.Function0.apply$mcV$sp(Function0.scala:34)\r\n\tat scala.Function0.apply$mcV$sp$(Function0.scala:34)\r\n\tat scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:12)\r\n\tat scala.App.$anonfun$main$1$adapted(App.scala:76)\r\n\tat scala.collection.immutable.List.foreach(List.scala:389)\r\n\tat scala.App.main(App.scala:76)\r\n\tat scala.App.main$(App.scala:74)\r\n\tat simplePseudonymity.PseudoApp$.main(PseudoApp.scala:23)\r\n\tat simplePseudonymity.PseudoApp.main(PseudoApp.scala)"}}
{"actor":{"display_login":"max-leuthaeuser"}}