Bug#387302: classpath-qtpeer: Qt peers fail to run Jmol
Egon Willighagen
ewilligh at uni-koeln.de
Wed Sep 13 14:24:04 UTC 2006
Package: classpath
Version: 2:0.92-2
Severity: normal
See also the Classpath wiki. I justed the Jmol version from SVN
branches/v10_9, compiled with 'ant jar' using the build.xml.
I ran Jmol with:
java -Dawt.toolkit=gnu.java.awt.peer.qt.QtToolkit -jar Jmol.jar
$ java -version:
java version "1.4.2"
CACAO version 0.96
...
During the splashscreen I get a lot of:
QFont: It is not safe to use text and fonts outside the gui thread
But that seems harmless. However, after the following stacktrace it hangs:
setting color scheme to:jmol
uncaught exception: java.lang.UnsupportedOperationException
java.lang.UnsupportedOperationException
at gnu.java.awt.peer.qt.QtFontPeer.getLineMetrics(QtFontPeer.java:188)
at java.awt.Font.getLineMetrics(Font.java:967)
at java.awt.Font.getLineMetrics(Font.java:1361)
at java.awt.font.TextLayout.<init>(TextLayout.java:103)
at
javax.swing.plaf.basic.BasicButtonListener.propertyChange(BasicButtonListener.java:87)
at
java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:388)
at
java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:332)
at java.awt.Component.firePropertyChange(Component.java:4916)
at javax.swing.AbstractButton.setText(AbstractButton.java:1616)
at javax.swing.AbstractButton.init(AbstractButton.java:926)
at javax.swing.JToggleButton.<init>(JToggleButton.java:294)
at javax.swing.JCheckBox.<init>(JCheckBox.java:135)
at javax.swing.JCheckBox.<init>(JCheckBox.java:125)
at org.openscience.jmol.app.GuiMap$KeyJCheckBox.<init>(GuiMap.java:328)
at org.openscience.jmol.app.GuiMap.newJCheckBox(GuiMap.java:215)
at
org.openscience.jmol.app.PreferencesDialog.buildDispPanel(PreferencesDialog.java:194)
at
org.openscience.jmol.app.PreferencesDialog.<init>(PreferencesDialog.java:142)
at org.openscience.jmol.app.Jmol.<init>(Jmol.java:180)
at org.openscience.jmol.app.Jmol.getJmol(Jmol.java:344)
at org.openscience.jmol.app.Jmol.main(Jmol.java:433)
Without setting the awt.toolkit is boots normally.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-26-386
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages classpath depends on:
ii classpath-common 2:0.92-2 clean room standard Java
libraries
ii classpath-gtkpeer 2:0.92-2 clean room standard Java
libraries
ii libasound2 1.0.12-1 ALSA library
ii libc6 2.3.6.ds1-4 GNU C Library: Shared libraries
ii libgcj-common 1:4.1.1-13 Java runtime library (common
files
ii libjack0.100.0-0 0.101.1-1 JACK Audio Connection Kit
(librari
ii cacao 0.96-2 Java virtual machine
classpath recommends no packages.
-- no debconf information
More information about the pkg-java-maintainers
mailing list