IBM Support

LO75797: EMBEDDED APPLET IN A NOTES FORM THROWS NULL POINTER EXCEPTION IN JAVA CONSOLE AND DOES NOT LOAD, COM.IBM.JEMPOWER.APPLET.*INDI

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

  • in an applet, embedded in a Notes form, stored in the NSF
    resources:
    ...
    public class TestHTTPApplet extends JApplet {
    ...
    public TestHTTPApplet() {
      try {
       URL url = new URL("http://URL");
       HttpURLConnection conn = (HttpURLConnection)
    url.openConnection();
    the applet fails to load and the following error message is
    shown in the Java console:
    java.lang.NullPointerException
     at sun.net.
    www.http.HttpClient.parseHTTPHeader(HttpClient.java:719)
     at sun.net.
    www.http.HttpClient.parseHTTP(HttpClient.java:646)
     at
    COM.ibm.JEmpower.applet.http.HttpURLConnection.getInputStream(Ht
    tpURLCon
    nection.java:411)
     at
    COM.ibm.JEmpower.applet.http.HttpURLConnection.getHeaderField(Ht
    tpURLCon
    nection.java:703)
     at
    java.net.HttpURLConnection.getResponseCode(HttpURLConnection.jav
    a:399)
     at pl.gov.sejm.TestHTTPApplet.<init>(TestHTTPApplet.java:22)
     at java.lang.J9VMInternals.newInstanceImpl(Native Method)
     at java.lang.Class.newInstance(Class.java:1474)
     at
    COM.ibm.JEmpower.applet.AppletFrame.runLoader(AppletFrame.java:6
    98)
     at
    COM.ibm.JEmpower.applet.AppletFrame.run(AppletFrame.java:398)
     at java.lang.Thread.run(Thread.java:738)
    

Local fix

  • none found - although replacing the JVM with a copy from a
    previous version (fixpack) appears to restore the old working
    order.
    

Problem summary

  • Oracle changed the  sun.net.www.http.HttpClient.parseHTTP
     implement, we need changed our code for it.
    

Problem conclusion

  • Oracle changed the  sun.net.www.http.HttpClient.parseHTTP
     implement, we need changed our code for it.
    

Temporary fix

Comments

  • This APAR is associated with SPR# SRAO98JTBV.
    Oracle changed the  sun.net.www.http.HttpClient.parseHTTP
     implement, we need changed our code for it.
    

APAR Information

  • APAR number

    LO75797

  • Reported component name

    NOTES CLIENT

  • Reported component ID

    5724E6255

  • Reported release

    853

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-06-14

  • Closed date

    2014-08-29

  • Last modified date

    2014-08-29

  • 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

    NOTES CLIENT

  • Fixed component ID

    5724E6255

Applicable component levels

  • R853 PSN

       UP



Document information

More support for: IBM Notes

Software version: 8.5.3

Reference #: LO75797

Modified date: 29 August 2014


Translate this page: