JDK-4196224 : all 1.2 applets getting page fault with internet explorer
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 1.2.0,1.2.1
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris_2.6,windows_95,windows_nt
  • CPU: x86,sparc
  • Submitted: 1998-12-09
  • Updated: 1999-01-20
  • Resolved: 1999-01-20
Related Reports
Duplicate :  
Duplicate :  
Duplicate :  
Description

Name: jd32717			Date: 12/09/98


using java 1.2 plugin, internet explorer, and windows platform.  consistently getting invalid page fault in win95 and access violation in winnt.  only happens with internet explorer, all versions.  netscape navigator works fine.  has been happening with all releases of jdk/plugin 1.2.  downloaded last version on dec 7, 1998.  problem happens with all applets.  i have tried fixes related to other similar bugs such as running without jit and changing the windows colors settings; nothing helps.


plugin console from win95 - 

Java(TM) Plug-in
Using JRE version 1.2
User home directory = C:\WINDOWS
Proxy Configuration: Manual Configuration
     Proxy: PROXY:8080
     Proxy Overrides: <local>,,*.aepsc.com

JAR cache enabled.
Opening http://pc36512/orgchart_devl/NothingApplet.class no proxy
No holding
CacheHandler trying caching. http://pc36512/orgchart_devl/NothingApplet.class
CacheHandler file name: C:\WINDOWS\Temporary Internet Files\B1SJUFCJ\NothingApplet.class
Got cached copy
Opening http://pc36512/orgchart_devl/NothingAppletBeanInfo.class no proxy
No holding
CacheHandler trying caching. http://pc36512/orgchart_devl/NothingAppletBeanInfo.class
CacheHandler file name: null
No cache available, using remote copy
Opening http://pc36512/orgchart_devl/NothingAppletBeanInfo.class no proxy





win95 page fault - 

IEXPLORE caused an invalid page fault in
module JVM.DLL at 0137:5043ac67.
Registers:
EAX=05660550 CS=0137 EIP=5043ac67 EFLGS=00010206
EBX=00000000 SS=013f ESP=0a1beddc EBP=09c26bc0
ECX=50472960 DS=013f ESI=0a1bff60 FS=2bf7
EDX=00000000 ES=013f EDI=50370000 GS=0000
Bytes at CS:EIP:
8b 02 50 e8 f0 63 fe ff 8b 4c 24 0c 83 c4 04 50 
Stack dump:
0a1bedfc 50374bcf 05660550 00000000 05660550 503750c6 05660550 00000000
 00000000 05660550 815ac800 00000000 00000000 815a473c 00000000 00000002 


applet source - 



import java.awt.*;
import java.awt.event.*;
import java.util.*;
import java.net.*;
import java.io.*;

import javax.swing.*;





public class NothingApplet extends JApplet
{





    //Initialize applet
    public void init() {
        showStatus("Doing Mostly Nothing, Please Wait...");

        // set look & feel
  //      String laf = UIManager.getSystemLookAndFeelClassName();
    //    try {
            //UIManager.setLookAndFeel( UIManager.getCrossPlatformLookAndFeelClassName() );

            //UIManager.setLookAndFeel( new com.sun.java.swing.plaf.motif.MotifLookAndFeel());
      //      UIManager.setLookAndFeel( new javax.swing.plaf.metal.MetalLookAndFeel());
            //UIManager.setLookAndFeel( new com.sun.java.swing.plaf.windows.WindowsLookAndFeel());
        
        //} catch ( UnsupportedLookAndFeelException exc ) {
          //  System.err.println("Warning: UnsupportedLookAndFeel: " + laf);
        //} catch (Exception exc) {
          //  System.err.println("Error loading " + laf + ": " + exc);
        //}

        JButton tb = new JButton("theButton");
         getContentPane().add(tb);

    }




  
    //Start the applet
    public void start() {
    
    }




  
    //Stop the applet
    public void stop() {

    }




  
    //Destroy the applet
    public void destroy() {

    }




  
 




 
    public static void main(String args[]) {
        Frame theFrame = new Frame("AEP Organization Chart");
        WindowListener l = new WindowAdapter() {
            public void windowClosing(WindowEvent e) {System.exit(0);}
        };
        theFrame.addWindowListener(l);
        NothingApplet ap = new NothingApplet();
        ap.init();
        theFrame.add("Center", ap);
        theFrame.pack();
        theFrame.show();

    }




  
    // add your data members here

    
    
}



don't understand what the "beaninfo" class is in the console, i have no such class; but the fault always occurs at that point.  when run with navigator, no such class is listed in the console. 


please email me if you need any further info.
(Review ID: 47640)
======================================================================

Comments
WORK AROUND Create a dummy beanInfo class for each applet. jerome.dochez@Eng 1999-01-21
21-01-1999

EVALUATION This bug is caused by the sun.applet.AppletClassloader problematic behavior in JDK 1.2 to download class/jar file through HTTP. The classloader fails to check the HTTP respond code to see if there is any failure if the file does not exist. In the case of IE, introspection causes it to load BeanInfo.class, which does not exist, and it causes IE to fail. stanley.ho@Eng 1999-01-15 Duplicate of 4203437 jerome.dochez@Eng 1999-01-20
15-01-1999