| Summary: | Error if networkInterface without displayName is encountered | ||
|---|---|---|---|
| Product: | JacORB | Reporter: | francois.vandelft |
| Component: | ORB | Assignee: | Mailinglist to track bugs <jacorb-bugs> |
| Status: | RESOLVED FIXED | ||
| Severity: | major | CC: | francois.vandelft, jacorb |
| Priority: | P5 | ||
| Version: | 3.5 | ||
| Hardware: | PC | ||
| OS: | Windows NT | ||
Added test and fix in SHA 802029d2b3781456d287c309a35cd1842e947477 |
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; } }