Re: Applet runs fine Pre IE 7 Now errors



baillie wrote:

We have an applet that has been working fine for years. Now we have
tried it on IE 7 and get the following errors in the Java Console:
....
java.lang.NullPointerException
....
We end up with an icon of a page of paper with a red x on it.

I'm stumped. My inexperience here is hanging out like a sore thumb.
Sorry about that. I know what a NULL pointer is (I've had experience
with those puppies). I just don't know where to start with this.
Going by the error messages above, it appears that the problem is in
actual Sun Java code?

Microsoft would probably like you to think that.

...What's changed in the way IE handles Sun Java
that suddenly breaks this applet?

There has been a major change in the way IE interacts with
applets because of some patent. The end result is that the
user needs to click on the applet before it is active.

I suspect this is the source of your NPE.

Any suggestions will be very much appreciated.

1) Give us an URL to the web-page where other IE7 users can
test the effect.
2) Prepare an SSCCE That displays the same problem.
<http://www.physci.org/codes/sscce/>

Andrew T.

.



Relevant Pages

  • Re: Check out my Java applet
    ... > Do you mean the Java console? ... The 'applet' is not throwing exceptions ... Nice you have a link to the validator direct ... The internet is wild all right.. ...
    (comp.lang.java.programmer)
  • Re: JVM and shared libraries
    ... You can try to open the java console (option somewhere in the browser's ... so the stack trace could be printed. ... > On windows, sanej.dll is in jre/bin, and sane.dll is on the system PATH ... > When I run the applet as an application (calling the constructor, init, ...
    (comp.lang.java.programmer)
  • Re: newbie RMI User
    ... > Naming.lookup method the applet did run within my browser. ... > buttons which when pressed called the remote server. ... RMI guru (or at least somebody more exp. ... You know about the Java console? ...
    (comp.lang.java.programmer)
  • Re: newbie RMI User
    ... The applet is not on the internet yet - I am not yet sure how I am going to ... The message in the Java Console was: ... The first few lines of the stack trace were: ... that the client is not finding the Class files in the Server application. ...
    (comp.lang.java.programmer)
  • Re: Why does an applet not initialize sometimes?
    ... >> What is the output of the Java Console? ... >> commercial sites that an applet sometimes will not reload properly. ... That is a Delphi 7 program with a TWebBrowser control that loads ... TWebBrowser control, signs could be pointing to that being the problem ...
    (comp.lang.java)