IBM Support

PM43797: FIX NULLPOINTEREXCEPTION FROM CONFIGOBJECTIMPL.GETVALUE DUE TO ILLEGAL CROSS DOCUMENT LINK IN RESOURCE.XML

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When a cross document link is parsed from a configuration
    document (such as resource.xml), a NullPointerException is
    thrown from runtime code and a message logged to SystemOut.log:
    [6/22/11 10:29:33:882 CDT] 00000000 ResourceMgrIm E
    WSVR0017E: Error encountered binding the J2EE resource,
    PZNMail, as mail/personalizationMailSession from
    C:\WAS80\AppServer\profiles\Node1\config\cells/n9dlCell03/resour
    ces.xml
    java.lang.NullPointerException
    at
    com.ibm.ws.runtime.config.ConfigObjectImpl.getValue(ConfigObject
    Impl.java:374)
    at
    com.ibm.ws.runtime.config.ConfigObjectImpl.getString(ConfigObjec
    tImpl.java:639)
    at
    com.ibm.ws.runtime.config.AbstractConfigObject.getString(Abstrac
    tConfigObject.java:36)
    at
    com.ibm.ws.mail.resource.server.SessionBinder.processTransportPr
    otocolProvider(SessionBinder.java:268)
    at
    com.ibm.ws.mail.resource.server.SessionBinder.getBindingObject(S
    essionBinder.java:200)
    at
    com.ibm.ws.runtime.component.ResourceMgrImpl.bind(ResourceMgrImp
    l.java:516)
    at
    com.ibm.ws.runtime.component.ResourceMgrImpl.installResourceProv
    ider(ResourceMgrImpl.java:1545)
    at
    com.ibm.ws.runtime.component.ResourceMgrImpl.installResource(Res
    ourceMgrImpl.java:1391)
    at
    com.ibm.ws.runtime.component.ResourceMgrImpl.installResources(Re
    sourceMgrImpl.java:1330)
    at
    com.ibm.ws.runtime.component.ResourceMgrImpl.loadResources(Resou
    rceMgrImpl.java:1070)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: A NullPointerException is seen in       *
    *                      SystemOut.log when processing           *
    *                      resources.xml configuration file.       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    A NullPointerException with the following stack trace is
    observed in SystemOut.log during server startup:
    [6/22/11 10:29:33:882 CDT] 00000000 ResourceMgrIm E
    WSVR0017E: Error encountered binding the J2EE resource,
    PZNMail, as mail/personalizationMailSession from
    C:\WAS80\AppServer\profiles\Node1\config\cells/n9dlCell03/resour
    ces.xml
    java.lang.NullPointerException
    at
    com.ibm.ws.runtime.config.ConfigObjectImpl.getValue(ConfigObject
    Impl.java:374)
    at
    com.ibm.ws.runtime.config.ConfigObjectImpl.getString(ConfigObjec
    tImpl.java:639)
    at
    com.ibm.ws.runtime.config.AbstractConfigObject.getString(Abstrac
    tConfigObject.java:36)
    at
    com.ibm.ws.mail.resource.server.SessionBinder.processTransportPr
    otocolProvider(SessionBinder.java:268)
    at
    com.ibm.ws.mail.resource.server.SessionBinder.getBindingObject(S
    essionBinder.java:200)
    at
    com.ibm.ws.runtime.component.ResourceMgrImpl.bind(ResourceMgrImp
    l.java:516)
    at
    com.ibm.ws.runtime.component.ResourceMgrImpl.installResourceProv
    ider(ResourceMgrImpl.java:1545)
    at
    com.ibm.ws.runtime.component.ResourceMgrImpl.installResource(Res
    ourceMgrImpl.java:1391)
    at
    com.ibm.ws.runtime.component.ResourceMgrImpl.installResources(Re
    sourceMgrImpl.java:1330)
    at
    com.ibm.ws.runtime.component.ResourceMgrImpl.loadResources(Resou
    rceMgrImpl.java:1070)
    at
    com.ibm.ws.runtime.component.ResourceMgrImpl.start(ResourceMgrIm
    pl.java:750)
    at
    com.ibm.ws.runtime.component.ContainerHelper.startComponents(Con
    tainerHelper.java:539)
    at
    com.ibm.ws.runtime.component.ContainerImpl.startComponents(Conta
    inerImpl.java:627)
    at
    com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.j
    ava:618)
    at
    com.ibm.ws.runtime.component.ApplicationServerImpl.start(Applica
    tionServerImpl.java:233)
    at
    com.ibm.ws.runtime.component.ContainerHelper.startComponents(Con
    tainerHelper.java:539)
    at
    com.ibm.ws.runtime.component.ContainerImpl.startComponents(Conta
    inerImpl.java:627)
    at
    com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.j
    ava:618)
    at
    com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:50
    3)
    at
    com.ibm.ws.runtime.WsServerImpl.bootServerContainer(WsServerImpl
    .java:301)
    at com.ibm.ws.runtime.WsServerImpl.start
    (WsServerImpl.java:217)
    at com.ibm.ws.runtime.WsServerImpl.main
    (WsServerImpl.java:677)
    at com.ibm.ws.runtime.WsServer.main(WsServer.java:59)
    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
    com.ibm.wsspi.bootstrap.WSLauncher.launchMain(WSLauncher.java:23
    2)
    at com.ibm.wsspi.bootstrap.WSLauncher.main
    (WSLauncher.java:94)
    at com.ibm.wsspi.bootstrap.WSLauncher.run
    (WSLauncher.java:75)
    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
    org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodW
    ithException(EclipseAppContainer.java:587)
    at
    org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseApp
    Handle.java:198)
    at
    org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.run
    Application(EclipseAppLauncher.java:110)
    at
    org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.sta
    rt(EclipseAppLauncher.java:79)
    at
    org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStart
    er.java:369)
    at
    org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStart
    er.java:179)
    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
    org.eclipse.core.launcher.Main.invokeFramework(Main.java:340)
    at org.eclipse.core.launcher.Main.basicRun
    (Main.java:282)
    at org.eclipse.core.launcher.Main.run(Main.java:981)
    at
    com.ibm.wsspi.bootstrap.WSPreLauncher.launchEclipse(WSPreLaunche
    r.java:371)
    at
    com.ibm.wsspi.bootstrap.WSPreLauncher.main(WSPreLauncher.java:14
    1)
    This is due to the presence of a cross document link in a
    resources.xml file. Cross document links are not supported.
    

Problem conclusion

  • The runtime will now throw an IllegalStateException instead of
    a NullPointerException. The syntax of the new message will now
    look like:
    WSVR0017E: Error encountered binding the J2EE resource,
    PZNMail, as mail/personalizationMailSession from
    C:\WAS80\AppServer\profiles\Node1\config\cells/n9dlCell03/resour
    ces.xml
    java.lang.IllegalStateException: unknown configuration value:
    xmi:id=ProtocolProvider_1228749623069,
    object=com.ibm.ws.runtime.config.ConfigObjectImpl@295e59[C:\WAS8
    0\AppServer\profiles\Node1\config\cells/n9dlCell03/resources.xml
    #ProtocolProvider_1228749623069], value name=protocol
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 8.0.0.2.  Please refer to the Recommended Updates
    page for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM43797

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-07-15

  • Closed date

    2011-07-20

  • Last modified date

    2011-07-20

  • 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":"8.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
27 October 2021