Kaffe HPUX setup problem
Neumann, Matthew C
Matthew.Neumann at SW.Boeing.com
Thu Feb 17 10:54:30 PST 2000
Hi, all!
I'm new to the Java world, just started a class this winter. Apologies if
this is not the right list to be asking about this.
I've had some problems getting kaffe running on my HPUX box at work.
Console-based programs run fine, a la HelloWorld, but when I try something
in swing like (it's line 30 of my program, as1, BTW):
courseName = JOptionPane.showInputDialog("Please enter Course Name");
it crashes hideously, with this output:
ewsh08:.m/kaffe> bin/java -addclasspath $PWD as1
java.lang.IllegalMonitorStateException
at javax.swing.UIDefaults.get(UIDefaults.java:146)
at javax.swing.MultiUIDefaults.get(MultiUIDefaults.java:50)
at javax.swing.UIDefaults.getIcon(UIDefaults.java:234)
at javax.swing.UIManager.getIcon(UIManager.java:478)
at
javax.swing.plaf.basic.BasicOptionPaneUI.getIconForType(BasicOptionPaneUI.ja
va:474)
at
javax.swing.plaf.basic.BasicOptionPaneUI.getIcon(BasicOptionPaneUI.java:456)
at
javax.swing.plaf.basic.BasicOptionPaneUI.addIcon(BasicOptionPaneUI.java:437)
at
javax.swing.plaf.basic.BasicOptionPaneUI.createMessageArea(BasicOptionPaneUI
.java:274)
at
javax.swing.plaf.basic.BasicOptionPaneUI.installComponents(BasicOptionPaneUI
.java:127)
at
javax.swing.plaf.basic.BasicOptionPaneUI.installUI(BasicOptionPaneUI.java:95
)
at javax.swing.JComponent.setUI(JComponent.java:258)
at javax.swing.JOptionPane.setUI(JOptionPane.java:1296)
at javax.swing.JOptionPane.updateUI(JOptionPane.java:1318)
at javax.swing.JOptionPane.<init>(JOptionPane.java:1281)
at javax.swing.JOptionPane.showInputDialog(JOptionPane.java:427)
at javax.swing.JOptionPane.showInputDialog(JOptionPane.java:396)
at javax.swing.JOptionPane.showInputDialog(JOptionPane.java:379)
at javax.swing.JOptionPane.showInputDialog(JOptionPane.java:367)
at as1.main(as1.java:30)
Dumping live threads:
`AWT-EventQueue-0' tid 4037d010, status SUSPENDED flags
blocked at 40362910 (4037d010->|)
`gc' tid 4015a010, status SUSPENDED flags
blocked at 40130da0 (4015a010->|)
`finaliser' tid 40151010, status SUSPENDED flags
blocked at 40130d80 (40151010->|)
Deadlock: all threads blocked on internal events
Abort(coredump)
I'm afraid I can't read the sun docs well enough to figure out what
UIDefaults.get is trying to do.
Anyone out there have any advice?
--- Matt ---
More information about the kaffe
mailing list