<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 in IIOPAddress when trying to resolve unknown computer name"
href="http://www.jacorb.org/bugzilla/show_bug.cgi?id=1025">1025</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>NPE in IIOPAddress when trying to resolve unknown computer name
</td>
</tr>
<tr>
<th>Product</th>
<td>JacORB
</td>
</tr>
<tr>
<th>Version</th>
<td>3.6.1
</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>jens@vagtsi.de
</td>
</tr></table>
<p>
<div>
<pre>When clients register for callbacks or event notifications and deliver a
unknown computer name (or the domain server or network is misconfigured)in the
class org.jacorb.orb.iiop.IIOPAddress a NullPointerException get's thrown due
to a missing logger instance in the catch block of received
UnknownHostException:
[2016-01-29 10:33:00.106] WARN PushTaskExecutor#0-0
org.jacorb.notification.servant.StructuredProxyPushSupplierImpl handle failed
pushoperation java.lang.NullPointerException: null
at
org.jacorb.orb.iiop.IIOPAddress.init_host(IIOPAddress.java:191)
at
org.jacorb.orb.iiop.IIOPAddress.getHostName(IIOPAddress.java:286)
at
org.jacorb.orb.iiop.IIOPAddress.toString(IIOPAddress.java:441)
at
org.jacorb.orb.iiop.IIOPAddress.hashCode(IIOPAddress.java:435)
at
org.jacorb.orb.iiop.IIOPProfile.hashCode(IIOPProfile.java:627)
at java.util.HashMap.hash(HashMap.java:362)
at java.util.HashMap.getEntry(HashMap.java:462)
at java.util.HashMap.get(HashMap.java:417)
at
org.jacorb.orb.giop.ClientConnectionManager.getConnection(ClientConnectionManager.java:96)
at org.jacorb.orb.Delegate.bind(Delegate.java:542)
at org.jacorb.orb.Delegate.getObjectKey(Delegate.java:1046)
at org.jacorb.orb.ORB.findPOA(ORB.java:613)
at org.jacorb.orb.Delegate.resolvePOA(Delegate.java:1117)
at org.jacorb.orb.Delegate.is_really_local(Delegate.java:2032)
at org.jacorb.orb.Delegate.is_local(Delegate.java:2021)
at
org.omg.CORBA.portable.ObjectImpl._is_local(ObjectImpl.java:130)
at
org.omg.CosNotifyComm._StructuredPushConsumerStub.push_structured_event(_StructuredPushConsumerStub.java:110)
at
org.jacorb.notification.servant.StructuredProxyPushSupplierImpl.deliverMessageInternal(StructuredProxyPushSupplierImpl.java:122)
at
org.jacorb.notification.servant.StructuredProxyPushSupplierImpl.deliverMessageWithRetry(StructuredProxyPushSupplierImpl.java:106)
at
org.jacorb.notification.servant.StructuredProxyPushSupplierImpl.pushEvent(StructuredProxyPushSupplierImpl.java:92)
at
org.jacorb.notification.servant.AbstractProxyPushSupplier.tryPushEvent(AbstractProxyPushSupplier.java:144)
at
org.jacorb.notification.servant.AbstractProxyPushSupplier.access$000(AbstractProxyPushSupplier.java:63)
at
org.jacorb.notification.servant.AbstractProxyPushSupplier$1.doPush(AbstractProxyPushSupplier.java:93)
at
org.jacorb.notification.engine.DefaultPushTaskExecutor$Worker.run(DefaultPushTaskExecutor.java:59)
The used jacorb version is the recent 3.7 but this error was observed in older
versions as well.
(BTW: in bugzilla is no version 3.7 present)</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>