{"action":"closed","issue":{"url":"https://api.github.com/repos/Mobicents/sip-servlets/issues/46","labels_url":"https://api.github.com/repos/Mobicents/sip-servlets/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/Mobicents/sip-servlets/issues/46/comments","events_url":"https://api.github.com/repos/Mobicents/sip-servlets/issues/46/events","html_url":"https://github.com/Mobicents/sip-servlets/issues/46","id":58339252,"number":46,"title":"SipURI.setParameter(\"key\", null) results in NPE","user":{"login":"deruelle","id":54279,"avatar_url":"https://avatars.githubusercontent.com/u/54279?v=3","gravatar_id":"","url":"https://api.github.com/users/deruelle","html_url":"https://github.com/deruelle","followers_url":"https://api.github.com/users/deruelle/followers","following_url":"https://api.github.com/users/deruelle/following{/other_user}","gists_url":"https://api.github.com/users/deruelle/gists{/gist_id}","starred_url":"https://api.github.com/users/deruelle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deruelle/subscriptions","organizations_url":"https://api.github.com/users/deruelle/orgs","repos_url":"https://api.github.com/users/deruelle/repos","events_url":"https://api.github.com/users/deruelle/events{/privacy}","received_events_url":"https://api.github.com/users/deruelle/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-20T11:22:17Z","updated_at":"2015-02-20T11:32:29Z","closed_at":"2015-02-20T11:32:29Z","body":"Using uri.setParameter(\"orig\", null); in RestComm results in following exception\r\n\r\nERROR RestComm-akka.actor.default-dispatcher-5 akka.event.slf4j.Slf4jEventHandler$$anonfun$receive$1$$anonfun$applyOrElse$1.apply$mcV$sp(Slf4jEventHandler.scala:64) - java.lang.NullPointerException\r\norg.mobicents.servlet.restcomm.fsm.TransitionFailedException: java.lang.NullPointerException\r\n\tat org.mobicents.servlet.restcomm.fsm.FiniteStateMachine.transition(FiniteStateMachine.java:85)\r\n\tat org.mobicents.servlet.restcomm.telephony.Call.onReceive(Call.java:568)\r\n\tat akka.actor.UntypedActor$$anonfun$receive$1.applyOrElse(UntypedActor.scala:159)\r\n\tat akka.actor.ActorCell.receiveMessage(ActorCell.scala:425)\r\n\tat akka.actor.ActorCell.invoke(ActorCell.scala:386)\r\n\tat akka.dispatch.Mailbox.processMailbox(Mailbox.scala:230)\r\n\tat akka.dispatch.Mailbox.run(Mailbox.scala:212)\r\n\tat akka.dispatch.ForkJoinExecutorConfigurator$MailboxExecutionTask.exec(AbstractDispatcher.scala:506)\r\n\tat scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:262)\r\n\tat scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:975)\r\n\tat scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1478)\r\n\tat scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104)\r\nCaused by: java.lang.NullPointerException\r\n\tat org.mobicents.servlet.sip.address.RFC2396UrlDecoder.encode(RFC2396UrlDecoder.java:74)\r\n\tat org.mobicents.servlet.sip.address.SipURIImpl.setParameter(SipURIImpl.java:410)\r\n\tat org.mobicents.servlet.restcomm.telephony.Call$Dialing.execute(Call.java:1037)\r\n\tat org.mobicents.servlet.restcomm.fsm.FiniteStateMachine.transition(FiniteStateMachine.java:83)\r\n\t... 11 more"}}