[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-classpath] [Bug swing/23252] New: JTree.setModel(null) causes chain
From: |
WBaer at gmx dot de |
Subject: |
[bug-classpath] [Bug swing/23252] New: JTree.setModel(null) causes chain of NullPointerExceptions |
Date: |
5 Aug 2005 20:18:55 -0000 |
Hi,
If JTree.setModel(null) a NPE happens, I fixed this, afterwards
in BasicTreeUI.getPreferedSize() a NPE happend, I fixed this,
afterwards BasicTreeUI.paint() throws NPE - there I have not
the knowledge to fix it anymore.
I attach the diffs for JTree.setModel() and BasicTreeUI.getPreferedSize().
You can observe it with the Beanshell Console. Just start the console
right-click in the background and choose new Class Browser. You have to
ignore the other failures during startup up to this point :-)
Wolfgang
classpath cvs 05/08/2005 with jamvm
--
Summary: JTree.setModel(null) causes chain of
NullPointerExceptions
Product: classpath
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: swing
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: WBaer at gmx dot de
CC: bug-classpath at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23252
- [bug-classpath] [Bug swing/23252] New: JTree.setModel(null) causes chain of NullPointerExceptions,
WBaer at gmx dot de <=