java.lang.IllegalStateException: Applet's parent container not set up

JDK Bug System | Webbug Group | 5 years ago
  1. 0

    Bug ID: JDK-7173050 Applet loading failed with multiple SSL client certificates when console off

    java.com | 1 year ago
    java.lang.IllegalStateException: Applet's parent container not set up
  2. 0

    Bug ID: JDK-7173050 Applet loading failed with multiple SSL client certificates when console off

    sun.com | 12 months ago
    java.lang.IllegalStateException: Applet's parent container not set up
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    FULL PRODUCT VERSION : Java7u4 ADDITIONAL OS VERSION INFORMATION : Windows 7 32Bit ver6.1.7600 A DESCRIPTION OF THE PROBLEM : I use javascript to create html applet tag, then append to html DOM. The first append is worked,but it will fail on append more than twice. Sometimes applet seems not repaint. Sometimes JVM will run the second instance. REGRESSION. Last worked in version 7 STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : step 1:Write a simple applet. step 2:White a javascript function to create applet tag and append to html DOM. step 3:Run the javascript function many times. step 4:You will see some applet will not worded or JVM will run the second instance. step 5:Fix the bug please. EXPECTED VERSUS ACTUAL BEHAVIOR : EXPECTED - Applets will run at the same ClassLoader and each applet is running normal. ACTUAL - Situation 1:Applet will not repaint, seems applet dead. Situation 2:Applet running at the different JVM. ERROR MESSAGES/STACK TRACES THAT OCCUR : None Error Message. REPRODUCIBILITY : This bug can be reproduced always. ---------- BEGIN SOURCE ---------- Applet Code: public class MyApplet extends JApplet { public MyApplet() { super(); } public void init() { this.setSize(300, 300); } } HTML Code: <body style="margin:0px;padding:0px;"> <input type="button" value="createApplet" onclick="createApplet();"> <script> var count = 0; function createApplet(){ var div=document.createElement("div"); var s = "<applet mayscript='true' code='MyApplet.class' width='50px' height='50px' name='MyApplet"+count+"' id='MyApplet"+count+"' alt='Java Runtime Environment is not working on your system' codebase='' archive='MyApplet.jar'><"+"/applet>"; div.innerHTML = s; document.body.appendChild(div); count++; } </script> </body> ---------- END SOURCE ---------- Please indicate when the regression was introduced. If it's a recent regression - please update the release notes.

    JDK Bug System | 5 years ago | Webbug Group
    java.lang.IllegalStateException: Applet's parent container not set up
  5. 0

    FULL PRODUCT VERSION : Java7u4 ADDITIONAL OS VERSION INFORMATION : Windows 7 32Bit ver6.1.7600 A DESCRIPTION OF THE PROBLEM : I use javascript to create html applet tag, then append to html DOM. The first append is worked,but it will fail on append more than twice. Sometimes applet seems not repaint. Sometimes JVM will run the second instance. REGRESSION. Last worked in version 7 STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : step 1:Write a simple applet. step 2:White a javascript function to create applet tag and append to html DOM. step 3:Run the javascript function many times. step 4:You will see some applet will not worded or JVM will run the second instance. step 5:Fix the bug please. EXPECTED VERSUS ACTUAL BEHAVIOR : EXPECTED - Applets will run at the same ClassLoader and each applet is running normal. ACTUAL - Situation 1:Applet will not repaint, seems applet dead. Situation 2:Applet running at the different JVM. ERROR MESSAGES/STACK TRACES THAT OCCUR : None Error Message. REPRODUCIBILITY : This bug can be reproduced always. ---------- BEGIN SOURCE ---------- Applet Code: public class MyApplet extends JApplet { public MyApplet() { super(); } public void init() { this.setSize(300, 300); } } HTML Code: <body style="margin:0px;padding:0px;"> <input type="button" value="createApplet" onclick="createApplet();"> <script> var count = 0; function createApplet(){ var div=document.createElement("div"); var s = "<applet mayscript='true' code='MyApplet.class' width='50px' height='50px' name='MyApplet"+count+"' id='MyApplet"+count+"' alt='Java Runtime Environment is not working on your system' codebase='' archive='MyApplet.jar'><"+"/applet>"; div.innerHTML = s; document.body.appendChild(div); count++; } </script> </body> ---------- END SOURCE ---------- Please indicate when the regression was introduced. If it's a recent regression - please update the release notes.

    JDK Bug System | 5 years ago | Webbug Group
    java.lang.IllegalStateException: Applet's parent container not set up

    12 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Applet's parent container not set up

      at sun.plugin2.applet.Plugin2Manager.start()
    2. sun.plugin2.applet
      Plugin2Manager.start
      1. sun.plugin2.applet.Plugin2Manager.start(Unknown Source)
      1 frame
    3. sun.plugin2.main
      PluginMain$StartAppletRunner.run
      1. sun.plugin2.main.client.PluginMain$StartAppletRunner.run(Unknown Source)
      1 frame
    4. Java RT
      EventDispatchThread.run
      1. java.awt.event.InvocationEvent.dispatch(Unknown Source)
      2. java.awt.EventQueue.dispatchEventImpl(Unknown Source)
      3. java.awt.EventQueue.access$000(Unknown Source)
      4. java.awt.EventQueue$3.run(Unknown Source)
      5. java.awt.EventQueue$3.run(Unknown Source)
      6. java.security.AccessController.doPrivileged(Native Method)
      7. java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
      8. java.awt.EventQueue.dispatchEvent(Unknown Source)
      9. java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      10. java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      11. java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      12. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      13. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      14. java.awt.EventDispatchThread.run(Unknown Source)
      14 frames