IBM Support

IV47636: NullPointerException in ServiceRegistrySessionBean.executeNamedQuery

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • NullPointerException
    inServiceRegistrySessionBean.executeNamedQuery
    from PersistedQueryConfig.getAllUDPsForBsrURIList
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    All users of WebSphere Service Registry and Repository V7.5
    and V8.0.
    
    ****************************************************************
    PROBLEM SUMMARY:
    If you perform a getAllUDPsForBsrURIList query using a
    property with a certain type (boolean, int, integer, short,
    long, float, double, date, dateTime or time) you receive a
    NullPointerException.
    
    Stack trace:
    com.ibm.serviceregistry.ServiceRegistrySessionBean
    executeNamedQuery java.lang.NullPointerException
    at
    com.ibm.sr.athene.persistence.impl.PersistedQueryConfig$4.execut
    e(PersistedQueryConfig.java:888)
    at
    com.ibm.sr.athene.persistence.impl.PersistedQueryManager.execute
    (PersistedQueryManager.java:421)
    at
    com.ibm.sr.athene.persistence.impl.PersistenceManagerImpl.execut
    e(PersistenceManagerImpl.java:363)
    at
    com.ibm.sr.api.ServiceRegistryImpl.executeNamedQuery(ServiceRegi
    stryImpl.java:1753)
    at
    com.ibm.serviceregistry.ServiceRegistrySessionBean.executeNamedQ
    uery(ServiceRegistrySessionBean.java:611)
    at
    com.ibm.serviceregistry.EJSLocalStatelessServiceRegistrySession_
    1728ff25.executeNamedQuery(EJSLocalStatelessServiceRegistrySessi
    on_1728ff25.java:420)
    at
    com.ibm.sr.ui.delegate.RepositoryDelegate.executeNamedQuery(Repo
    sitoryDelegate.java:469)
    at
    com.ibm.sr.ui.mediators.Mediator.executeSystemUDPQuery(Mediator.
    java:1388)
    
    This query can be invoked using the WSRR APIs and is also
    invoked when viewing a Collection in the WebUI. Therefore it can
    also occur in the WebUI if you have a custom profile which lists
    properties with the above types as columns in a Collection View.
    

Problem conclusion

  • The code was changed to prevent the NullPointerException from
    happening.
    
    This fix is targeted at WSRR V7.5.0.4 and V8.0.0.3.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV47636

  • Reported component name

    SERVICE REGISTR

  • Reported component ID

    5724N7200

  • Reported release

    750

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2013-08-28

  • Closed date

    2013-11-07

  • Last modified date

    2013-11-07

  • 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

    SERVICE REGISTR

  • Fixed component ID

    5724N7200

Applicable component levels

  • R750 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSWLGF","label":"WebSphere Service Registry and Repository"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
07 November 2013