<html>
<head>
<base href="http://www.jacorb.org/bugzilla/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Error if networkInterface without displayName is encountered"
href="http://www.jacorb.org/bugzilla/show_bug.cgi?id=1005">1005</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Error if networkInterface without displayName is encountered
</td>
</tr>
<tr>
<th>Product</th>
<td>JacORB
</td>
</tr>
<tr>
<th>Version</th>
<td>3.5
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows NT
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>major
</td>
</tr>
<tr>
<th>Priority</th>
<td>P5
</td>
</tr>
<tr>
<th>Component</th>
<td>ORB
</td>
</tr>
<tr>
<th>Assignee</th>
<td>jacorb-bugs@lists.spline.inf.fu-berlin.de
</td>
</tr>
<tr>
<th>Reporter</th>
<td>francois.vandelft@nasdaq.com
</td>
</tr></table>
<p>
<div>
<pre>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;
}
}</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>