Restcomm-Connect
Restcomm-Connect copied to clipboard
IllegalStateException thrown when sending message from Alice to Bob
Is this a BUG REPORT or FEATURE REQUEST?: /kind bug
What happened:
When sending a message from Alice to Bob using Olympus, the message is properly sent and received but an exception is thrown in the console:
...
23:34:12,273 INFO [org.mobicents.servlet.sip.core.session.SipApplicationSessionImpl] (MSS-Executor-Thread-5) The following sip application session 367ed3b7;RestComm has been invalidated
23:34:12,274 INFO [org.restcomm.connect.telephony.api.util.B2BUAHelper] (RestComm-akka.actor.default-dispatcher-81) CDR found! Updating
23:34:12,275 ERROR [org.restcomm.connect.commons.faulttolerance.RestcommSupervisorStrategy] (RestComm-akka.actor.default-dispatcher-81) RestcommSupervisorStrategy, actor exception handling. Actor path akka://RestComm/user/$c, exception cause java.lang.IllegalStateException: SipApplicationSession already invalidated !, default exception handling strategy Resume
23:34:12,275 ERROR [org.restcomm.connect.sms.SmsService] (RestComm-akka.actor.default-dispatcher-82) SipApplicationSession already invalidated !: java.lang.IllegalStateException: SipApplicationSession already invalidated !
at org.mobicents.servlet.sip.core.session.SipSessionImpl.getAttribute(SipSessionImpl.java:733)
at org.mobicents.servlet.sip.message.MobicentsSipSessionFacade.getAttribute(MobicentsSipSessionFacade.java:100)
at org.restcomm.connect.telephony.api.util.B2BUAHelper.sendCallInfoStreamEvent(B2BUAHelper.java:833) [restcomm-connect.telephony.api-8.3.1-193.jar:8.3.1-193]
at org.restcomm.connect.telephony.api.util.B2BUAHelper.forwardResponse(B2BUAHelper.java:637) [restcomm-connect.telephony.api-8.3.1-193.jar:8.3.1-193]
at org.restcomm.connect.sms.SmsService.response(SmsService.java:528) [restcomm-connect.sms-8.3.1-193.jar:8.3.1-193]
at org.restcomm.connect.sms.SmsService.onReceive(SmsService.java:517) [restcomm-connect.sms-8.3.1-193.jar:8.3.1-193]
at akka.actor.UntypedActor$$anonfun$receive$1.applyOrElse(UntypedActor.scala:159) [akka-actor_2.10-2.1.2.jar:]
at akka.actor.ActorCell.receiveMessage(ActorCell.scala:425) [akka-actor_2.10-2.1.2.jar:]
at akka.actor.ActorCell.invoke(ActorCell.scala:386) [akka-actor_2.10-2.1.2.jar:]
at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:230) [akka-actor_2.10-2.1.2.jar:]
at akka.dispatch.Mailbox.run(Mailbox.scala:212) [akka-actor_2.10-2.1.2.jar:]
at akka.dispatch.ForkJoinExecutorConfigurator$MailboxExecutionTask.exec(AbstractDispatcher.scala:506) [akka-actor_2.10-2.1.2.jar:]
at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:262) [scala-library-2.10.1.jar:]
at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:975) [scala-library-2.10.1.jar:]
at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1478) [scala-library-2.10.1.jar:]
at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) [scala-library-2.10.1.jar:]
What you expected to happen: Expected an exception-free log :)
How to reproduce it (as minimally and precisely as possible): Start restcomm, sign in to Olympus with Alice and with Bob, send a message from one to the other and luckily there should be the exception.
Anything else we need to know?: —
Environment:
- Restcomm Connect version (from startup logs): 8.3.1
- Cloud provider or hardware configuration: N/A
- OS (e.g. from /etc/os-release): macOS 10.13.3
- Kernel (e.g.
uname -a
): Darwin Kernel Version 17.4.0 - Deployment method (e.g.
docker-compose
, with linkeddocker-compose.yml
file, or application server info + deployment option): ./start-restcomm.sh - Others: N/A