Hi,
I had the same problem, when I used a real dummy class. Then I tried to use
a "dummy" BeanInfo class which is not empty, but which is derived from
SimpleBeanInfo:
import java.beans.*;
public class MyClassBeanInfo extends SimpleBeanInfo {
public MyClassBeanInfo() {
super();
}
}
This works with IE 4 both from an IIS and from a Personal Web Server.
Best Regards,
Thomas Langhagel.
"Harley Blumenfeld" <[EMAIL PROTECTED]> am 05/11/99 03:53:17 PM
An: [EMAIL PROTECTED], [EMAIL PROTECTED]
Kopie: [EMAIL PROTECTED] (Blindkopie: Thomas Langhagel)
Thema: RE: [java3d] BeanInfo ?????
Actually I am using an IIS Server. We have a Java web server also
so I'll try putting it there. I tried the dummy BeanInfo class
and it still crashed IE 5.0.
Thanks,
Harley
>From: "T.G. Richards" <[EMAIL PROTECTED]>
>To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
>CC: "Java3d-Interest (E-mail)" <[EMAIL PROTECTED]>
>Subject: RE: [java3d] BeanInfo ?????
>Date: Tue, 11 May 1999 09:37:49 +0100
>
>Hi there,
>
>I had exactly the same problem when I first started trying to get J3D
>applets working in browsers last August/September (See
>http://java.sun.com/products/java-media/mail-archive/3D.9.98/1216.html ).
>It took me days before I discovered that it only happened when I used
>Microsoft Personal Web Server as my server. After switching to the main
>University Web Server here (UNIX), I've had no problems at all with J3D &
>the Plug-In, whether using IE4 or Netscape - and that's without any
"dummy"
>BeanInfo.classes.
>
>Don't know if this is any use to you, but I hope it helps.
>
>Best Regards,
>Tom Richards
>University of Bath, UK
>
>-----Original Message-----
>From: Daniel Selman [SMTP:[EMAIL PROTECTED]]
>Sent: Tuesday, May 11, 1999 1:52 AM
>To: Harley Blumenfeld; [EMAIL PROTECTED]
>Subject: RE: [java3d] BeanInfo ?????
>
>Harley,
>
>I also found this little gem in the Java Plugin FAQ:
>
>Q: When I try to use the AppletClassLoader with Java Plug-in 1.2 Software,
>it crashes with a null pointer exception in IE4, but works fine in
>Netscape.
>Why does this happen? Is there a way to make it work correctly in IE4?
>
>A: Java Plug-in 1.2 Software in IE4 tries to load
><YourAppletName>BeanInfo.class even if your applet is not a bean. There is
>a
>bug in JDK 1.2 in the AppletClassLoader that occurs when trying to load
>nonexistent classes. To prevent this problem, create an empty
><YourAppletName>BeanInfo.class.
>
>.. you do have to wonder how the hell this stuff gets out into the field,
>don't you?
>
>Scary!
>
>Daniel Selman
>Tornado Labs Ltd.
>
>Email: [EMAIL PROTECTED]
>Web: http://www.tornadolabs.com
>Phone: +44 (0131) 343 2513
>Fax: +44 07070 800 483
>
>
>
>-----Original Message-----
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED]]On Behalf Of Harley
>Blumenfeld
>Sent: 10 May 1999 17:53
>To: [EMAIL PROTECTED]
>Subject: [java3d] BeanInfo ?????
>
>
>Hello All,
>
> I have been pulling my hair out trying to use the Java Plug-in
>to show a Java3D applet. My applet works fine locally. However when
>I try to access it from a web server I publish to it crashes my
>browser. The plug in seems to crash when trying to load a class
>that doesn't exist. For some reason it keeps trying to load a class
>that has the same name as my main class with the suffix BeanInfo.
>
>So my class is BlindsApp.class. It keeps crashing trying to load
>BlindsAppBeanInfo.class. I am not even using JavaBeans.
>Are any of the Java3D classes intertwined (i.e. inhereted from, share
>interfaces with, any connection whatsoever) with JavaBean classes.
>
>Any ideas on what the problem is or should I just chalk it up to
>El-Nino?
>
>Thanks,
>Harley Blumenfeld
>
>
>_______________________________________________________________
>Get Free Email and Do More On The Web. Visit http://www.msn.com
>=====================================================================
>To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
>Java 3D Home Page: http://java.sun.com/products/java-media/3D/
>
>
>=====================================================================
>To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
>Java 3D Home Page: http://java.sun.com/products/java-media/3D/
>
>=====================================================================
>To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
>Java 3D Home Page: http://java.sun.com/products/java-media/3D/
_______________________________________________________________
Get Free Email and Do More On The Web. Visit http://www.msn.com
=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/
=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/