Results 1 to 6 of 6
  1. #1
    PoundCake is offline Member
    Join Date
    Mar 2012
    Posts
    3
    Rep Power
    0

    Default Applet doesn't load in browser with certain class variables

    This is a highly stripped bit of code off of my applet. Note the JTable and Color class variables. Just by uncommenting any of these two class variables (amongst others not shown in this piece of code), the applet is stuck loading "forever", else the applet would run just fine. (See picture, Java Console and environment below).

    Question: As I am new to developing applets I am wondering what could make the applet work/not work just by removing some pretty basic class variables.

    Note: Between each test of the applet with Firefox I ran a full cleanup with CCleaner to make sure Firefox had a fresh version of the applet.
    Note: The applet runs fine with Applet Viewer offline.

    The applet is called in html like this:
    XML Code:
    <applet codebase="http://10.0.0.20:8080/PoundCake/faces/" code="debtcalcapplet.DebtCalcApplet"
    archive="DebtCalcApplet.jar" width="640" height="640">
                        
    </applet>
    Java Code:
    package debtcalcapplet;
    
    import java.awt.event.*;
    import javax.swing.*;
    import java.awt.Container;
    
    public class DebtCalcApplet extends JApplet {
    
        private JTabbedPane tP = new JTabbedPane();
        private DebtCalcTab debtCalcTab = new DebtCalcTab(this);
        
        @Override
        public void init() {
        try {
            tP.addTab("DebtCalc", null, debtCalcTab);
            tP.setMnemonicAt(0, KeyEvent.VK_1);
            
            Container cp = getContentPane();
            cp.add(tP);
            } catch(Exception e) {
                e.printStackTrace();
            }
        }
    }
    Java Code:
    package debtcalcapplet;
    
    import calculator;
    import javax.swing.*;
    import java.awt.*;
    import javax.swing.border.*;
    import javax.swing.table.DefaultTableModel;
    
    public class DebtCalcTab extends JPanel {
    
        private Calculator calc = new Calculator();
        private DefaultTableModel resultModel = new DefaultTableModel();
        private DefaultTableModel userTableModel = new DefaultTableModel();
     
    //    private JTable resultTable = new JTable(resultModel);
    //    private Color background;
    
        public DebtCalcTab() {     //CONSTRUCTOR
            setLayout(new GridLayout(1, 2));
    
    //        //adding panels
            WestPanel wp = new WestPanel();
            add(wp);
    
            EastPanel ep = new EastPanel();
            add(ep);
        }
        private class WestPanel extends JPanel {
    
            public WestPanel() {
                setLayout(new GridLayout(2, 1));
                SoftBevelBorder ramme = new SoftBevelBorder(BevelBorder.RAISED);
                Border output = BorderFactory.createTitledBorder(ramme, "");
                setBorder(output);
            }
    
        private class EastPanel extends JPanel {
    
            public EastPanel() {
                setLayout(new GridLayout(2, 1));
            }
        }
    }
    Output from Java Console when stuck
    Java Plug-in 10.3.1.255
    Using JRE version 1.7.0_03-b05 Java HotSpot(TM) Client VM
    User home directory = C:\Users\----
    ----------------------------------------------------
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    ----------------------------------------------------
    security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal .bind.,com.sun.imageio.
    security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal .bind.,com.sun.imageio.,com.sun.javaws
    security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal .bind.,com.sun.imageio.,com.sun.javaws
    security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal .bind.,com.sun.imageio.,com.sun.javaws,com.sun.dep loy
    security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal .bind.,com.sun.imageio.,com.sun.javaws,com.sun.dep loy
    security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal .bind.,com.sun.imageio.,com.sun.javaws,com.sun.dep loy,com.sun.jnlp
    security: property package.definition value null
    security: property package.definition new value com.sun.javaws
    security: property package.definition value com.sun.javaws
    security: property package.definition new value com.sun.javaws,com.sun.deploy
    security: property package.definition value com.sun.javaws,com.sun.deploy
    security: property package.definition new value com.sun.javaws,com.sun.deploy,com.sun.jnlp
    security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal .bind.,com.sun.imageio.,com.sun.javaws,com.sun.dep loy,com.sun.jnlp
    security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal .bind.,com.sun.imageio.,com.sun.javaws,com.sun.dep loy,com.sun.jnlp,org.mozilla.jss
    security: property package.definition value com.sun.javaws,com.sun.deploy,com.sun.jnlp
    security: property package.definition new value com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.moz illa.jss
    basic: Added progress listener: sun.plugin.util.ProgressMonitorAdapter@6ca837
    basic: Plugin2ClassLoader.addURL parent called for http://10.0.0.20:8080/PoundCake/face...CalcApplet.jar
    security: Blacklist revocation check is enabled
    security: Trusted libraries list check is enabled
    network: Cache entry found [url: http://10.0.0.20:8080/PoundCake/face...CalcApplet.jar, version: null] prevalidated=false/0
    network: Connecting http://10.0.0.20:8080/PoundCake/face...CalcApplet.jar with proxy=DIRECT
    network: Connecting http://10.0.0.20:8080/ with proxy=DIRECT
    network: ResponseCode for http://10.0.0.20:8080/PoundCake/face...CalcApplet.jar : 200
    network: Encoding for http://10.0.0.20:8080/PoundCake/face...CalcApplet.jar : null
    network: Disconnect connection to http://10.0.0.20:8080/PoundCake/face...CalcApplet.jar
    network: Connecting http://10.0.0.20:8080/PoundCake/face...CalcApplet.jar with proxy=DIRECT
    network: Connecting http://10.0.0.20:8080/ with proxy=DIRECT
    basic: Loading Java Applet ...

    ______________
    Sometimes the last line (basic: Loading Java Applet ...) doesn't appear.

    Environment:
    Java version - 1.7.0_03 (Both applet and web project runs on Java 7)
    Web server - Glassfish 3.1.1
    Framework - JavaServer Faces(JSF 2.0)
    IDE - NetBeans 7.1
    OS - Windows 7

    Picture of stuck applet
    Last edited by PoundCake; 03-11-2012 at 02:13 AM.

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,305
    Rep Power
    25

    Default Re: Applet doesn't load in browser with certain class variables

    Why are there references to jnlp in the trace? I've never seen any of what you say came from the java console.
    How are you loading the applet into a browser? Starting with opening a browser, what do you do to load the applet? Does the URL point to an html page with the applet tag that you posted?
    You have edited the java console contents which usually shows the java version.
    Last edited by Norm; 03-11-2012 at 01:58 AM.

  3. #3
    PoundCake is offline Member
    Join Date
    Mar 2012
    Posts
    3
    Rep Power
    0

    Default Re: Applet doesn't load in browser with certain class variables

    Quote Originally Posted by Norm View Post
    Why are there references to jnlp in the trace? I've never seen any of what you say came from the java console.
    How are you loading the applet into a browser? Starting with opening a browser, what do you do to load the applet? Does the URL point to an html page with the applet tag that you posted?
    You have edited the java console contents which usually shows the java version.
    I can't really say why there are jnlp references in the trace.

    When I press F6 while in netbeans, having the web application as main project, it automatically opens my Firefox browser at http://localhost:8080/PoundCake/faces/index.xhtml from here I browse to my applet's jsf page:
    http://localhost:8080/PoundCake/faces/debtCalc.xhtml
    debtCalc.xhtml has the applet tag I posted.

    Java console content updated to include java version.

    After a long while of "loading" the console looked like this:

    Java Plug-in 10.3.1.255
    Using JRE version 1.7.0_03-b05 Java HotSpot(TM) Client VM
    User home directory = C:\Users\-------
    ----------------------------------------------------
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    ----------------------------------------------------
    security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal .bind.,com.sun.imageio.
    security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal .bind.,com.sun.imageio.,com.sun.javaws
    security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal .bind.,com.sun.imageio.,com.sun.javaws
    security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal .bind.,com.sun.imageio.,com.sun.javaws,com.sun.dep loy
    security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal .bind.,com.sun.imageio.,com.sun.javaws,com.sun.dep loy
    security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal .bind.,com.sun.imageio.,com.sun.javaws,com.sun.dep loy,com.sun.jnlp
    security: property package.definition value null
    security: property package.definition new value com.sun.javaws
    security: property package.definition value com.sun.javaws
    security: property package.definition new value com.sun.javaws,com.sun.deploy
    security: property package.definition value com.sun.javaws,com.sun.deploy
    security: property package.definition new value com.sun.javaws,com.sun.deploy,com.sun.jnlp
    security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal .bind.,com.sun.imageio.,com.sun.javaws,com.sun.dep loy,com.sun.jnlp
    security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal .bind.,com.sun.imageio.,com.sun.javaws,com.sun.dep loy,com.sun.jnlp,org.mozilla.jss
    security: property package.definition value com.sun.javaws,com.sun.deploy,com.sun.jnlp
    security: property package.definition new value com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.moz illa.jss
    basic: Added progress listener: sun.plugin.util.ProgressMonitorAdapter@6ca837
    basic: Plugin2ClassLoader.addURL parent called for http://10.0.0.20:8080/PoundCake/face...CalcApplet.jar
    security: Blacklist revocation check is enabled
    security: Trusted libraries list check is enabled
    network: Cache entry found [url: http://10.0.0.20:8080/PoundCake/face...CalcApplet.jar, version: null] prevalidated=false/0
    network: Connecting http://10.0.0.20:8080/PoundCake/face...CalcApplet.jar with proxy=DIRECT
    network: Connecting http://10.0.0.20:8080/ with proxy=DIRECT
    network: ResponseCode for http://10.0.0.20:8080/PoundCake/face...CalcApplet.jar : 200
    network: Encoding for http://10.0.0.20:8080/PoundCake/face...CalcApplet.jar : null
    network: Disconnect connection to http://10.0.0.20:8080/PoundCake/face...CalcApplet.jar
    network: Connecting http://10.0.0.20:8080/PoundCake/face...CalcApplet.jar with proxy=DIRECT
    network: Connecting http://10.0.0.20:8080/ with proxy=DIRECT
    java.net.SocketException: Connection reset
    at java.net.SocketInputStream.read(Unknown Source)
    at java.net.SocketInputStream.read(Unknown Source)
    at java.io.BufferedInputStream.fill(Unknown Source)
    at java.io.BufferedInputStream.read1(Unknown Source)
    at java.io.BufferedInputStream.read(Unknown Source)
    at sun.net.www.MeteredStream.read(Unknown Source)
    at java.io.FilterInputStream.read(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection$HttpIn putStream.read(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection$HttpIn putStream.read(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection$HttpIn putStream.read(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection$HttpIn putStream.close(Unknown Source)
    at java.io.BufferedInputStream.close(Unknown Source)
    at sun.plugin.PluginURLJarFileCallBack.downloadJAR(Un known Source)
    at sun.plugin.PluginURLJarFileCallBack.access$000(Unk nown Source)
    at sun.plugin.PluginURLJarFileCallBack$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.plugin.PluginURLJarFileCallBack.retrieve(Unkno wn Source)
    at sun.net.www.protocol.jar.URLJarFile.retrieve(Unknown Source)
    at sun.net.www.protocol.jar.URLJarFile.getJarFile(Unknown Source)
    at sun.net.www.protocol.jar.JarFileFactory.get(Unknown Source)
    at sun.net.http://www.protocol.jar.JarURLConnec...onnect(Unknown Source)
    at sun.plugin.net.protocol.jar.CachedJarURLConnection .connect(Unknown Source)
    at sun.plugin.net.protocol.jar.CachedJarURLConnection .getJarFileInternal(Unknown Source)
    at sun.plugin.net.protocol.jar.CachedJarURLConnection .getJarFile(Unknown Source)
    at com.sun.deploy.security.DeployURLClassPath$JarLoad er.getJarFile(Unknown Source)
    at com.sun.deploy.security.DeployURLClassPath$JarLoad er.access$1000(Unknown Source)
    at com.sun.deploy.security.DeployURLClassPath$JarLoad er$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.deploy.security.DeployURLClassPath$JarLoad er.ensureOpen(Unknown Source)
    at com.sun.deploy.security.DeployURLClassPath$JarLoad er.<init>(Unknown Source)
    at com.sun.deploy.security.DeployURLClassPath$3.run(U nknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.deploy.security.DeployURLClassPath.getLoad er(Unknown Source)
    at com.sun.deploy.security.DeployURLClassPath.getLoad er(Unknown Source)
    at com.sun.deploy.security.DeployURLClassPath.getReso urce(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknow n Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.plugin2.applet.Plugin2ClassLoader.findClassHel per(Unknown Source)
    at sun.plugin2.applet.Applet2ClassLoader.findClass(Un known Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(U nknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Un known Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(U nknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Un known Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Un known Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unk nown Source)
    at sun.plugin2.applet.Plugin2Manager.initAppletAdapte r(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager$AppletExecutionR unnable.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    network: Connecting http://10.0.0.20:8080/PoundCake/face...CalcApplet.jar with proxy=DIRECT
    network: Connecting http://10.0.0.20:8080/ with proxy=DIRECT
    network: ResponseCode for http://10.0.0.20:8080/PoundCake/face...CalcApplet.jar : 200
    network: Encoding for http://10.0.0.20:8080/PoundCake/face...CalcApplet.jar : null
    network: Disconnect connection to http://10.0.0.20:8080/PoundCake/face...CalcApplet.jar
    network: Connecting http://10.0.0.20:8080/PoundCake/face...CalcApplet.jar with proxy=DIRECT
    network: Connecting http://10.0.0.20:8080/ with proxy=DIRECT
    java.net.SocketException: Connection reset
    at java.net.SocketInputStream.read(Unknown Source)
    at java.net.SocketInputStream.read(Unknown Source)
    at java.io.BufferedInputStream.fill(Unknown Source)
    at java.io.BufferedInputStream.read1(Unknown Source)
    at java.io.BufferedInputStream.read(Unknown Source)
    at sun.net.www.MeteredStream.read(Unknown Source)
    at java.io.FilterInputStream.read(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection$HttpIn putStream.read(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection$HttpIn putStream.read(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection$HttpIn putStream.read(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection$HttpIn putStream.close(Unknown Source)
    at java.io.BufferedInputStream.close(Unknown Source)
    at sun.plugin.PluginURLJarFileCallBack.downloadJAR(Un known Source)
    at sun.plugin.PluginURLJarFileCallBack.access$000(Unk nown Source)
    at sun.plugin.PluginURLJarFileCallBack$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.plugin.PluginURLJarFileCallBack.retrieve(Unkno wn Source)
    at sun.net.www.protocol.jar.URLJarFile.retrieve(Unknown Source)
    at sun.net.www.protocol.jar.URLJarFile.getJarFile(Unknown Source)
    at sun.net.www.protocol.jar.JarFileFactory.get(Unknown Source)
    at sun.net.http://www.protocol.jar.JarURLConnec...onnect(Unknown Source)
    at sun.plugin.net.protocol.jar.CachedJarURLConnection .connect(Unknown Source)
    at sun.plugin.net.protocol.jar.CachedJarURLConnection .getJarFileInternal(Unknown Source)
    at sun.plugin.net.protocol.jar.CachedJarURLConnection .getJarFile(Unknown Source)
    at com.sun.deploy.security.DeployURLClassPath$JarLoad er.getJarFile(Unknown Source)
    at com.sun.deploy.security.DeployURLClassPath$JarLoad er.access$1000(Unknown Source)
    at com.sun.deploy.security.DeployURLClassPath$JarLoad er$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.deploy.security.DeployURLClassPath$JarLoad er.ensureOpen(Unknown Source)
    at com.sun.deploy.security.DeployURLClassPath$JarLoad er.<init>(Unknown Source)
    at com.sun.deploy.security.DeployURLClassPath$3.run(U nknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.deploy.security.DeployURLClassPath.getLoad er(Unknown Source)
    at com.sun.deploy.security.DeployURLClassPath.getLoad er(Unknown Source)
    at com.sun.deploy.security.DeployURLClassPath.getReso urce(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknow n Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.plugin2.applet.Plugin2ClassLoader.findClassHel per(Unknown Source)
    at sun.plugin2.applet.Applet2ClassLoader.findClass(Un known Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(U nknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Un known Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(U nknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Un known Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Un known Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unk nown Source)
    at sun.plugin2.applet.Plugin2Manager.initAppletAdapte r(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager$AppletExecutionR unnable.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    network: Connecting http://10.0.0.20:8080/PoundCake/face...CalcApplet.jar with proxy=DIRECT
    network: Connecting http://10.0.0.20:8080/ with proxy=DIRECT
    network: ResponseCode for http://10.0.0.20:8080/PoundCake/face...CalcApplet.jar : 200
    network: Encoding for http://10.0.0.20:8080/PoundCake/face...CalcApplet.jar : null
    network: Disconnect connection to http://10.0.0.20:8080/PoundCake/face...CalcApplet.jar
    network: Connecting http://10.0.0.20:8080/PoundCake/face...CalcApplet.jar with proxy=DIRECT
    network: Connecting http://10.0.0.20:8080/ with proxy=DIRECT
    java.net.SocketException: Connection reset
    at java.net.SocketInputStream.read(Unknown Source)
    at java.net.SocketInputStream.read(Unknown Source)
    at java.io.BufferedInputStream.fill(Unknown Source)
    at java.io.BufferedInputStream.read1(Unknown Source)
    at java.io.BufferedInputStream.read(Unknown Source)
    at sun.net.www.MeteredStream.read(Unknown Source)
    at java.io.FilterInputStream.read(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection$HttpIn putStream.read(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection$HttpIn putStream.read(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection$HttpIn putStream.read(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection$HttpIn putStream.close(Unknown Source)
    at java.io.BufferedInputStream.close(Unknown Source)
    at sun.plugin.PluginURLJarFileCallBack.downloadJAR(Un known Source)
    at sun.plugin.PluginURLJarFileCallBack.access$000(Unk nown Source)
    at sun.plugin.PluginURLJarFileCallBack$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.plugin.PluginURLJarFileCallBack.retrieve(Unkno wn Source)
    at sun.net.www.protocol.jar.URLJarFile.retrieve(Unknown Source)
    at sun.net.www.protocol.jar.URLJarFile.getJarFile(Unknown Source)
    at sun.net.www.protocol.jar.JarFileFactory.get(Unknown Source)
    at sun.net.http://www.protocol.jar.JarURLConnec...onnect(Unknown Source)
    at sun.plugin.net.protocol.jar.CachedJarURLConnection .connect(Unknown Source)
    at sun.plugin.net.protocol.jar.CachedJarURLConnection .getJarFileInternal(Unknown Source)
    at sun.plugin.net.protocol.jar.CachedJarURLConnection .getJarFile(Unknown Source)
    at com.sun.deploy.security.DeployURLClassPath$JarLoad er.getJarFile(Unknown Source)
    at com.sun.deploy.security.DeployURLClassPath$JarLoad er.access$1000(Unknown Source)
    at com.sun.deploy.security.DeployURLClassPath$JarLoad er$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.deploy.security.DeployURLClassPath$JarLoad er.ensureOpen(Unknown Source)
    at com.sun.deploy.security.DeployURLClassPath$JarLoad er.<init>(Unknown Source)
    at com.sun.deploy.security.DeployURLClassPath$3.run(U nknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.deploy.security.DeployURLClassPath.getLoad er(Unknown Source)
    at com.sun.deploy.security.DeployURLClassPath.getLoad er(Unknown Source)
    at com.sun.deploy.security.DeployURLClassPath.getReso urce(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknow n Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.plugin2.applet.Plugin2ClassLoader.findClassHel per(Unknown Source)
    at sun.plugin2.applet.Applet2ClassLoader.findClass(Un known Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(U nknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Un known Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Un known Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unk nown Source)
    at sun.plugin2.applet.Plugin2Manager.initAppletAdapte r(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager$AppletExecutionR unnable.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    network: Connecting http://10.0.0.20:8080/PoundCake/face...CalcApplet.jar with proxy=DIRECT
    network: Connecting http://10.0.0.20:8080/ with proxy=DIRECT
    network: ResponseCode for http://10.0.0.20:8080/PoundCake/face...CalcApplet.jar : 200
    network: Encoding for http://10.0.0.20:8080/PoundCake/face...CalcApplet.jar : null
    network: Disconnect connection to http://10.0.0.20:8080/PoundCake/face...CalcApplet.jar
    network: Connecting http://10.0.0.20:8080/PoundCake/face...CalcApplet.jar with proxy=DIRECT
    network: Connecting http://10.0.0.20:8080/ with proxy=DIRECT
    java.net.SocketException: Connection reset
    at java.net.SocketInputStream.read(Unknown Source)
    at java.net.SocketInputStream.read(Unknown Source)
    at java.io.BufferedInputStream.fill(Unknown Source)
    at java.io.BufferedInputStream.read1(Unknown Source)
    at java.io.BufferedInputStream.read(Unknown Source)
    at sun.net.www.MeteredStream.read(Unknown Source)
    at java.io.FilterInputStream.read(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection$HttpIn putStream.read(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection$HttpIn putStream.read(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection$HttpIn putStream.read(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection$HttpIn putStream.close(Unknown Source)
    at java.io.BufferedInputStream.close(Unknown Source)
    at sun.plugin.PluginURLJarFileCallBack.downloadJAR(Un known Source)
    at sun.plugin.PluginURLJarFileCallBack.access$000(Unk nown Source)
    at sun.plugin.PluginURLJarFileCallBack$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.plugin.PluginURLJarFileCallBack.retrieve(Unkno wn Source)
    at sun.net.www.protocol.jar.URLJarFile.retrieve(Unknown Source)
    at sun.net.www.protocol.jar.URLJarFile.getJarFile(Unknown Source)
    at sun.net.www.protocol.jar.JarFileFactory.get(Unknown Source)
    at sun.net.http://www.protocol.jar.JarURLConnec...onnect(Unknown Source)
    at sun.plugin.net.protocol.jar.CachedJarURLConnection .connect(Unknown Source)
    at sun.plugin.net.protocol.jar.CachedJarURLConnection .getJarFileInternal(Unknown Source)
    at sun.plugin.net.protocol.jar.CachedJarURLConnection .getJarFile(Unknown Source)
    at com.sun.deploy.security.DeployURLClassPath$JarLoad er.getJarFile(Unknown Source)
    at com.sun.deploy.security.DeployURLClassPath$JarLoad er.access$1000(Unknown Source)
    at com.sun.deploy.security.DeployURLClassPath$JarLoad er$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.deploy.security.DeployURLClassPath$JarLoad er.ensureOpen(Unknown Source)
    at com.sun.deploy.security.DeployURLClassPath$JarLoad er.<init>(Unknown Source)
    at com.sun.deploy.security.DeployURLClassPath$3.run(U nknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.deploy.security.DeployURLClassPath.getLoad er(Unknown Source)
    at com.sun.deploy.security.DeployURLClassPath.getLoad er(Unknown Source)
    at com.sun.deploy.security.DeployURLClassPath.getReso urce(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknow n Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.plugin2.applet.Plugin2ClassLoader.findClassHel per(Unknown Source)
    at sun.plugin2.applet.Applet2ClassLoader.findClass(Un known Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(U nknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Un known Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Un known Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unk nown Source)
    at sun.plugin2.applet.Plugin2Manager.initAppletAdapte r(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager$AppletExecutionR unnable.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    network: Cache entry not found [url: http://10.0.0.20:8080/PoundCake/faces/, version: null]
    network: Cache entry not found [url: http://10.0.0.20:8080/PoundCake/face...lcApplet.class, version: null]
    network: Connecting http://10.0.0.20:8080/PoundCake/face...lcApplet.class with proxy=DIRECT
    network: Connecting http://10.0.0.20:8080/ with proxy=DIRECT
    network: Cache entry not found [url: http://10.0.0.20:8080/PoundCake/face...lcApplet.class, version: null]
    network: Connecting http://10.0.0.20:8080/PoundCake/face...lcApplet.class with proxy=DIRECT
    java.lang.ClassNotFoundException: debtcalcapplet.DebtCalcApplet
    at sun.plugin2.applet.Applet2ClassLoader.findClass(Un known Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(U nknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Un known Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Un known Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unk nown Source)
    at sun.plugin2.applet.Plugin2Manager.initAppletAdapte r(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager$AppletExecutionR unnable.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    basic: load: class debtcalcapplet.DebtCalcApplet not found.
    java.lang.ClassNotFoundException: debtcalcapplet.DebtCalcApplet
    at sun.plugin2.applet.Applet2ClassLoader.findClass(Un known Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(U nknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Un known Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Un known Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unk nown Source)
    at sun.plugin2.applet.Plugin2Manager.initAppletAdapte r(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager$AppletExecutionR unnable.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Ignored exception: java.lang.ClassNotFoundException: debtcalcapplet.DebtCalcApplet
    basic: Removed progress listener: sun.plugin.util.ProgressMonitorAdapter@6ca837
    security: Accessing keys and certificate in Mozilla user profile: null
    security: Reset deny session certificate store

  4. #4
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,305
    Rep Power
    25

    Default Re: Applet doesn't load in browser with certain class variables

    It looks like there is a lot more software involved here than an html page with an <APPLET tag and a jar file with some applet classes.
    There are lots and lots of places for there to be problems.

  5. #5
    PoundCake is offline Member
    Join Date
    Mar 2012
    Posts
    3
    Rep Power
    0

    Default Re: Applet doesn't load in browser with certain class variables

    Dump of thread stack may be of help, seems like a lot of waiting:
    Java Plug-in 10.3.1.255
    Using JRE version 1.7.0_03-b05 Java HotSpot(TM) Client VM
    User home directory = C:\Users\----
    ----------------------------------------------------
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    ----------------------------------------------------
    Dump thread stack ...
    ----------------------------------------------------
    2012-03-11 14:07:18
    Full thread dump Java HotSpot(TM) Client VM (22.1-b02 mixed mode, sharing):

    "SysExecutionThead" daemon prio=6 tid=0x07ff6800 nid=0x1540 runnable [0x00000000]
    java.lang.Thread.State: RUNNABLE

    "Thread-12" daemon prio=4 tid=0x07ff6400 nid=0x1624 waiting on condition [0x0b0ff000]
    java.lang.Thread.State: TIMED_WAITING (sleeping)
    at java.lang.Thread.sleep(Native Method)
    at com.sun.deploy.uitoolkit.impl.awt.AWTAnimationPane l2.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

    "TimerQueue" daemon prio=6 tid=0x07ff5c00 nid=0x1610 waiting on condition [0x09b0f000]
    java.lang.Thread.State: TIMED_WAITING (parking)
    at sun.misc.Unsafe.park(Native Method)
    - parking to wait for <0x29a868f0> (a java.util.concurrent.locks.AbstractQueuedSynchroni zer$ConditionObject)
    at java.util.concurrent.locks.LockSupport.parkNanos(U nknown Source)
    at java.util.concurrent.locks.AbstractQueuedSynchroni zer$ConditionObject.awaitNanos(Unknown Source)
    at java.util.concurrent.DelayQueue.take(Unknown Source)
    at javax.swing.TimerQueue.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

    "ConsoleTraceListener" daemon prio=6 tid=0x07ff3800 nid=0x1604 in Object.wait() [0x0926f000]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at java.lang.Thread.join(Unknown Source)
    - locked <0x245251e0> (a sun.plugin.util.PluginSysUtil$SysExecutionThread)
    at java.lang.Thread.join(Unknown Source)
    at sun.plugin.util.PluginSysUtil.execute(Unknown Source)
    at sun.plugin.util.PluginSysUtil.delegate(Unknown Source)
    at com.sun.deploy.util.DeploySysRun.execute(Unknown Source)
    at com.sun.deploy.uitoolkit.impl.awt.ui.SwingConsoleW indow.invokeLater(Unknown Source)
    at com.sun.deploy.uitoolkit.impl.awt.ui.SwingConsoleW indow.append(Unknown Source)
    at com.sun.deploy.uitoolkit.ui.ConsoleTraceListener$C onsoleWriterThread.run(Unknown Source)

    "D3D Screen Updater" daemon prio=8 tid=0x07ff4800 nid=0x15f0 in Object.wait() [0x098bf000]
    java.lang.Thread.State: TIMED_WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at sun.java2d.d3d.D3DScreenUpdateManager.run(Unknown Source)
    - locked <0x29876cb0> (a java.lang.Object)
    at java.lang.Thread.run(Unknown Source)

    "thread applet-debtcalcapplet.DebtCalcApplet-1" prio=4 tid=0x07ff3c00 nid=0x15e8 runnable [0x0921e000]
    java.lang.Thread.State: RUNNABLE
    at java.net.SocketInputStream.socketRead0(Native Method)
    at java.net.SocketInputStream.read(Unknown Source)
    at java.net.SocketInputStream.read(Unknown Source)
    at java.io.BufferedInputStream.read1(Unknown Source)
    at java.io.BufferedInputStream.read(Unknown Source)
    - locked <0x29ded398> (a java.io.BufferedInputStream)
    at sun.net.www.MeteredStream.read(Unknown Source)
    - locked <0x29ded3b8> (a sun.net.www.http.KeepAliveStream)
    at java.io.FilterInputStream.read(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection$HttpIn putStream.read(Unknown Source)
    at java.io.BufferedInputStream.read1(Unknown Source)
    at java.io.BufferedInputStream.read(Unknown Source)
    - locked <0x29ded418> (a java.io.BufferedInputStream)
    at java.io.FilterInputStream.read(Unknown Source)
    at sun.plugin.PluginURLJarFileCallBack.downloadJAR(Un known Source)
    at sun.plugin.PluginURLJarFileCallBack.access$000(Unk nown Source)
    at sun.plugin.PluginURLJarFileCallBack$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.plugin.PluginURLJarFileCallBack.retrieve(Unkno wn Source)
    at sun.net.www.protocol.jar.URLJarFile.retrieve(Unknown Source)
    at sun.net.www.protocol.jar.URLJarFile.getJarFile(Unknown Source)
    at sun.net.www.protocol.jar.JarFileFactory.get(Unknown Source)
    at sun.net.http://www.protocol.jar.JarURLConnec...onnect(Unknown Source)
    at sun.plugin.net.protocol.jar.CachedJarURLConnection .connect(Unknown Source)
    at sun.plugin.net.protocol.jar.CachedJarURLConnection .getJarFileInternal(Unknown Source)
    - locked <0x29d62b10> (a sun.plugin.net.protocol.jar.CachedJarURLConnection )
    at sun.plugin.net.protocol.jar.CachedJarURLConnection .getJarFile(Unknown Source)
    - locked <0x29d62b10> (a sun.plugin.net.protocol.jar.CachedJarURLConnection )
    at com.sun.deploy.security.DeployURLClassPath$JarLoad er.getJarFile(Unknown Source)
    at com.sun.deploy.security.DeployURLClassPath$JarLoad er.access$1000(Unknown Source)
    at com.sun.deploy.security.DeployURLClassPath$JarLoad er$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.deploy.security.DeployURLClassPath$JarLoad er.ensureOpen(Unknown Source)
    at com.sun.deploy.security.DeployURLClassPath$JarLoad er.<init>(Unknown Source)
    at com.sun.deploy.security.DeployURLClassPath$3.run(U nknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.deploy.security.DeployURLClassPath.getLoad er(Unknown Source)
    at com.sun.deploy.security.DeployURLClassPath.getLoad er(Unknown Source)
    - locked <0x29a49838> (a com.sun.deploy.security.DeployURLClassPath)
    at com.sun.deploy.security.DeployURLClassPath.getReso urce(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknow n Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.plugin2.applet.Plugin2ClassLoader.findClassHel per(Unknown Source)
    at sun.plugin2.applet.Applet2ClassLoader.findClass(Un known Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(U nknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Un known Source)
    - locked <0x29876df0> (a sun.plugin2.applet.Applet2ClassLoader)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Un known Source)
    - locked <0x29876df0> (a sun.plugin2.applet.Applet2ClassLoader)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unk nown Source)
    at sun.plugin2.applet.Plugin2Manager.initAppletAdapte r(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager$AppletExecutionR unnable.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

    "AWT-EventQueue-1" prio=6 tid=0x07ff2400 nid=0x15e0 waiting on condition [0x0948e000]
    java.lang.Thread.State: RUNNABLE
    at com.sun.deploy.uitoolkit.ui.ConsoleHelper.dumpAllS tacksImpl(Native Method)
    at com.sun.deploy.uitoolkit.ui.ConsoleHelper.dumpAllS tacks(Unknown Source)
    at com.sun.deploy.uitoolkit.impl.awt.ui.SwingConsoleW indow$2.actionPerformed(Unknown Source)
    at javax.swing.JComponent$ActionStandin.actionPerform ed(Unknown Source)
    at javax.swing.SwingUtilities.notifyAction(Unknown Source)
    at javax.swing.JComponent.processKeyBinding(Unknown Source)
    at javax.swing.KeyboardManager.fireBinding(Unknown Source)
    at javax.swing.KeyboardManager.fireKeyboardAction(Unk nown Source)
    at javax.swing.JComponent.processKeyBindingsForAllCom ponents(Unknown Source)
    at javax.swing.JComponent.processKeyBindings(Unknown Source)
    at javax.swing.JComponent.processKeyEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.KeyboardFocusManager.redispatchEvent(Unkn own Source)
    at java.awt.DefaultKeyboardFocusManager.dispatchKeyEv ent(Unknown Source)
    at java.awt.DefaultKeyboardFocusManager.preDispatchKe yEvent(Unknown Source)
    at java.awt.DefaultKeyboardFocusManager.typeAheadAsse rtions(Unknown Source)
    at java.awt.DefaultKeyboardFocusManager.dispatchEvent (Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(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.doIntersectionPri vilege(Unknown Source)
    at java.security.ProtectionDomain$1.doIntersectionPri vilege(Unknown Source)
    at java.awt.EventQueue$4.run(Unknown Source)
    at java.awt.EventQueue$4.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPri vilege(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilter s(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(U nknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarch y(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

    "AWT-EventQueue-2" prio=4 tid=0x07ff3000 nid=0x15dc waiting on condition [0x0968f000]
    java.lang.Thread.State: WAITING (parking)
    at sun.misc.Unsafe.park(Native Method)
    - parking to wait for <0x298770f8> (a java.util.concurrent.locks.AbstractQueuedSynchroni zer$ConditionObject)
    at java.util.concurrent.locks.LockSupport.park(Unknow n Source)
    at java.util.concurrent.locks.AbstractQueuedSynchroni zer$ConditionObject.await(Unknown Source)
    at java.awt.EventQueue.getNextEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilter s(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(U nknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarch y(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

    "JVM[id=1]-Heartbeat" daemon prio=6 tid=0x07ff2c00 nid=0x15d8 in Object.wait() [0x0918f000]
    java.lang.Thread.State: TIMED_WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at sun.plugin2.main.server.HeartbeatThread.run(Unknow n Source)
    - locked <0x29877170> (a sun.plugin2.main.client.PluginMain$Heartbeat)

    "Applet 1 LiveConnect Worker Thread" prio=4 tid=0x07ff1c00 nid=0x15d0 in Object.wait() [0x0937f000]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x29877258> (a java.lang.Object)
    at java.lang.Object.wait(Object.java:503)
    at sun.plugin2.main.client.LiveConnectSupport$PerAppl etInfo$LiveConnectWorker.run(Unknown Source)
    - locked <0x29877258> (a java.lang.Object)
    at java.lang.Thread.run(Unknown Source)

    "Browser Side Object Cleanup Thread" prio=6 tid=0x07ff1800 nid=0x15c4 in Object.wait() [0x093df000]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x298772e0> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(Unknown Source)
    - locked <0x298772e0> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(Unknown Source)
    at sun.plugin2.main.client.LiveConnectSupport$Browser SideObjectCleanupThread.run(Unknown Source)

    "CacheCleanUpThread" daemon prio=6 tid=0x07ff1000 nid=0x15c0 in Object.wait() [0x092ff000]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x29877300> (a com.sun.deploy.cache.CleanupThread)
    at java.lang.Object.wait(Object.java:503)
    at com.sun.deploy.cache.CleanupThread.run(Unknown Source)
    - locked <0x29877300> (a com.sun.deploy.cache.CleanupThread)

    "CacheMemoryCleanUpThread" daemon prio=6 tid=0x07fce000 nid=0x15bc in Object.wait() [0x08edf000]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x298773f0> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(Unknown Source)
    - locked <0x298773f0> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(Unknown Source)
    at com.sun.deploy.cache.MemoryCache$LoadedResourceCle anupThread.run(Unknown Source)

    "SysExecutionTheadCreator" daemon prio=6 tid=0x07f5c800 nid=0x15ac in Object.wait() [0x0902f000]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:503)
    at sun.plugin.util.PluginSysUtil$SysExecutionThreadCr eator.run(Unknown Source)
    - locked <0x29877410> (a sun.plugin.util.PluginSysUtil$SysExecutionThreadCr eator)

    "AWT-EventQueue-0" prio=6 tid=0x07f7ac00 nid=0x15a4 waiting on condition [0x08e1f000]
    java.lang.Thread.State: WAITING (parking)
    at sun.misc.Unsafe.park(Native Method)
    - parking to wait for <0x298774f0> (a java.util.concurrent.locks.AbstractQueuedSynchroni zer$ConditionObject)
    at java.util.concurrent.locks.LockSupport.park(Unknow n Source)
    at java.util.concurrent.locks.AbstractQueuedSynchroni zer$ConditionObject.await(Unknown Source)
    at java.awt.EventQueue.getNextEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilter s(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(U nknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarch y(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

    "Java Plug-In Pipe Worker Thread (Client-Side)" daemon prio=6 tid=0x07f76000 nid=0x15a0 runnable [0x0892f000]
    java.lang.Thread.State: RUNNABLE
    at sun.plugin2.os.windows.Windows.ReadFile0(Native Method)
    at sun.plugin2.os.windows.Windows.ReadFile(Unknown Source)
    at sun.plugin2.ipc.windows.WindowsNamedPipe.read(Unkn own Source)
    at sun.plugin2.message.transport.NamedPipeTransport$S erializerImpl.read(Unknown Source)
    at sun.plugin2.message.transport.NamedPipeTransport$S erializerImpl.readByte(Unknown Source)
    at sun.plugin2.message.AbstractSerializer.readInt(Unk nown Source)
    at sun.plugin2.message.transport.SerializingTransport .read(Unknown Source)
    at sun.plugin2.message.Pipe$WorkerThread.run(Unknown Source)

    "AWT-Windows" daemon prio=6 tid=0x07f6f800 nid=0x155c runnable [0x0267f000]
    java.lang.Thread.State: RUNNABLE
    at sun.awt.windows.WToolkit.eventLoop(Native Method)
    at sun.awt.windows.WToolkit.run(Unknown Source)

    "AWT-Shutdown" prio=6 tid=0x07f6f000 nid=0x159c in Object.wait() [0x08c6f000]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x298778f8> (a java.lang.Object)
    at java.lang.Object.wait(Object.java:503)
    at sun.awt.AWTAutoShutdown.run(Unknown Source)
    - locked <0x298778f8> (a java.lang.Object)
    at java.lang.Thread.run(Unknown Source)

    "Java2D Disposer" daemon prio=10 tid=0x07f71400 nid=0x1598 in Object.wait() [0x08baf000]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at java.lang.ref.ReferenceQueue.remove(Unknown Source)
    - locked <0x29877988> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(Unknown Source)
    at sun.java2d.Disposer.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

    "Timer-0" prio=6 tid=0x07f53400 nid=0x1590 in Object.wait() [0x07e1f000]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x29877a20> (a java.util.TaskQueue)
    at java.lang.Object.wait(Object.java:503)
    at java.util.TimerThread.mainLoop(Unknown Source)
    - locked <0x29877a20> (a java.util.TaskQueue)
    at java.util.TimerThread.run(Unknown Source)

    "traceMsgQueueThread" daemon prio=6 tid=0x07ee5800 nid=0x1588 in Object.wait() [0x0810f000]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:503)
    at com.sun.deploy.trace.Trace$TraceMsgQueueChecker.ru n(Unknown Source)
    - locked <0x297a3cb0> (a java.util.ArrayList)
    at java.lang.Thread.run(Unknown Source)

    "Service Thread" daemon prio=6 tid=0x00e0e800 nid=0x157c runnable [0x00000000]
    java.lang.Thread.State: RUNNABLE

    "C1 CompilerThread0" daemon prio=10 tid=0x00e0d400 nid=0x1578 waiting on condition [0x00000000]
    java.lang.Thread.State: RUNNABLE

    "Attach Listener" daemon prio=10 tid=0x00e0cc00 nid=0x1574 runnable [0x00000000]
    java.lang.Thread.State: RUNNABLE

    "Signal Dispatcher" daemon prio=10 tid=0x00e02400 nid=0x1570 runnable [0x00000000]
    java.lang.Thread.State: RUNNABLE

    "Finalizer" daemon prio=8 tid=0x00dd4400 nid=0x1568 in Object.wait() [0x04c2f000]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at java.lang.ref.ReferenceQueue.remove(Unknown Source)
    - locked <0x29877ca8> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(Unknown Source)
    at java.lang.ref.Finalizer$FinalizerThread.run(Unknow n Source)

    "Reference Handler" daemon prio=10 tid=0x00dd2800 nid=0x1564 in Object.wait() [0x0615f000]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:503)
    at java.lang.ref.Reference$ReferenceHandler.run(Unkno wn Source)
    - locked <0x29876b48> (a java.lang.ref.Reference$Lock)

    "main" prio=6 tid=0x0034b000 nid=0x1558 in Object.wait() [0x00eaf000]
    java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    - waiting on <0x29877d30> (a sun.plugin2.message.Queue)
    at sun.plugin2.message.Queue.waitForMessage(Unknown Source)
    - locked <0x29877d30> (a sun.plugin2.message.Queue)
    at sun.plugin2.message.Pipe$1.run(Unknown Source)
    at com.sun.deploy.util.Waiter$1.wait(Unknown Source)
    at com.sun.deploy.util.Waiter.runAndWait(Unknown Source)
    at sun.plugin2.message.Pipe.receive(Unknown Source)
    at sun.plugin2.main.client.PluginMain.mainLoop(Unknow n Source)
    at sun.plugin2.main.client.PluginMain.run(Unknown Source)
    at sun.plugin2.main.client.PluginMain.main(Unknown Source)

    "VM Thread" prio=10 tid=0x00dd1400 nid=0x1560 runnable

    "VM Periodic Task Thread" prio=10 tid=0x07ec8400 nid=0x1580 waiting on condition

    .main.client.PluginMain.mainLoop(Unknown Source)
    at sun.plugin2.main.client.PluginMain.run(Unknown Source)
    at sun.plugin2.main.client.PluginMain.main(Unknown Source)

    "VM Thread" prio=10 tid=0x00dd1400 nid=0x1560 runnable

    "VM Periodic Task Thread" prio=10 tid=0x07ec8400 nid=0x1580 waiting on condition


    ----------------------------------------------------
    Done.

  6. #6
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,305
    Rep Power
    25

    Default Re: Applet doesn't load in browser with certain class variables

    None of that looks like its from an ordinary java class in an applet.
    There is a lot more other code being executed in you project.

Similar Threads

  1. Simple rectangle display applet doesn't work in browser
    By stainluss in forum Java Applets
    Replies: 7
    Last Post: 01-31-2012, 11:38 PM
  2. Test applet failing to load on browser...
    By Javasubbu in forum New To Java
    Replies: 0
    Last Post: 11-03-2011, 02:42 PM
  3. Replies: 1
    Last Post: 08-14-2011, 03:07 AM
  4. applet working in applet viewer, not browser
    By plasticfood in forum Java Applets
    Replies: 4
    Last Post: 06-24-2011, 06:47 PM
  5. Load a file doesn't start a timer
    By warchieflll in forum Advanced Java
    Replies: 13
    Last Post: 02-03-2011, 08:34 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •