[jacorb-bugs] [Bug 1006] New: PrintStackTrace call in PortRangeSocketFactory (Jacorb 3.6)

bugzilla-daemon at jacorb.org bugzilla-daemon at jacorb.org
Tue Mar 17 16:48:06 CET 2015


http://www.jacorb.org/bugzilla/show_bug.cgi?id=1006

            Bug ID: 1006
           Summary: PrintStackTrace call in PortRangeSocketFactory (Jacorb
                    3.6)
           Product: JacORB
           Version: 3.5
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P5
         Component: ORB
          Assignee: jacorb-bugs at lists.spline.inf.fu-berlin.de
          Reporter: david.shay at externe.bnpparibas.com

In Jacorb 3.6, in class PortRangeSocketFactory, there remains a call to the
printStackTrace method which floods our console with exceptions in cases we hit
a firewall or a server did not start.
See line 177 in method doCreateSocket:

            catch (IOException ex)
            {
==>             ex.printStackTrace();
                tryToClose(socket);
                if (useTimeout && System.currentTimeMillis() > expireTime)
                {
                    throw new TIMEOUT("couldn't open socket within " + timeout
+ ". Last exception details: " + ex.toString());
                }
            }

This call should be removed.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spline.inf.fu-berlin.de/pipermail/jacorb-bugs/attachments/20150317/4954133a/attachment.html>


More information about the jacorb-bugs mailing list