IBM Support What's New?

IV20655: NULLPOINTEREXCEPTION WHEN INITIALIZE SERVICES CONCURRENTLY

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Error Message: java.lang.NullPointerException
    .
    Stack Trace: java.lang.NullPointerException
     at
    org.apache.harmony.security.fortress.Services$NormalServices.add
    ToProviders(Services.java:392)
     at
    org.apache.harmony.security.fortress.Services$NormalServices.cre
    ateProviderInstance(Services.java:358)
     at
    org.apache.harmony.security.fortress.Services$NormalServices.cre
    ateDefaultProviderInstance(Services.java:312)
     at
    org.apache.harmony.security.fortress.Services$NormalServices.get
    Service(Services.java:491)
     at
    org.apache.harmony.security.fortress.Services$NormalServices.acc
    ess$2600(Services.java:160)
     at
    org.apache.harmony.security.fortress.Services.putServiceToCacheA
    fterCheckPriority(Services.java:1028)
     at
    org.apache.harmony.security.fortress.Services.initServiceInfo(Se
    rvices.java:981)
     at
    org.apache.harmony.security.fortress.Services$NormalServices.cre
    ateProviderInstance(Services.java:359)
     at
    org.apache.harmony.security.fortress.Services$NormalServices.cre
    ateDefaultProviderInstance(Services.java:312)
     at
    org.apache.harmony.security.fortress.Services$NormalServices.loa
    dAllProviders(Services.java:230)
     at
    org.apache.harmony.security.fortress.Services$NormalServices.acc
    ess$500(Services.java:160)
     at
    org.apache.harmony.security.fortress.Services$NormalServices$2.r
    un(Services.java:219)
     at
    org.apache.harmony.security.fortress.Services$NormalServices$2.r
    un(Services.java:217)
     at
    java.security.AccessController.doPrivileged(AccessController.jav
    a:202)
     at
    org.apache.harmony.security.fortress.Services$NormalServices.get
    ProviderList(Services.java:217)
     at
    org.apache.harmony.security.fortress.Services$NormalServices.acc
    ess$1500(Services.java:160)
     at
    org.apache.harmony.security.fortress.Services.getProvidersList(S
    ervices.java:781)
    .
    

Local fix

Problem summary

  • NullPointerException when initialize security providers from
    multiple thread simultaneously.
    

Problem conclusion

  • This defect will be fixed in:
    6.0.0 SR11
    6.0.1 SR4
    .
    Harmony's provider-service cache list has been updated base on
    the correct security provider implementation level.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV20655

  • 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

    2012-05-04

  • Closed date

    2012-05-18

  • Last modified date

    2012-11-02

  • 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 PSY

       UP



Document information

More support for: Runtimes for Java Technology
Java Class Libraries

Software version: 6.0

Reference #: IV20655

Modified date: 2012-11-02