Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4591027

Exceptions occur while loading a plug-in applet (win32/ja, b89)

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      rc1
    • CPU:
      x86
    • OS:
      windows_nt, windows_2000
    • Verification:
      Verified

      Description

       
      build : Merlin-rc b89
      OS : WinXP professional ja (FCS)
               Win2000 ja
               WinNT SP6.0 ja
               Win98 ja
               WinME ja
      Browser: IE6.0(XP)
               NS4.7(XP)
               IE5.5(ME)
               IE5.0(2000)
               IE4.0(NT)

      Trying to load a plug-in applet, some exceptions occur on all platforms above and an applet can not be loaded and excuted on WinNT, 2K and XP though it can be loaded and excuted on WinME or 98.

      The exceptions occurs in loading resouces;
      While the exeption messages are displayed on Java Console,
      "Roading resources META-INF/services/java.nio.charset.spi.CharsetProvider" is displayed on the demo window.


      *** To reproduce ***
      Go to the url,
      http://i18n-u1-26c.sfbay.sun.com:8080/jaws-i18n/
      and click "HelloI18N" test case on the page;
      http://i18n-u1-26c.sfbay.sun.com:8080/jaws-i18n/test/bat/hello-i18n.html

      *** Result ***
      Two phenomenons as below are seen;

      1) On WinXP professional ja, Win2000 ja, Win NT ja
      java.lang.ExceptionInInitializerError occurs.

      Loading an applet stops and a demo can not be excuted.
      For more detail, the error log is attached as XP_ja_b89.txt


      2) On Win98 and ME
      java.io.FileNotFoundException: http://i18n-u1-26c.sfbay.sun.com:8080/jaws-i18n/configuration.class
      occurs.

      Though some exceptions occur in loading an applet, it can be loaded completely and excuted.

      For more detail, the error log is attached as winME_b89.txt
      * The same result is seen on Windows XP RC2 english version.


      These are not reproducible with b88.


      ============================================================================

      According to the Evaluation, the problem 2) is not a bug, however, I still have a concern.

      The both phenomenons of 1) and 2) above are not reproducible with b88 for the same test case.
      http://i18n-u1-26c.sfbay.sun.com:8080/jaws-i18n/test/bat/hello-i18n.html
      This is new from b89, so this bug seems to be a bug.

      Both of 1) and 2) seem to be related to java.nio.Charset because the message "Roading resources META-INF/services/java.nio.charset.spi.CharsetProvider" is displayed on applet" while the exceptions occur.

      The fix of 4429040, which is a nio bug, was integrated into b89.
      Does it cause this bug?

      * I saw that the phenomenon 2) occurs on Solaris.

      ###@###.### 2001-12-12
      =============================================================================

      According to the evaluation by ###@###.### 2001-12-13,
      the problem 2) will be fixed with the fix of #4545911 and the problem 2) need to be investigated by nio team.
      So please evaluate the probelm 2), which is reproducible on WinXP, NT and 2k japanese and you can see the log for the problem 2) in XP_ja_b89.txt.

      ###@###.### 2001-12-14

      =============================================================================

      I change the status.
      Please see the description(###@###.### 2001-12-14) and evaluate this bug again.

      ###@###.### 2001-12-17

      =============================================================================

      - I'm sorry, but my description includes a wrong information...
      I wanted to say the problem 1) was a still problem.
      Let me correct it;
      The problem 2) will be fixed with the fix of #4545911 and
      the problem 1) need to be investigated. by nio.
      It is "XP_ja_b89.txt" which relates the problem 1).
      So could you please evaluate the problem 1) once again?

      -This bug occurs with Java Plug-in.
      Please click the URL for the demo(described above) with Netscape or IE making Java Plug-in work.
      The message,
      "Roading resources META-INF/services/java.nio.charset.spi.CharsetProvider" is displayed on applet window and the exception messages are displayed on Java Console for Java Plug-in.

      Trying the same demo with Appletviewer(like below), it can work without any problem(, thouth two applets are launched...).
      > appelviewer http://i18n-u1-26c.sfbay.sun.com:8080/jaws-i18n/test/bat/hello-i18n.html

      - Regarding the problem 1),
      While the message,
      "Roading resources META-INF/services/java.nio.charset.spi.CharsetProvider" is displayed on the applet window, the exception messages are displayed repeatedly on Java Console for Java Plug-in.
      Then, the message "Roading...CharsetProvider" disappears and the demo is loaded and works.

      Sorry for the confusion.
      I'd appreciate if you could evaluate this bug again.

      ###@###.### 2001-12-18
      =============================================================================

      I confirmed that the problem 2) described above (FileNotFoundException occurs) is not reproducible in b90 on Solaris 8 IA/Sparc and WindowsME.

      ###@###.### 2001-12-27
      =============================================================================

      I confirmed this bug's fix in b91 on WinXP professional, NT and 2K Japanese version.

      ###@###.### 2002-01-09

      =============================================================================

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mr Mark Reinhold
              Reporter:
              mmtokunasunw Mtokunaga Mtokunaga (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: