IBM Support

PM42185: NULLPOINTEREXCEPTION WHILE CREATING ROOTDO FROM OSGI APPLICATION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • [5/31/11 17:40:28:196 EDT] 00000019 UserRegistryI E   SECJ0363E:
    Cannot create credential for the user wasadmin because of the
    following exception com.ibm.websphere.wim.exception.WIMException
            at
    com.ibm.ws.wim.tx.JTAHelper.handleException(JTAHelper.java:244)
            at
    com.ibm.websphere.wim.ServiceProvider.createRootDataObject(Servi
    ceProvider.java:302)
            at
    com.ibm.ws.wim.registry.util.UniqueIdBridge.getUniqueUserId(Uniq
    ueIdBridge.java:159)
            at
    com.ibm.ws.wim.registry.WIMUserRegistry$6.run(WIMUserRegistry.ja
    va:381)
            at
    com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManager
    Impl.java:4678)
            at
    com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextM
    anagerImpl.java:4804)
            at
    com.ibm.ws.wim.security.authz.jacc.JACCSecurityManager.runAsSupe
    rUser(JACCSecurityManager.java:438)
            at
    com.ibm.ws.wim.env.was.JACCAuthorizationService.runAsSuperUser(J
    ACCAuthorizationService.java:1034)
            at
    com.ibm.ws.wim.security.authz.ProfileSecurityManager.runAsSuperU
    ser(ProfileSecurityManager.java:285)
            at
    com.ibm.ws.wim.registry.WIMUserRegistry.getUniqueUserId(WIMUserR
    egistry.java:364)
            at
    com.ibm.ws.security.registry.UserRegistryImpl.createCredentialIn
    ternal(UserRegistryImpl.java:915)
            at
    com.ibm.ws.security.registry.UserRegistryImpl.createCredential(U
    serRegistryImpl.java:826)
            at
    com.ibm.ws.security.server.lm.ltpaLoginModule.login(ltpaLoginMod
    ule.java:751)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
    Method)
            at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
    Impl.java:60)
            at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    AccessorImpl.java:37)
            at java.lang.reflect.Method.invoke(Method.java:611)
            at
    javax.security.auth.login.LoginContext.invoke(LoginContext.java:
    795)
            at
    javax.security.auth.login.LoginContext.access$000(LoginContext.j
    ava:209)
            at
    javax.security.auth.login.LoginContext$4.run(LoginContext.java:7
    09)
            at
    java.security.AccessController.doPrivileged(AccessController.jav
    a:254)
            at
    javax.security.auth.login.LoginContext.invokePriv(LoginContext.j
    ava:706)
            at
    javax.security.auth.login.LoginContext.login(LoginContext.java:6
    03)
            at
    com.tivoli.am.fim.fedmgr2.callback.was.WASPocSignInCallback.logi
    n(WASPocSignInCallback.java:184)
            at
    com.tivoli.am.fim.fedmgr2.callback.was.WASPocSignInCallback.sign
    In(WASPocSignInCallback.java:124)
            at
    com.tivoli.am.fim.fedmgr2.authservice.GenericPocSignIn.callTheSi
    gnInCallbacks(GenericPocSignIn.java:145)
            at
    com.tivoli.am.fim.fedmgr2.authservice.GenericPocSignIn.signIn(Ge
    nericPocSignIn.java:81)
            at
    com.tivoli.am.fim.saml20.protocol.context.SAML20UserLoginContext
    Impl.login(SAML20UserLoginContextImpl.java:585)
            .................
    
    Caused by: java.lang.NullPointerException
            at
    org.eclipse.emf.ecore.sdo.util.SDOUtil.create(SDOUtil.java:579)
            at
    org.eclipse.emf.ecore.sdo.impl.EDataGraphImpl.createRootObject(E
    DataGraphImpl.java:523)
            at
    com.ibm.websphere.wim.util.SDOHelper.createRootDataObjectCache(S
    DOHelper.java:109)
            at
    com.ibm.websphere.wim.util.SDOHelper.createRootDataObject(SDOHel
    per.java:136)
            at
    com.ibm.ws.wim.SchemaManager$2.run(SchemaManager.java:2947)
            at
    java.security.AccessController.doPrivileged(AccessController.jav
    a:254)
            at
    com.ibm.ws.wim.SchemaManager.createRootDataObject(SchemaManager.
    java:2941)
            at
    com.ibm.websphere.wim.ServiceProvider.createRootDataObject(Servi
    ceProvider.java:298)
            ... 59 more
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server V8.0                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION: User getting NullPointerException       *
    *                      while using any virtual member          *
    *                      manager (VMM) APIs for example:         *
    *                      get,search,update,delete,login.         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The NullPointerException was resulted when VMM/user
    applications try to create a root dataObject from OSGI bundles.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PM42185

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-06-22

  • Closed date

    2011-08-22

  • Last modified date

    2011-08-22

  • 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

    WEBS APP SERV N

  • Fixed component ID

    5724H8800

Applicable component levels

  • R800 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
27 October 2021