[sip-comm-issues] [Issue 555] New - Unproper handling of invalid dst addresses in p2p accounts

emcho at dev.java.net emcho at dev.java.net
Sat Jan 31 13:21:57 CET 2009


https://sip-communicator.dev.java.net/issues/show_bug.cgi?id=555
                 Issue #|555
                 Summary|Unproper handling of invalid dst addresses in p2p acco
                        |unts
               Component|sip-communicator
                 Version|current
                Platform|All
              OS/Version|All
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|development
             Assigned to|issues at sip-communicator
             Reported by|emcho






------- Additional comments from emcho at dev.java.net Sat Jan 31 12:21:56 +0000 2009 -------
Create a p2p account and try to call an arbitrary string (e.g. asdfasdf).
Instead of seeing and error message, nothing will happen. 

On further inspection the logs seem to create the following stack trace:

     [java] 13:16:13.041 SEVERE: util.UtilActivator.uncaughtException().81 An
uncaught exception occurred in thread=Thread[Thread-41,6,main] and message was:
2345234523452 is not a valid internet address 2345234523452
     [java] java.lang.IllegalArgumentException: 2345234523452 is not a valid
internet address 2345234523452
     [java]     at
net.java.sip.communicator.impl.protocol.sip.ProtocolProviderServiceSipImpl.getIntendedDestination(ProtocolProviderServiceSipImpl.java:2243)
     [java]     at
net.java.sip.communicator.impl.protocol.sip.ProtocolProviderServiceSipImpl.getIntendedDestination(ProtocolProviderServiceSipImpl.java:2206)
     [java]     at
net.java.sip.communicator.impl.protocol.sip.ProtocolProviderServiceSipImpl.getOurSipAddress(ProtocolProviderServiceSipImpl.java:1508)
     [java]     at
net.java.sip.communicator.impl.protocol.sip.ProtocolProviderServiceSipImpl.getOurSipAddress(ProtocolProviderServiceSipImpl.java:1487)
     [java]     at
net.java.sip.communicator.impl.protocol.sip.OperationSetBasicTelephonySipImpl.createInviteRequest(OperationSetBasicTelephonySipImpl.java:1376)
     [java]     at
net.java.sip.communicator.impl.protocol.sip.OperationSetBasicTelephonySipImpl.createOutgoingCall(OperationSetBasicTelephonySipImpl.java:177)
     [java]     at
net.java.sip.communicator.impl.protocol.sip.OperationSetBasicTelephonySipImpl.createCall(OperationSetBasicTelephonySipImpl.java:111)
     [java]     at
net.java.sip.communicator.impl.gui.main.call.CallManager$CreateCallThread.run(CallManager.java:257)
     [java] Caused by: java.net.UnknownHostException: 2345234523452
     [java]     at java.net.InetAddress.getAllByName0(InetAddress.java:1157)
     [java]     at java.net.InetAddress.getAllByName(InetAddress.java:1083)
     [java]     at java.net.InetAddress.getAllByName(InetAddress.java:1019)
     [java]     at java.net.InetAddress.getByName(InetAddress.java:969)
     [java]     at
net.java.sip.communicator.impl.protocol.sip.ProtocolProviderServiceSipImpl.resolveSipAddress(ProtocolProviderServiceSipImpl.java:2160)
     [java]     at
net.java.sip.communicator.impl.protocol.sip.ProtocolProviderServiceSipImpl.resolveSipAddress(ProtocolProviderServiceSipImpl.java:2189)
     [java]     at
net.java.sip.communicator.impl.protocol.sip.ProtocolProviderServiceSipImpl.getIntendedDestination(ProtocolProviderServiceSipImpl.java:2239)
     [java]     ... 7 more

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe at sip-communicator.dev.java.net
For additional commands, e-mail: issues-help at sip-communicator.dev.java.net





More information about the issues mailing list