NPE: When CANCEL a call
"Victor Hugo Ros Villegas" <[email protected]>
| Newsgroups | gmane.comp.voip.nist-sip |
|---|---|
| Message-ID | <[email protected]> |
When I call an user but I cancel the call before the called user accepts I
receive a NullPointerException:
19:26:53,687 INFO [STDOUT] Exception in thread "UDPMessageChannelThread"
19:26:53,703 INFO [STDOUT] java.lang.NullPointerException
19:26:53,703 INFO [STDOUT] at
gov.nist.javax.sip.stack.SIPServerTransaction
.setDialog(SIPServerTransaction.java:1220)
19:26:53,718 INFO [STDOUT] at
gov.nist.javax.sip.NistSipMessageHandlerImpl.
processRequest(NistSipMessageHandlerImpl.java:264)
19:26:53,734 INFO [STDOUT] at
gov.nist.javax.sip.stack.SIPServerTransaction
.processRequest(SIPServerTransaction.java:687)
19:26:53,734 INFO [STDOUT] at
gov.nist.javax.sip.stack.UDPMessageChannel.ru
n(UDPMessageChannel.java:382)
19:26:53,750 INFO [STDOUT] at java.lang.Thread.run(Thread.java:595)
19:26:58,968 INFO [SbbEntity] invoking event handler onTimerEvent on
org.mobice
nts.slee.services.sip.proxy.JainSipProxySbbImpl ID SbbID[ProxySbb#NIST#1.0]
sbbE
ntity org.mobicents.slee.runtime.SbbEntity@bd630e currentEvent
SleeEventImpl.toS
tring() = {
*****************************
I think that the problem is in the
gov.nist.javax.sip.NistSipMessageHandlerImpl (Line 264)
transaction.setDialog((SIPDialog) st.getDialog(), sipRequest);
If the st.getDialog() returns null the setDialog is called with arg0= null
-> SIPServerTransaction (Line 1218):
public void setDialog(SIPDialog sipDialog, SIPMessage sipMessage) {
this.dialog = sipDialog;
this.dialog.setAssigned(); ----->>> NullPointerException!!!!!!!!
Regards,
Victor
_______________________________________________
nist-sip mailing list
[email protected]
http://www-x.antd.nist.gov/mailman/listinfo/nist-sip