[jacorb-bugs] [Bug 1025] New: NPE in IIOPAddress when trying to resolve unknown computer name

bugzilla-daemon at jacorb.org bugzilla-daemon at jacorb.org
Fri Jan 29 11:55:17 CET 2016


http://www.jacorb.org/bugzilla/show_bug.cgi?id=1025

            Bug ID: 1025
           Summary: NPE in IIOPAddress when trying to resolve unknown
                    computer name
           Product: JacORB
           Version: 3.6.1
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: major
          Priority: P5
         Component: ORB
          Assignee: jacorb-bugs at lists.spline.inf.fu-berlin.de
          Reporter: jens at vagtsi.de

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)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spline.inf.fu-berlin.de/pipermail/jacorb-bugs/attachments/20160129/6ca8d685/attachment-0001.html>


More information about the jacorb-bugs mailing list