#517 Crash in JmolApplet with NullPointerException

Applet (71)

Expected Behaviour:
Open (e.g.) http://jmol.sourceforge.net/demo/trace/ in a tab, create a new tab and (again) go to http://jmol.sourceforge.net/demo/trace/ in the new tab. Switching between each tab shows a running Jmol applet in each.

Buggy Behaviour:
Same instructions as above. Only the applet in the newest tab works, the older tab has an applet that is black background, no molecule display and the word Jmol in the lower-left of the applet.

A dump of the console is attached including a backtrace showing the NullPointerException.

Relevant software:
*Jmol 12.2.7
*Firefox (Iceweasel) 8.0
*IcedTea Web plugin 1.1.4
*OpenJDK 6b23~pre11


  • Comment has been marked as spam. 

    You can see all pending comments posted by this user  here

    Anonymous - 2011-12-01
  • Bob Hanson

    Bob Hanson - 2011-12-01
    • status: open --> closed-invalid
  • Bob Hanson

    Bob Hanson - 2011-12-01

    This is not a Jmol problem, it's a browser bug. I'm seeing the expected behavior in Firefox 8/Windows 7 at that site. Please report it to Iceweasel support. Looks like you have a good case and good example. They should be able to find the problem relatively quickly.

    From that error trace it's pretty clear that the browser sent an applet.destroy() call to the first applet (which later triggered an exception in the Jmol g3d package, because the renderer had a null platform field). I'm guessing it happened when the second tab was opened and the first page became hidden. Please pass that on to them.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks