Bug 26101 - NullPointerException in javax.swing.DefaultListCellRenderer.getListCellRendererComponent
Summary: NullPointerException in javax.swing.DefaultListCellRenderer.getListCellRender...
Status: RESOLVED FIXED
Alias: None
Product: classpath
Classification: Unclassified
Component: swing (show other bugs)
Version: 0.20
: P3 normal
Target Milestone: 0.90
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-05 09:56 UTC by Egon Willighagen
Modified: 2006-02-05 21:51 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
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 Egon Willighagen 2006-02-05 09:56:34 UTC
Hi all, just wanted to report it here too, as I believe it's really a Classpath bug: it occurs with Cacao and JamVM.

http://b2.complang.tuwien.ac.at/cgi-bin/bugzilla/show_bug.cgi?id=16

Some snippet from that report:

uncaught exception: java.lang.NullPointerException
java.lang.NullPointerException
   at javax.swing.DefaultListCellRenderer.getListCellRendererComponent
(DefaultListCellRenderer.java:96)

Details in the original bug report.
Comment 1 cvs-commit@developer.classpath.org 2006-02-05 21:26:26 UTC
Subject: Bug 26101

CVSROOT:	/cvsroot/classpath
Module name:	classpath
Branch: 	
Changes by:	Mark Wielaard <mark@savannah.gnu.org>	06/02/05 21:25:55

Modified files:
	.              : ChangeLog 
	javax/swing    : DefaultListCellRenderer.java 

Log message:
	Fixes bug #26101
	reported by Egon Willighagen <egon.willighagen@gmail.com>
	* javax/swing/DefaultListCellRenderer.java
	(getListCellRendererComponent): Turn null value into empty string.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.6266&tr2=1.6267&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/swing/DefaultListCellRenderer.java.diff?tr1=1.11&tr2=1.12&r1=text&r2=text



Comment 2 Mark Wielaard 2006-02-05 21:43:26 UTC
Fix checked in.