<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 - NPE on OAAddress 0.0.0.0"
href="http://www.jacorb.org/bugzilla/show_bug.cgi?id=977">977</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>NPE on OAAddress 0.0.0.0
</td>
</tr>
<tr>
<th>Product</th>
<td>JacORB
</td>
</tr>
<tr>
<th>Version</th>
<td>3.4 beta
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</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>juergen@jwi.de
</td>
</tr></table>
<p>
<div>
<pre>If JacORB 3.4 final is inited with
Property("OAAddress", "iiop://0.0.0.0:2014")
there is an NPE.
To reproduce:
use the property with the hello demo:
props.setProperty("OAAddress", "iiop://0.0.0.0:2014");
INFO Initialising ORB with ID:
INFO oid: 00 33 4 <00334>C 46 16 15 3 <4616153>D 10 0C 10 06 30 46 38 14 14
1 <100630463814141>B 48 4C 1B .3LF..=....0F8...HL.object is activated
INFO Using server ID (4703676094) for transient POA
Exception in thread "main" 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)</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>