Skip to content

Commit

Permalink
fix possible NPE in LabelingEditor
Browse files Browse the repository at this point in the history
  • Loading branch information
dietzc committed Nov 2, 2015
1 parent fad9e35 commit d800ec0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ protected LabelingCell compute(final LabelingValue<?> cellValue1, final ImgPlusV
// Get the tracker of the current row
final LabelingEditorChangeTracker currentTrack = map.get(k);

if (!currentTrack.isDirty())
if (currentTrack== null || !currentTrack.isDirty())
return (LabelingCell) cellValue1;

RandomAccessibleInterval<LabelingType<String>> src = null;
Expand Down

0 comments on commit d800ec0

Please sign in to comment.