java.lang.IllegalStateException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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.
    via by Webbug Group,
  • 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.
    via by Webbug Group,
  • Error (NoClassDefFoundError) loading applet
    via Stack Overflow by dancingbush
    ,
  • Java Applet not running in windows Xp
    via Stack Overflow by Arjun Pokkat
    ,
  • java applet ExceptionInInitializerError
    via by Unknown author,
  • Java Error on wd2go - WD Community
    via by Unknown author,
    • java.lang.IllegalStateException: Applet's parent container not set up at sun.plugin2.applet.Plugin2Manager.start(Unknown Source) at sun.plugin2.main.client.PluginMain$StartAppletRunner.run(Unknown Source) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$000(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    7 more bugmates