showrav017 / jain-sip

Automatically exported from code.google.com/p/jain-sip
0 stars 0 forks source link

Fails to send SIP request to itself while setting gov.nist.javax.sip.AGGRESSIVE_CLEANUP=true #10

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Application sending a MESSAGE to itself and getting the response before the 
transaction timer had time to fire
See Exception below

Jul 30 21:34:54,741 [Self Recovery Thread] 
com.avistar.selfrecovery.SelfRecoveryThread ERROR: Error in SelfRecoveryThread:
java.lang.IllegalStateException: Error sending request MESSAGE 
sip:192.168.253.206:5062;transport=TLS SIP/2.0
Call-ID: d219dbf382419ed04bb9b7ca34c0134b@192.168.253.206
CSeq: 1 MESSAGE
From: 
<sip:selfrecovery@avistar>;tag=32187016_8a1e29b3_bbfa7541-11b0-4a81-aa80-60d99a8
7c8f6
To: <sip:192.168.253.206:5062>
Max-Forwards: 70
Content-Type: application/vnd.avistar.com+xml
Via: SIP/2.0/TLS 
192.168.253.206:5062;branch=z9hG4bKbbfa7541-11b0-4a81-aa80-60d99a87c8f6_8a1e29b3
_347707431750404
Content-Length: 61

<SelfRecovery>Self recovery keep-alive message</SelfRecovery>
at 
org.mobicents.servlet.sip.message.SipServletRequestImpl.send(SipServletRequestIm
pl.java:1317)
at 
org.mobicents.servlet.sip.message.SipServletRequestImpl.send(SipServletRequestIm
pl.java:994)
at 
com.avistar.selfrecovery.SelfRecoveryThread.sendSelfRecoveryMessageRequest(SelfR
ecoveryThread.java:138)
at com.avistar.selfrecovery.SelfRecoveryThread.run(SelfRecoveryThread.java:42)
Caused by: java.lang.NullPointerException
at 
gov.nist.javax.sip.stack.SIPClientTransaction.startTransactionTimer(SIPClientTra
nsaction.java:1402)
at gov.nist.javax.sip.stack.SIPTransaction.sendMessage(SIPTransaction.java:920)
at 
gov.nist.javax.sip.stack.SIPClientTransaction.sendMessage(SIPClientTransaction.j
ava:489)
at 
gov.nist.javax.sip.stack.SIPClientTransaction.sendRequest(SIPClientTransaction.j
ava:1057)
at 
org.mobicents.servlet.sip.message.SipServletRequestImpl.send(SipServletRequestIm
pl.java:1279)
... 3 more

Original issue reported on code.google.com by jean.deruelle on 3 Aug 2012 at 9:24

GoogleCodeExporter commented 8 years ago
This issue was updated by revision 17a9a786db9c.

Trying a fix

Original comment by jean.deruelle on 3 Aug 2012 at 9:26

GoogleCodeExporter commented 8 years ago
This issue was updated by revision b51e26ac9968.

Trying a fix

Original comment by jean.deruelle on 3 Aug 2012 at 9:27

GoogleCodeExporter commented 8 years ago
This issue was updated by revision 5d8805bfcff4.

Backporting to TelScale branch

Trying a fix
(cherry picked from commit 17a9a786db9c2c60e1c60e706dc8d7ca56b30826)

Original comment by jean.deruelle on 7 Aug 2012 at 8:32

GoogleCodeExporter commented 8 years ago

Original comment by jean.deruelle on 7 Aug 2012 at 8:32

GoogleCodeExporter commented 8 years ago
Tied to http://java.net/jira/browse/JSIP-431

Original comment by jean.deruelle on 7 Aug 2012 at 8:40

GoogleCodeExporter commented 8 years ago
This issue was updated by revision 56dfffed8b53.

Backporting to NIO Branch

Trying a fix
(cherry picked from commit b51e26ac99685bfc747fd8cf4702c9644a0ed5d2)

git-svn-id: 
https://svn.java.net/svn/jsip~svn/branches/JAIN-SIP-NIO-year-2012@2139 
8e71dc83-d81e-6649-80f2-80b843a9b2be

Original comment by jean.deruelle on 13 Aug 2012 at 4:22

GoogleCodeExporter commented 8 years ago
This issue was updated by revision bcbdaedbc2b2.

Trying a fix

git-svn-id: https://svn.java.net/svn/jsip~svn/trunk@2138 
8e71dc83-d81e-6649-80f2-80b843a9b2be

Original comment by jean.deruelle on 11 Dec 2012 at 2:48

GoogleCodeExporter commented 8 years ago
This issue was updated by revision 5d8805bfcff4.

Backporting to TelScale branch

Trying a fix
(cherry picked from commit 17a9a786db9c2c60e1c60e706dc8d7ca56b30826)

Original comment by jean.deruelle on 19 Aug 2014 at 4:59