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

[email protected] Mon, 16 Mar 2015 09:09:10 +0000
Newsgroups gmane.comp.corba.jacorb.bugs
Message-ID <[email protected]/bugzilla/>
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: [email protected]
          Reporter: [email protected]

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.

_______________________________________________
jacorb-bugs mailing list
[email protected]
https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-bugs