IBM Support

IZ98927: NPE THROWED WHEN LOADING AN DEFAULT PROIVDER AFTER COMMENTING IT OUT IN JAVA.SECURITY FILE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: A NullPointerException is received when a user
    attempts to load an default provider after commenting it out in
    java.security file.
    .
    Stack Trace: java.lang.NullPointerException
            at
    org.apache.harmony.security.fortress.Services\NormalServices.cre
    ateDefaultProviderInstance(Services.java:278)
            at
    org.apache.harmony.security.fortress.Services\NormalServices.get
    Provider(Services.java:245)
            at
    org.apache.harmony.security.fortress.Services\NormalServices.acc
    ess\13(Services.java:229)
            at
    org.apache.harmony.security.fortress.Services.getProvider(Servic
    es.java:672)
            at java.security.Security.getProvider(Security.java:249)
            at
    java.security.Security.insertProviderAt(Security.java:187)
            at java.security.Security.addProvider(Security.java:205)
    ...
    .
    

Local fix

Problem summary

  • The problem is caused the code logic did not consider this
    scenario: user comment out a default provider and then load it
    dynamically.
    

Problem conclusion

  • This defect will be fixed in:
    6.0.0 SR9 FP2
    .
    The code has been uploaded to cover this scenario.
    .
    To obtain the fix:
    Install build 20110323 or later
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ98927

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    600

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-04-20

  • Closed date

    2011-04-20

  • Last modified date

    2011-07-09

  • 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 CLASS LIBS

  • Fixed component ID

    620700130

Applicable component levels

  • R600 PSN

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCVQ3Y","label":"Java Class Libraries"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
09 July 2011