<?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>977</bug_id>
          
          <creation_ts>2014-02-05 10:38:13 +0000</creation_ts>
          <short_desc>NPE on OAAddress 0.0.0.0</short_desc>
          <delta_ts>2014-04-22 18:13:50 +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.4 beta</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</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>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Juergen Weber">juergen</reporter>
          <assigned_to name="Mailinglist to track bugs">jacorb-bugs</assigned_to>
          <cc>jacorb</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>3108</commentid>
    <comment_count>0</comment_count>
    <who name="Juergen Weber">juergen</who>
    <bug_when>2014-02-05 10:38:13 +0000</bug_when>
    <thetext>If JacORB 3.4 final is inited with
Property(&quot;OAAddress&quot;, &quot;iiop://0.0.0.0:2014&quot;)
there is an NPE.

To reproduce: 
use the property with the hello demo:

props.setProperty(&quot;OAAddress&quot;, &quot;iiop://0.0.0.0:2014&quot;);


INFO Initialising ORB with ID:
INFO oid: 00 33 4 &lt;00334&gt;C 46 16 15 3 &lt;4616153&gt;D 10 0C 10 06 30 46 38 14 14
1 &lt;100630463814141&gt;B 48 4C 1B .3LF..=....0F8...HL.object is activated
INFO Using server ID (4703676094) for transient POA
Exception in thread &quot;main&quot; java.lang.NullPointerException
at org.jacorb.orb.iiop.IIOPAddress.write(IIOPAddress.java:538)
at org.jacorb.orb.iiop.IIOPProfile.writeAddressProfile(IIOPProfile.java:456)
at org.jacorb.orb.etf.ProfileBase.marshal(ProfileBase.java:145)
at org.jacorb.orb.ORB.createIOR(ORB.java:963)
at org.jacorb.orb.ORB.getReference(ORB.java:1199)
at org.jacorb.poa.POA.getReference(POA.java:1308)
at org.jacorb.poa.POA.servant_to_reference(POA.java:2015)
at demo.hello.Server.main(Server.java:34)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3109</commentid>
    <comment_count>1</comment_count>
    <who name="Nick Cross">jacorb</who>
    <bug_when>2014-02-08 03:16:03 +0000</bug_when>
    <thetext>A NullPointer can also be provoked by enabling SSL and passing  -ORBListenEndpoints iiop://:45678

This should by corrected as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3125</commentid>
    <comment_count>2</comment_count>
    <who name="Nick Cross">jacorb</who>
    <bug_when>2014-04-22 18:13:50 +0000</bug_when>
    <thetext>Fixed by https://github.com/JacORB/JacORB/pull/106</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>