Skip to content

Commit

Permalink
fix NullPointerException
Browse files Browse the repository at this point in the history
  • Loading branch information
OnkelDok authored and buchen committed Jan 15, 2025
1 parent 53ba36e commit aea6e08
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@ protected void paint(Event event, Object element)
if (!isSelected)
fillBackground(event, element, tableItem);

if (element == null)
return;

Long value = getValue(element);
if (value == null)
return;
Expand Down

0 comments on commit aea6e08

Please sign in to comment.