IV27268: WRONG EXCEPTION WHEN MISSING/CORRUPT JAVA.SECURITY FILE DUPLICAT E

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Error Message: NullPointerException, if java.security file is
    missing or corrupt.
    .
    Stack Trace: Exception in thread "main"
    java.lang.NullPointerException
            at
    org.apache.harmony.security.Util.equalsIgnoreCase(Util.java:46)
            at
    org.apache.harmony.security.fortress.PolicyUtils.getPolicyURLs(P
    olicy
    Utils.java:429)
            at
    org.apache.harmony.security.fortress.DefaultPolicy$1.run(Default
    Polic
    y.java:324)
            at
    org.apache.harmony.security.fortress.DefaultPolicy$1.run(Default
    Polic
    y.java:317)
            at
    java.security.AccessController.doPrivileged(AccessController.jav
    a:229
    )
            at
    org.apache.harmony.security.fortress.DefaultPolicy.refreshImpl(D
    efaul
    tPolicy.java:317)
            at
    org.apache.harmony.security.fortress.DefaultPolicy.<init>(Defaul
    tPoli
    cy.java:218)
            at
    org.apache.harmony.security.fortress.DefaultPolicy.<init>(Defaul
    tPoli
    cy.java:211)
            at
    org.apache.harmony.security.fortress.DefaultPolicy.<init>(Defaul
    tPoli
    cy.java:198)
            at
    java.security.Policy.getDefaultProvider(Policy.java:485)
            at
    java.security.Policy.getAccessiblePolicy(Policy.java:524)
            at
    java.security.ProtectionDomain.implies(ProtectionDomain.java:199
    )
            at
    java.security.AccessController.checkPermission(AccessController.
    java:
    118)
    at
    com.ibm.wsspi.bootstrap.WSPreLauncher.main(WSPreLauncher.java:12
    4)
    .
    

Local fix

Problem summary

  • The problem is caused by lacking one null pointer checking in
    Harmony's security module.
    

Problem conclusion

  • This defect will be fixed in:
    6.0.0 SR12
    6.0.1 SR4
    .
    Harmony's failing method has been added with null checking
    statements.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV27268

  • 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-08-30

  • Closed date

    2012-08-30

  • Last modified date

    2012-09-30

  • 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



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Runtimes for Java Technology
Java Class Libraries

Software version:

6.0

Reference #:

IV27268

Modified date:

2012-09-30

Translate my page

Machine Translation

Content navigation