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

Java Applet crashes after resume from sleep.

    XMLWordPrintable

Details

    • x86
    • windows_7

    Description

      FULL PRODUCT VERSION :
      java version "1.7.0_03"
      Java(TM) SE Runtime Environment (build 1.7.0_03-b05)
      Java HotSpot(TM) Client VM (build 22.1-b02, mixed mode, sharing)

      ADDITIONAL OS VERSION INFORMATION :
      Windows 7 Professional SP1 (32bit/64bit).

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      This problem occurd with IE8 (The type of browser has nothing to do with this problem).


      A DESCRIPTION OF THE PROBLEM :
      Applet Crash come out of windows sleep mode.

      If the Applet has crashed, "Java.exe" from the Task Manager process list
       have ceased to exist, and applet becomes unable to make any operation.

      The event probability is dependent on the version of JRE, 1.6.0
      update26 is about to occur in rare cases, from update27 occurs at high
      probability.

      In addition, when applet come out of hibernation mode , without
      depending on the version of the JRE, the applet crashes with
      considerable probability.

      REGRESSION. Last worked in version 7

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Please perform the following steps.

      1. Run the Java Applet (see below).
      2. Click the "sleep" button on the Windows start menu.
      3. Resume from the "sleep mode".
      4. Applet crashes with high probability.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Even after returning from "sleep mode", it is desirable to make the operation of
      the applet (No problem occurs with Windows XP).

      ACTUAL -
      After returning from "sleep mode", the applet is inoperable.

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      Process has been extinguished, the error log has not been issued.

      REPRODUCIBILITY :
      This bug can be reproduced often.

      ---------- BEGIN SOURCE ----------
      // Applet is no object.

      import javax.swing.JApplet;
      import javax.swing.JButton;

      public class MyApplet extends JApplet {
          @Override
          public void init() {
              getContentPane().add(new JButton("Hello"));
          }
      }
      ---------- END SOURCE ----------

      Attachments

        Activity

          People

            nam Nam Nguyen (Inactive)
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: