{"action":"opened","issue":{"url":"https://api.github.com/repos/Mobicents/restcomm-ios-sdk/issues/241","labels_url":"https://api.github.com/repos/Mobicents/restcomm-ios-sdk/issues/241/labels{/name}","comments_url":"https://api.github.com/repos/Mobicents/restcomm-ios-sdk/issues/241/comments","events_url":"https://api.github.com/repos/Mobicents/restcomm-ios-sdk/issues/241/events","html_url":"https://github.com/Mobicents/restcomm-ios-sdk/issues/241","id":106558830,"number":241,"title":"SIP MESSAGE from messenger successfully reaches olympus but no 200 OK is returned to messenger","user":{"login":"atsakiridis","id":8684513,"avatar_url":"https://avatars.githubusercontent.com/u/8684513?v=3","gravatar_id":"","url":"https://api.github.com/users/atsakiridis","html_url":"https://github.com/atsakiridis","followers_url":"https://api.github.com/users/atsakiridis/followers","following_url":"https://api.github.com/users/atsakiridis/following{/other_user}","gists_url":"https://api.github.com/users/atsakiridis/gists{/gist_id}","starred_url":"https://api.github.com/users/atsakiridis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atsakiridis/subscriptions","organizations_url":"https://api.github.com/users/atsakiridis/orgs","repos_url":"https://api.github.com/users/atsakiridis/repos","events_url":"https://api.github.com/users/atsakiridis/events{/privacy}","received_events_url":"https://api.github.com/users/atsakiridis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/Mobicents/restcomm-ios-sdk/milestones/10","html_url":"https://github.com/Mobicents/restcomm-ios-sdk/milestones/1.0.0%20BETA3%20release","labels_url":"https://api.github.com/repos/Mobicents/restcomm-ios-sdk/milestones/10/labels","id":1235441,"number":10,"title":"1.0.0 BETA3 release","description":"","creator":{"login":"atsakiridis","id":8684513,"avatar_url":"https://avatars.githubusercontent.com/u/8684513?v=3","gravatar_id":"","url":"https://api.github.com/users/atsakiridis","html_url":"https://github.com/atsakiridis","followers_url":"https://api.github.com/users/atsakiridis/followers","following_url":"https://api.github.com/users/atsakiridis/following{/other_user}","gists_url":"https://api.github.com/users/atsakiridis/gists{/gist_id}","starred_url":"https://api.github.com/users/atsakiridis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atsakiridis/subscriptions","organizations_url":"https://api.github.com/users/atsakiridis/orgs","repos_url":"https://api.github.com/users/atsakiridis/repos","events_url":"https://api.github.com/users/atsakiridis/events{/privacy}","received_events_url":"https://api.github.com/users/atsakiridis/received_events","type":"User","site_admin":false},"open_issues":18,"closed_issues":16,"state":"open","created_at":"2015-07-31T16:57:28Z","updated_at":"2015-09-15T13:41:32Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-09-15T13:41:32Z","updated_at":"2015-09-15T13:41:32Z","closed_at":null,"body":"Scenario\r\n\r\n- Messenger sends SIP MESSAGE to olympus (via Restcomm)\r\n- Olympus receives message correctly and responds 200 OK to Restcomm\r\n- No 200 OK is sent back from Restcomm to messenger\r\n\r\nIMPORTANT: Scenario is not always reproducible, but usually 1/2 times.\r\n\r\nChecking Restcomm logs shows that Restcomm gets an NPE before managing to send the response:\r\n\r\n09:33:05,411 ERROR [org.mobicents.servlet.restcomm.sms.SmsService] (RestComm-akka.actor.default-dispatcher-96753) null: java.lang.NullPointerException\r\n\tat org.mobicents.servlet.restcomm.sms.SmsService.response(SmsService.java:345) [restcomm.sms-7.3.1.1157.jar:]\r\n\tat org.mobicents.servlet.restcomm.sms.SmsService.onReceive(SmsService.java:330) [restcomm.sms-7.3.1.1157.jar:]\r\n\tat akka.actor.UntypedActor$$anonfun$receive$1.applyOrElse(UntypedActor.scala:159) [akka-actor_2.10-2.1.2.jar:]\r\n\tat akka.actor.ActorCell.receiveMessage(ActorCell.scala:425) [akka-actor_2.10-2.1.2.jar:]\r\n\tat akka.actor.ActorCell.invoke(ActorCell.scala:386) [akka-actor_2.10-2.1.2.jar:]\r\n\tat akka.dispatch.Mailbox.processMailbox(Mailbox.scala:230) [akka-actor_2.10-2.1.2.jar:]\r\n\tat akka.dispatch.Mailbox.run(Mailbox.scala:212) [akka-actor_2.10-2.1.2.jar:]\r\n\tat akka.dispatch.ForkJoinExecutorConfigurator$MailboxExecutionTask.exec(AbstractDispatcher.scala:506) [akka-actor_2.10-2.1.2.jar:]\r\n\tat scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:262) [scala-library-2.10.1.jar:]\r\n\tat scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:975) [scala-library-2.10.1.jar:]\r\n\tat scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1478) [scala-library-2.10.1.jar:]\r\n\tat scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) [scala-library-2.10.1.jar:]\r\n\r\nFull Restcomm logs at:\r\n\r\nhttps://gist.github.com/atsakiridis/0aa56a7e50a32868bde1"}}