IBM Support

IV81645: NULLPOINTEREXCEPTION WHEN CALLING GSSCRED.ADD() METHOD

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: When calling GSSCred.add() method, a
    NullPointerException is thrown
    .
    Stack Trace: java.lang.NullPointerException
    at com.ibm.security.jgss.f.a(f.java:5)
    at com.ibm.security.jgss.f.run(f.java:8)
    at
    java.security.AccessController.doPrivileged(AccessController.jav
    a:650)
    at com.ibm.security.jgss.GSSUtil.searchSubject(GSSUtil.java:35)
    at
    com.ibm.security.jgss.mech.spnego.SPNEGOMechFactory.a(SPNEGOMech
    Factory.java:45)
    at
    com.ibm.security.jgss.mech.spnego.SPNEGOMechFactory.getCredentia
    lElement(SPNEGOMechFactory.java:49)
    at
    com.ibm.security.jgss.GSSManagerImpl.createMechCredential(GSSMan
    agerImpl.java:36)
    at
    com.ibm.security.jgss.GSSCredentialImpl.add(GSSCredentialImpl.ja
    va:42)
    .
    

Local fix

Problem summary

  • Problem cause is the credential is used before checking whether
    it's null
    

Problem conclusion

  • Credential retrieved from Subject will be checked before using.
    The associated RTC PR is 108112
    The associated Austin CMVC defect is 117172
    JVMs affected : Java 8.0
    The fix was delivered for Java 8.0 SR3
    The affected jar is "ibmjgssprovider.jar".
    The build level of this jar for the affected releases is
    "20160219"
    .
    This APAR will be fixed in the following Java Releases:
       8    SR3       (8.0.3.0)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the available
    Service Refreshes and Fix Packs can be found at:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV81645

  • Reported component name

    SECURITY

  • Reported component ID

    620700125

  • Reported release

    270

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-02-19

  • Closed date

    2016-02-23

  • Last modified date

    2016-02-23

  • 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

    SECURITY

  • Fixed component ID

    620700125

Applicable component levels

  • R270 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"270","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
07 December 2020