Comment #3 on issue 648 by vladimir.ralev: SipServletMessages are not serialized correctly
http://code.google.com/p/mobicents/issues/detail?id=648

Similar SIPP scenario produces this on the backup node (after the failover):

java.lang.NullPointerException
        at
org.mobicents.servlet.sip.message.MobicentsSipSessionFacade.writeExternal(MobicentsSipSessionFacade.java:176)
at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1438) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1407)
        at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1167)
        at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:343)
at java.util.concurrent.ConcurrentHashMap.writeObject(ConcurrentHashMap.java:1284)
        at sun.reflect.GeneratedMethodAccessor29.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at 
java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:962)
        at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1478)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1409)
        at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1167)
        at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:343)
        at
org.jboss.web.tomcat.service.session.SessionBasedClusteredSipSession.writeExternal(SessionBasedClusteredSipSession.java:172)
        at
org.jboss.web.tomcat.service.session.ConvergedJBossCacheService.externalizeSipSession(ConvergedJBossCacheService.java:1927)
        at
org.jboss.web.tomcat.service.session.ConvergedJBossCacheService.putSipSession(ConvergedJBossCacheService.java:550)
        at
org.jboss.web.tomcat.service.session.JBossCacheClusteredSipSession.processSessionRepl(JBossCacheClusteredSipSession.java:153)
        at
org.jboss.web.tomcat.service.session.JBossCacheSipManager.processSipSessionRepl(JBossCacheSipManager.java:1678)
        at
org.jboss.web.tomcat.service.session.JBossCacheSipManager.storeSipSession(JBossCacheSipManager.java:750)
        at
org.jboss.web.tomcat.service.session.InstantConvergedSnapshotManager.snapshot(InstantConvergedSnapshotManager.java:39)
        at
org.mobicents.servlet.sip.startup.SipStandardContext.exitSipApp(SipStandardContext.java:1010)
        at
org.mobicents.servlet.sip.core.dispatchers.SubsequentRequestDispatcher$1.dispatch(SubsequentRequestDispatcher.java:249)
at org.mobicents.servlet.sip.core.dispatchers.DispatchTask.run(DispatchTask.java:51) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:636)
20:37:14,014 INFO  [SipCacheListener] following node modified
/SIPSESSION/localhost/DistributableClick2Call/(45988318993704,DistributableClick2Call)/(sip:[email protected]:5090,70721676_6f97354c_45988318993704,sip:[email protected]:5091,[email protected],DistributableClick2Call)
with name
(sip:[email protected]:5090,70721676_6f97354c_45988318993704,sip:[email protected]:5091,[email protected],DistributableClick2Call)
20:37:14,014 INFO  [SipCacheListener] following node modified
/SIPSESSION/localhost/DistributableClick2Call/(45988318993704,DistributableClick2Call)/(sip:[email protected]:5090,70721676_6f97354c_45988318993704,sip:[email protected]:5091,[email protected],DistributableClick2Call)
with name
(sip:[email protected]:5090,70721676_6f97354c_45988318993704,sip:[email protected]:5091,[email protected],DistributableClick2Call)
20:37:14,014 INFO [JBossCacheSipManager] replicating following sip application
session (45988318993704,DistributableClick2Call)
20:37:14,015 INFO  [SipCacheListener] following node modified
/SIPSESSION/localhost/DistributableClick2Call/(45988318993704,DistributableClick2Call) with
name (45988318993704,DistributableClick2Call)
20:37:14,016 INFO  [SipCacheListener] following node modified
/SIPSESSION/localhost/DistributableClick2Call/(45988318993704,DistributableClick2Call) with
name (45988318993704,DistributableClick2Call)
20:37:14,016 ERROR [DispatchTask] Unexpected exception while processing message BYE
sip:[email protected]:5080;transport=udp SIP/2.0
Via: SIP/2.0/UDP
127.0.0.1:5065;branch=z9hG4bK30890de8ce44e8b189557e81a425628b,SIP/2.0/UDP
127.0.0.1:5091;branch=z9hG4bK-21306-1-6
From: <sip:[email protected]:5091>;tag=1
To: <sip:[email protected]:5090>;tag=70721676_6f97354c_45988318993704
Call-ID: [email protected]
CSeq: 2 BYE
Contact: <sip:[email protected]:5091>
Max-Forwards: 69
Subject: Clustering Test
Content-Length: 0


java.lang.NullPointerException
        at
org.mobicents.servlet.sip.message.MobicentsSipSessionFacade.createRequest(MobicentsSipSessionFacade.java:62)
        at
org.mobicents.servlet.sip.example.DistributableClick2CallSipServlet.doBye(DistributableClick2CallSipServlet.java:164)
        at javax.servlet.sip.SipServlet.doRequest(SipServlet.java:231)
        at javax.servlet.sip.SipServlet.service(SipServlet.java:325)
        at
org.mobicents.servlet.sip.core.dispatchers.MessageDispatcher.callServlet(MessageDispatcher.java:205)
        at
org.mobicents.servlet.sip.core.dispatchers.SubsequentRequestDispatcher$1.dispatch(SubsequentRequestDispatcher.java:239)
at org.mobicents.servlet.sip.core.dispatchers.DispatchTask.run(DispatchTask.java:51) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:636)


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

Reply via email to