Skip to main content

IZ68220: NPE IN LOOKUPSERVANT DUE TO SUBCONTRACTREGISTRY BEING NULL


Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: N/A
    .
    Stack Trace: Caused by: java.lang.NullPointerException
    at
    com.ibm.CORBA.iiop.ClientDelegate.lookupServant(ClientDelegate.j
    ava:627)
    at
    com.ibm.CORBA.iiop.ClientDelegate.servant_postinvoke(ClientDeleg
    ate.java:884)
    at
    com.ibm.CORBA.iiop.ClientDelegate.servant_preinvoke(ClientDelega
    te.java:798)
    at
    org.omg.CORBA.portable.ObjectImpl._servant_preinvoke(ObjectImpl.
    java:418)
    at
    com.ibm.ws.objectgrid.partition._IDLShardStub.processMessage(_ID
    LShardStub.java:470)
    at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown Source)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    AccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:618)
    at
    com.ibm.ws.objectgrid.util.UOWDynamicProxy$1.run(UOWDynamicProxy
    .java:85)
    at
    com.ibm.ws.uow.UOWManagerImpl.runUnderNewUOW(UOWManagerImpl.java
    :948)
    at
    com.ibm.ws.uow.UOWManagerImpl.runUnderUOW(UOWManagerImpl.java:50
    9)
    at
    com.ibm.ws.objectgrid.util.UOWDynamicProxy.invoke(UOWDynamicProx
    y.java:82)
    at $Proxy13.processMessage(Unknown Source)
    at
    com.ibm.ws.objectgrid.client.ORBClientCoreMessageHandler.sendMes
    sage(ORB
    ClientCoreMessageHandler.java:337)
    .
    Customer code was throwing a CredentialExpiredException on the
    server side which throws a ForwardRequest exception, intending
    to regenerate the credential. But customer ended up with a
    NullPointerException.
    

Local fix

Problem summary

  • NPE due to Registry being set to null because the registry value
    not set before some specific call and hence the NPE in ORB
    

Problem conclusion

  • This defect will be fixed in:
    5.0.0 SR11 FP2
    .
    The NPE happens in the ClientDelegate.lookupServant() method as
    a result of the SubContractRegistry being null.
    To counter the NullPointerException, changes have made to do
    this setting of registry.
    .
    To obtain the fix:
    Install build 20100123 or later
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ68220

  • Reported component name

    JAVA 5 ORB

  • Reported component ID

    620500123

  • Reported release

    500

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-01-20

  • Closed date

    2010-01-26

  • Last modified date

    2010-04-29

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    JAVA 5 ORB

  • Fixed component ID

    620500123

Applicable component levels

  • R500 PSN

       UP

Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

Runtimes for Java Technology

ORB


Software version:
5.0


Reference #:
IZ68220


Modified date:
2010-04-29

Translate my page

Content navigation