hanenehrizi / sipdroid

Automatically exported from code.google.com/p/sipdroid
GNU General Public License v3.0
0 stars 0 forks source link

NullPointerException in SipURL.java #37

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In r86 of trunk/src/org/zoolu/sip/address/SipURL.java, the SipURL(String
hostname, int portnumber) constructor calls init(null, hostname,
portnumber). On line 93 within init(String username, String hostname, int
portnumber), there is no test to see if username is null, so the
username.indexOf call can throw a NullPointerException.

Original issue reported on code.google.com by thomas536 on 27 May 2009 at 1:02

GoogleCodeExporter commented 9 years ago

Original comment by pmerl...@googlemail.com on 11 Jun 2009 at 12:00