Bug 34620 - JTree.removeDescendantSelectedPaths() null pointer exception
Summary: JTree.removeDescendantSelectedPaths() null pointer exception
Status: UNCONFIRMED
Alias: None
Product: classpath
Classification: Unclassified
Component: swing (show other bugs)
Version: unspecified
: P3 critical
Target Milestone: ---
Assignee: Roman Kennke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-30 03:48 UTC by Kenji Saito
Modified: 2007-12-30 03:48 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build: libgcj 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kenji Saito 2007-12-30 03:48:25 UTC
I have tried starting wija, an XMPP messaging client, with libgcj7-1-awt on Ubuntu 7.10.
How to reproduce:

1) Download wija-change1363.zip from http://www2.media-art-online.org/nightly/
2) Unzip the file, and remove from "plugins" directory the following two files:
  * org.media_art_online.circ.Circ.jar
  * org.media_art_online.circ.Circ.jar.sig
  as they would cause another problem on a MIDI device.
3) start wija by the command: java -jar wija.jar
4) Ignore all setting up, and log in using an existing Jabber ID.
  This would generate the following exception:

Exception in thread "Thread-48" java.lang.NullPointerException    at javax.swing.JTree.removeDescendantSelectedPaths(JTree.java:3085)    at javax.swing.JTree$TreeModelHandler.treeStructureChanged(JTree.java:1299)    at javax.swing.tree.DefaultTreeModel.fireTreeStructureChanged(DefaultTreeModel.java:606)    at javax.swing.tree.DefaultTreeModel.nodeStructureChanged(DefaultTreeModel.java:455)    at org.media_art_online.wija.WijaUI.updateRoster(WijaUI.java:1563)    at org.media_art_online.wija.WijaUI.setPresence(WijaUI.java:777)    at org.media_art_online.wija.WijaUI.showRoster(WijaUI.java:1236)    at org.media_art_online.jabber.Jabber.run(Jabber.java:650)   

If you try logging in with a jabber.org ID, do not specify SSL (there is a problem with the certificate).
If you use Gmail/Google Talk ID, specify gmail.com as the domain, and do specify SSL (although this might cause another problem).