Status: New
Owner: ----
Labels: Type-Defect Priority-Medium MSS-1.7.0.FINAL Release-Type-FINAL Roadmap-Fix Component-Sip-Servlets

New issue 2902 by [email protected]: NullPointerException from SipServletMessage.getRemoteAddr()
http://code.google.com/p/mobicents/issues/detail?id=2902

In the case of a locally-generated SipServletMessage, getRemoteAddr() is supposed to return null. However in MSS 1.6 (unlike 1.5), we get a NullPointerException.

I believe this is due to a bug introduced in svn rev 19185. getHost() is called on the Via header without a check to see if the Via header exists. In contrast, getRemotePort() does perform such a check.

http://groups.google.com/group/mobicents-public/browse_thread/thread/73702039c5530253

Reply via email to