IBM Support

IV76416: APPLET CLASSLOADING FAILS AS JAR MANIFEST VERIFICATION RESULTS I N A NULLPOINTEREXCEPTION

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: java.security.AccessControlException: Access
    denied (java.util.PropertyPermission javawebstart.version read)
    .
    Stack Trace: java.security.AccessControlException: Access denied
    (java.util.PropertyPermission javawebstart.version read)
        at
    java.security.AccessController.throwACE(AccessController.java:10
    0)
        at
    java.security.AccessController.checkPermission(AccessController.
    java:174)
        at
    java.lang.SecurityManager.checkPermission(SecurityManager.java:5
    44)
        at
    java.lang.SecurityManager.checkPropertyAccess(SecurityManager.ja
    va:1293)
        at java.lang.System.getProperty(System.java:404)
        at java.lang.System.getProperty(System.java:388)
        at
    candle.fw.util.CNPGlobalAppContext.<clinit>(CNPGlobalAppContext.
    java:820)
        at java.lang.J9VMInternals.initializeImpl(Native Method)
        at
    java.lang.J9VMInternals.initialize(J9VMInternals.java:201)
        ... 4 more
    java.lang.NoClassDefFoundError:
    candle.fw.util.CNPGlobalAppContext (initialization failure)
        at
    java.lang.J9VMInternals.initialize(J9VMInternals.java:141)
        at candle.fw.pres.CMWApplet.start(CMWApplet.java:709)
        at sun.applet.AppletPanel.run(AppletPanel.java:477)
        at java.lang.Thread.run(Thread.java:761)
    .
    Customer also reported a NullPointerException is being displayed
    as an applet warning
    java.lang.NullPointerException
        at
    com.sun.deploy.security.DeployManifestChecker.verifyCodebaseEx(D
    eployManifestChecker.java:208)
        at
    com.sun.deploy.security.DeployManifestChecker.verifyCodebase(Dep
    loyManifestChecker.java:200)
        at
    com.sun.deploy.security.DeployManifestChecker.verifyApplicationL
    ibraryAllowableCodebase(DeployManifestChecker.java:350)
        at
    com.sun.deploy.security.DeployManifestChecker.verify(DeployManif
    estChecker.java:163)
        at
    com.sun.deploy.security.DeployManifestChecker.verify(DeployManif
    estChecker.java:110)
        at
    com.sun.deploy.security.TrustDecider.isAllPermissionGranted(Trus
    tDecider.java:323)
        at
    com.sun.deploy.security.TrustDecider.isAllPermissionGranted(Trus
    tDecider.java:284)
        at
    com.sun.deploy.security.TrustDecider.isAllPermissionGranted(Trus
    tDecider.java:274)
        at
    sun.plugin.security.PluginClassLoader.getPermissions(PluginClass
    Loader.java:162)
        at
    java.security.SecureClassLoader.getPD(SecureClassLoader.java:106
    )
        at
    java.security.SecureClassLoader.defineClass(SecureClassLoader.ja
    va:74)
        at
    java.net.URLClassLoader.defineClass(URLClassLoader.java:540)
        at
    java.net.URLClassLoader.defineClass(URLClassLoader.java:451)
        at
    java.net.URLClassLoader.access$300(URLClassLoader.java:79)
        at
    java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:1038
    )
        at
    java.security.AccessController.doPrivileged(AccessController.jav
    a:365)
        at
    java.net.URLClassLoader.findClass(URLClassLoader.java:429)
        at
    sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:18
    4)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:677)
        at
    sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:15
    6)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:643)
        at
    sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:666
    )
        at sun.applet.AppletPanel.createApplet(AppletPanel.java:796)
        at
    sun.plugin.AppletViewer.createApplet(AppletViewer.java:2345)
        at sun.applet.AppletPanel.runLoader(AppletPanel.java:725)
        at sun.applet.AppletPanel.run(AppletPanel.java:381)
        at java.lang.Thread.run(Thread.java:761)
    

Local fix

  • Trun ON next generation plugin (plugin2) at java control panel
    to avoid applet jar manifest verification failure
    

Problem summary

  • With first generation plugin during applet classloading
    operation, jar manifest check fails with a NullPointerException.
    The NullPointerException results in the failure of loading
    applet classes from the respective jar file. This problem is
    only present on cases where next generation plugin (plugin2) is
    disabled.
    

Problem conclusion

  • IBM JVM has been updated to avoid the reported
    NullPointerException and so jar classes can be successfully
    loaded after manifest verification.
    .
    This APAR will be fixed in the following Java Releases:
       6    SR16 FP15 (6.0.16.15)
       6 R1 SR8 FP15  (6.1.8.15)
    .
    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

    IV76416

  • 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

    2015-08-27

  • Closed date

    2015-09-28

  • Last modified date

    2015-09-28

  • 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

[{"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:
28 September 2015