[jacorb-bugs] [Bug 1005] New: Error if networkInterface without displayName is encountered

bugzilla-daemon at jacorb.org bugzilla-daemon at jacorb.org
Mon Mar 16 10:09:10 CET 2015


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

            Bug ID: 1005
           Summary: Error if networkInterface without displayName is
                    encountered
           Product: JacORB
           Version: 3.5
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: major
          Priority: P5
         Component: ORB
          Assignee: jacorb-bugs at lists.spline.inf.fu-berlin.de
          Reporter: francois.vandelft at nasdaq.com

In 3.6 next code gives an error


IIOPAddress.java>> line 626.
If a NetworkInterface does not have a displayName(), a NULL is returned.
=> The implemented code does not take this null into account.

After reversing to JacOrb 3.5 (without this code), everything works again.


            for (NetworkInterface ni :
Collections.list(NetworkInterface.getNetworkInterfaces()))
            {
                boolean isVirtual = false;
                for (String nvi : networkVirtualInterfaces)
                {
                    if (ni.getDisplayName().contains(nvi))
                    {
                        isVirtual = true;
                        break;
                    }
                }

-- 
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/20150316/c18eeda4/attachment.html>


More information about the jacorb-bugs mailing list