Skip to content

Commit

Permalink
merge from 2.0.x - fix the IAE when valueClass is null, in some stran…
Browse files Browse the repository at this point in the history
…ge cases

git-svn-id: https://svn.apache.org/repos/asf/pivot/trunk@1428503 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Sandro Martini committed Jan 3, 2013
1 parent 0c53ccb commit 9711dc7
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -324,6 +324,7 @@ public void render(Object row, int rowIndex, int columnIndex,
TableView.CellRenderer cellRenderer = null;
Class<?> valueClass = (cellData == null ? null : cellData.getClass());
while (cellRenderer == null
&& valueClass != null
&& valueClass != Object.class) {
cellRenderer = cellRenderers.get(valueClass);

Expand Down

0 comments on commit 9711dc7

Please sign in to comment.