IBM Support

JR24973: ERROR "EXCEPTIONININITIALIZERERROR" WHEN USING JCC DRIVER WITHIN AN APPLET

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • The following error is encountered when using the v9 GA JCC
    driver in an applet form:
    
    java.lang.ExceptionInInitializerError
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at com.ibm.db2.jcc.DB2Driver.class$(DB2Driver.java:48)
        at com.ibm.db2.jcc.DB2Driver.<clinit>(DB2Driver.java:51)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at Applt.init(Applt.java:137)
        at sun.applet.AppletPanel.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.NullPointerException
        at java.util.StringTokenizer.<init>(Unknown Source)
        at java.util.StringTokenizer.<init>(Unknown Source)
        at com.ibm.db2.jcc.c.o.i(o.java:347)
        at com.ibm.db2.jcc.c.o.h(o.java:338)
        at com.ibm.db2.jcc.c.o.<clinit>(o.java:322)
        ... 9 more
    Exception in thread "thread applet-Applt.class"
    java.lang.NullPointerException
        at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown
    Source)
        at sun.plugin.AppletViewer.showAppletException(Unknown
    Source)
        at sun.applet.AppletPanel.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
    
    
    This happens when the driver attempts to compute the JRE level.
    The method used to get the system properties is not allowed by
    the security restrictions in an applet environment.
    

Local fix

Problem summary

  • The following error is encountered when using the v9 GA JCC
    
    driver in an applet form:
    
    java.lang.ExceptionInInitializerError
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at com.ibm.db2.jcc.DB2Driver.class$(DB2Driver.java:48)
        at com.ibm.db2.jcc.DB2Driver.<clinit>(DB2Driver.java:51)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at Applt.init(Applt.java:137)
        at sun.applet.AppletPanel.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.NullPointerException
        at java.util.StringTokenizer.<init>(Unknown Source)
        at java.util.StringTokenizer.<init>(Unknown Source)
        at com.ibm.db2.jcc.c.o.i(o.java:347)
        at com.ibm.db2.jcc.c.o.h(o.java:338)
        at com.ibm.db2.jcc.c.o.<clinit>(o.java:322)
        ... 9 more
    Exception in thread "thread applet-Applt.class"
    java.lang.NullPointerException
        at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown
    Source)
        at sun.plugin.AppletViewer.showAppletException(Unknown
    Source)
        at sun.applet.AppletPanel.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
    
    
    This happens when the driver attempts to compute the JRE level.
    The method used to get the system properties is not allowed by
    the security restrictions in an applet environment.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    JR24973

  • Reported component name

    DB2 UDB EXE WIN

  • Reported component ID

    5724E4901

  • Reported release

    910

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2006-10-02

  • Closed date

    2009-11-17

  • Last modified date

    2009-11-17

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

Applicable component levels

  • R910 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"910","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
17 November 2009