<?xml version="1.0" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.jacorb.org/bugzilla/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.2"
          urlbase="https://www.jacorb.org/bugzilla/"
          
          maintainer="jacorb@goots.org"
>

    <bug>
          <bug_id>1005</bug_id>
          
          <creation_ts>2015-03-16 05:09:10 +0000</creation_ts>
          <short_desc>Error if networkInterface without displayName is encountered</short_desc>
          <delta_ts>2015-03-17 06:22:07 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>JacORB</product>
          <component>ORB</component>
          <version>3.5</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>francois.vandelft</reporter>
          <assigned_to name="Mailinglist to track bugs">jacorb-bugs</assigned_to>
          <cc>francois.vandelft</cc>
    
    <cc>jacorb</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>3281</commentid>
    <comment_count>0</comment_count>
    <who name="">francois.vandelft</who>
    <bug_when>2015-03-16 05:09:10 +0000</bug_when>
    <thetext>In 3.6 next code gives an error


IIOPAddress.java&gt;&gt; line 626.
If a NetworkInterface does not have a displayName(), a NULL is returned.
=&gt; 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;
                    }
                }</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3282</commentid>
    <comment_count>1</comment_count>
    <who name="Nick Cross">jacorb</who>
    <bug_when>2015-03-17 06:22:07 +0000</bug_when>
    <thetext>Added test and fix in SHA 802029d2b3781456d287c309a35cd1842e947477</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>