Status: New
Owner: ----
Labels: Type-Defect Priority-Medium Component-Sip-Servlets MSS-3.0.0.FINAL
Roadmap-Fix
New issue 267 by [email protected]: NPE when sending a CANCEL
http://code.google.com/p/sipservlets/issues/detail?id=267
What steps will reproduce the problem?
1. Create a B2BUA application (I tested the issue only for B2BUA
application)
2. in the doCancel method forward the cancel to the second user
req.getB2buaHelper().createCancel( req.getB2buaHelper().getLinkedSession(
req.getSession() ) ).send();
3. Send a CANCEL
What is the expected output? What do you see instead?
The CANCEL that comes from the first user is forwarded to the second.
Instead a NullPointerException is thrown.
What version of the product are you using? On what operating system?
3.0.0-SNAPSHOT (buld 521)
It works on 2.0.0-Final
Please provide any additional information below.
It's not enough to check if the hop is null at line 1480 of SipRequestImpl,
even though it seems logical, because in that case
a "javax.sip.SipException: Could not find original tx to cancel. RFC 3261
9.1" is thrown.
Attachments:
mobicents-debug.txt 141 KB
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
---
You received this message because you are subscribed to the Google Groups "mobicents-all-issues-changes" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.