[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug swing/24077] New: Cannot create JFileChooser due to NPE (getFontMet
From: |
hendrich at informatik dot uni-hamburg dot de |
Subject: |
[Bug swing/24077] New: Cannot create JFileChooser due to NPE (getFontMetrics) |
Date: |
27 Sep 2005 08:45:17 -0000 |
Swing is almost completely broken at the moment (due to changes introduced
by the recent repaint refactoring). There are NPEs all over the place.
Here is my favorite, stacktrace from jamvm 1.3.2 and Classpath CVS 2005.09.29
on x86 linux:
jamvm niffler.JImageViewer ~/.niffler
java.lang.NullPointerException
at gnu.java.awt.peer.gtk.GdkFontMetrics.<init> (GdkFontMetrics.java:69)
at gnu.java.awt.peer.gtk.GtkToolkit.getFontMetrics (GtkToolkit.java:355)
at javax.swing.plaf.basic.BasicComboBoxRenderer.getListCellRendererComponent
(BasicComboBoxRenderer.java:109)
at javax.swing.plaf.basic.BasicComboBoxUI.getDisplaySize (BasicComboBoxUI.jav
a:849)
at javax.swing.plaf.basic.BasicComboBoxUI$ListDataHandler.intervalAdded (Basi
cComboBoxUI.java:1083)
at javax.swing.AbstractListModel.fireIntervalAdded (AbstractListModel.java:12
9)
at javax.swing.DefaultComboBoxModel.addElement (DefaultComboBoxModel.java:124
)
at javax.swing.JComboBox.addItem (JComboBox.java:598)
at javax.swing.plaf.basic.BasicFileChooserUI.boxEntries (BasicFileChooserUI.j
ava:1093)
at javax.swing.plaf.basic.BasicFileChooserUI.installComponents (BasicFileChoo
serUI.java:1174)
at javax.swing.plaf.basic.BasicFileChooserUI.installUI (BasicFileChooserUI.ja
va:1044)
at javax.swing.JComponent.setUI (JComponent.java:2368)
at javax.swing.JFileChooser.updateUI (JFileChooser.java:1158)
at javax.swing.JFileChooser.setup (JFileChooser.java:314)
at javax.swing.JFileChooser.<init> (JFileChooser.java:241)
at niffler.JImageViewer.checkCreateFileChooser (JImageViewer.java:2289)
--
Summary: Cannot create JFileChooser due to NPE (getFontMetrics)
Product: classpath
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: swing
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hendrich at informatik dot uni-hamburg dot de
CC: bug-classpath at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24077
- [Bug swing/24077] New: Cannot create JFileChooser due to NPE (getFontMetrics),
hendrich at informatik dot uni-hamburg dot de <=
- [Bug swing/24077] Cannot create JFileChooser due to NPE (getFontMetrics), fitzsim at redhat dot com, 2005/09/27
- [Bug swing/24077] Cannot create JFileChooser due to NPE (getFontMetrics), langel at redhat dot com, 2005/09/27
- [Bug swing/24077] Cannot create JFileChooser due to NPE (getFontMetrics), langel at redhat dot com, 2005/09/27
- [Bug swing/24077] Cannot create JFileChooser due to NPE (getFontMetrics), langel at redhat dot com, 2005/09/27
- [Bug swing/24077] Cannot create JFileChooser due to NPE (getFontMetrics), langel at redhat dot com, 2005/09/28
- [Bug swing/24077] Cannot create JFileChooser due to NPE (getFontMetrics), cvs-commit at developer dot classpath dot org, 2005/09/28