jmol applet not working with icedtea6-plugin

Bug #291377 reported by Սահակ
4
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenJDK
Fix Released
Medium
openjdk-6 (Ubuntu)
Fix Released
Medium
Unassigned
Nominated for Lucid by Jan Groenewald
Hardy
Invalid
Medium
Unassigned
Intrepid
Invalid
Medium
Unassigned

Bug Description

The following jmol applet does not work.

http://jmol.sourceforge.net/demo/atoms/

here is the error message:

ICEDTEAPLUGIN_DEBUG = (null)
ICEDTEAPLUGIN_DEBUG = (null)
Initializing JVM...
NOT IMPLEMENTED: virtual nsresult IcedTeaPluginInstance::Start()
Jar string: JmolApplet0.jar
jars length: 1
JNLPRuntime already initialized
Jmol applet jmolApplet0__108849741967315__ initializing
language=en_US
urlImage=jar:file:/tmp/cache/http/jmol.sourceforge.net/jmol/JmolApplet0.jar!/jmol75x29x8.gif
AppletRegistry.checkIn(jmolApplet0__108849741967315__)
error preloading org.jmol.popup.JmolPopup: org.jmol.popup.JmolPopup
net.sourceforge.jnlp.runtime.JNLPClassLoader - 700 - loadClassExt
net.sourceforge.jnlp.runtime.JNLPClassLoader - 657 - loadClass
java.lang.ClassLoader - 336 - loadClassInternal
java.lang.Class - -2 - forName0
java.lang.Class - 186 - forName
org.jmol.appletwrapper.ClassPreloader - -1 - run
applet context: -applet
appletDocumentBase=http://jmol.sourceforge.net/demo/atoms/
appletCodeBase=http://jmol.sourceforge.net/jmol/
(C) 2008 Jmol Development
Jmol Version 11.6 2008-09-20 22:06
java.vendor:Sun Microsystems Inc.
java.version:1.6.0_0
os.name:Linux
memory:9.7/31.6
useCommandThread: false
appletId:jmolApplet0__108849741967315__
IcedTeaPlugin.cc:4214: Error: ToString
popup menu not available
Exception in thread "Thread-9" java.lang.NoClassDefFoundError: org/jmol/popup/JmolPopup
 at org.jmol.applet.Jmol.getPopupMenu(Unknown Source)
 at org.jmol.applet.Jmol.initApplication(Unknown Source)
 at org.jmol.applet.Jmol.init(Unknown Source)
 at org.jmol.appletwrapper.WrappedAppletLoader.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.jmol.popup.JmolPopup
 at net.sourceforge.jnlp.runtime.JNLPClassLoader.loadClassExt(JNLPClassLoader.java:700)
 at net.sourceforge.jnlp.runtime.JNLPClassLoader.loadClass(JNLPClassLoader.java:657)
 at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336)
 ... 4 more

Related branches

Revision history for this message
In , Matthias Klose (doko) wrote :

this is with r1154, although I don't see the class loading error mentioned in the bug report, but the applet loads, and the loading animation continues to count.

Revision history for this message
In , Mark J. Wielaard (3y9m2vcw-ll9d-fkzsxrqg) wrote :

Do you have a link to this applet?

Revision history for this message
In , Matthias Klose (doko) wrote :

sorry, forgot to copy from the orginal (linked ;) report:
http://jmol.sourceforge.net/demo/atoms/

Revision history for this message
In , Mark J. Wielaard (3y9m2vcw-ll9d-fkzsxrqg) wrote :

Confirmed against IcedTea Web Browser Plugin 1.4-r1166

Initializing JVM...
Detaching after fork from child process 21469.
NOT IMPLEMENTED: virtual nsresult IcedTeaPluginInstance::Start()
Jar string: JmolApplet0.jar
jars length: 1
JNLPRuntime already initialized
urlImage=jar:file:/home/mark/.icedteaplugin/cache/http/jmol.sourceforge.net/jmol/JmolApplet0.jar!/jmol75x29x8.gif
error preloading org.jmol.popup.JmolPopup: org.jmol.popup.JmolPopup
net.sourceforge.jnlp.runtime.JNLPClassLoader - 700 - loadClassExt
net.sourceforge.jnlp.runtime.JNLPClassLoader - 657 - loadClass
java.lang.ClassLoader - 336 - loadClassInternal
java.lang.Class - -2 - forName0
java.lang.Class - 186 - forName
org.jmol.appletwrapper.ClassPreloader - -1 - run
Jmol applet jmolApplet0__3249581883451766__ initializing
language=en_US
AppletRegistry.checkIn(jmolApplet0__3249581883451766__)
applet context: -applet
appletDocumentBase=http://jmol.sourceforge.net/demo/atoms/
appletCodeBase=http://jmol.sourceforge.net/jmol/
(C) 2008 Jmol Development
Jmol Version 11.6 2008-09-20 22:06
java.vendor:Sun Microsystems Inc.
java.version:1.6.0_0
os.name:Linux
memory:9.2/31.7
useCommandThread: false
appletId:jmolApplet0__3249581883451766__
IcedTeaPlugin.cc:4214: Error: ToString
popup menu not available
Exception in thread "Thread-10" java.lang.NoClassDefFoundError: org/jmol/popup/JmolPopup
 at org.jmol.applet.Jmol.getPopupMenu(Unknown Source)
 at org.jmol.applet.Jmol.initApplication(Unknown Source)
 at org.jmol.applet.Jmol.init(Unknown Source)
 at org.jmol.appletwrapper.WrappedAppletLoader.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.jmol.popup.JmolPopup
 at net.sourceforge.jnlp.runtime.JNLPClassLoader.loadClassExt(JNLPClassLoader.java:700)
 at net.sourceforge.jnlp.runtime.JNLPClassLoader.loadClass(JNLPClassLoader.java:657)
 at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336)
 ... 4 more

Revision history for this message
In , Mark J. Wielaard (3y9m2vcw-ll9d-fkzsxrqg) wrote :

Note that this applet is loaded through http://jmol.sourceforge.net/jmol/Jmol.js which is a big javascript library described at http://jmol.sourceforge.net/jslibrary/

Revision history for this message
In , Dbhole (dbhole) wrote :

Yeah, this is a known issue. I haven't tracked it down yet, but it is on my list. It is also reported on Red Hat bugzilla btw:

https://bugzilla.redhat.com/show_bug.cgi?id=453290

Matthias Klose (doko)
Changed in openjdk-6:
importance: Undecided → Medium
status: New → Triaged
Changed in openjdk:
status: Unknown → Confirmed
Revision history for this message
In , Dbhole (dbhole) wrote :

Fixed in tip (1180). Please try it now.

Changed in openjdk:
status: Confirmed → Fix Released
Matthias Klose (doko)
Changed in openjdk-6:
importance: Undecided → Medium
status: New → Triaged
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package openjdk-6 - 6b13~pre1-0ubuntu1

---------------
openjdk-6 (6b13~pre1-0ubuntu1) jaunty; urgency=low

  * New code drop (b13).
    - In the langtools area, besides a few miscellaneous bug fixes (6760834,
      6725036, 6657499), all the langtools regression tests now pass out of
      the box (6728697, 6707027) and if using the most recent version of
      jtreg, the langtools regression tests can be run in the much faster
      "same vm" mode of jtreg, enabled with the -s option (6749967, 6748541,
      6748546, 6748601, 6759775, 6759795, 6759796, 6759996, 6760805, 6760930).
    - Gervill update, including applying a patch from IcedTea (6758986,
      6748247, 6748251).
    - Publishing a few dozen additional existing regression tests as open
      source (6601457, 6759433, 6740185).
    - JMX and monitoring fixes (6651382, 6616825, 6756202, 6754672).
    - Man page updates (6757036, 6392810, 6504867, 6326773).
    - Assorted other fixes (6746055, 6621697, 6756569, 6356642, 6761678).
  * Update IcedTea build infrastructure (20081111).
    - Fix freeze in midi app, LP: #275672.
    - Fixes in the IcedTeaPlugin: LP: #282570, LP: #282570, LP: #285729,
      LP: #291377, LP: #37330, LP: #239533.
    - Fix vertical text metrics with freetype scaler. LP: #289784.
  * Build-depend on ecj-gcj instead of ecj on architectures using
    gij/gcj as the bootstrap system.

 -- Matthias Klose <email address hidden> Tue, 11 Nov 2008 12:39:16 +0100

Changed in openjdk-6:
status: Triaged → Fix Released
Revision history for this message
Սահակ (petrosyan) wrote :

I can confirm that this bug has been fixed openjdk-6 (6b14-0ubuntu16) in Ubuntu 9.04

Revision history for this message
Alex Valavanis (valavanisalex) wrote :

Intrepid Ibex reached end-of-life on 30 April 2010 so I am closing the report. The bug has been fixed in newer releases of Ubuntu.

Changed in openjdk-6 (Ubuntu Intrepid):
status: Triaged → Invalid
Changed in openjdk:
importance: Unknown → Medium
Սահակ (petrosyan)
Changed in openjdk-6 (Ubuntu Hardy):
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.