Buggy code:
public class CustomClickableInfoCellWithImageResource extends AbstractCell < RichGroup > { private static ImageResourceAltRenderer renderer ; private Set < String > consumedEvents ; public CustomClickableInfoCellWithImageResource ( String ... consumedEvents ) { } @ Override public void render ( Context context , RichGroup value , SafeHtmlBuilder sb ) { if ( value != null ) { ImageResource resource = INSTANCE . bulletWhiteIcon ( ) ; if ( value . isSyncEnabled ( ) ) { <START_BUG> if ( value . getLastSynchronizationState ( ) . equals ( "OK" ) ) { <END_BUG> resource = INSTANCE . bulletGreenIcon ( ) ; if ( ( ( value . getAuthoritativeGroup ( ) ) != null ) && ( value . getAuthoritativeGroup ( ) . equals ( "1" ) ) ) { sb . append ( CustomClickableInfoCellWithImageResource . renderer . render ( resource , "Synchronized<seq2seq4repair_space>-<seq2seq4repair_space>OK<seq2seq4repair_space>//<seq2seq4repair_space>Authoritative<seq2seq4repair_space>sync" ) ) ; sb . append ( CustomClickableInfoCellWithImageResource . renderer . render ( INSTANCE . bulletStarIcon ( ) , "Synchronized<seq2seq4repair_space>-<seq2seq4repair_space>OK<seq2seq4repair_space>//<seq2seq4repair_space>Authoritative<seq2seq4repair_space>sync" ) ) ; } else { sb . append ( CustomClickableInfoCellWithImageResource . renderer . render ( resource , "Synchronized<seq2seq4repair_space>-<seq2seq4repair_space>OK" ) ) ; } } else { resource = INSTANCE . bulletRedIcon ( ) ; if ( ( ( value . getAuthoritativeGroup ( ) ) != null ) && ( value . getAuthoritativeGroup ( ) . equals ( "1" ) ) ) { sb . append ( CustomClickableInfoCellWithImageResource . renderer . render ( resource , "Synchronized<seq2seq4repair_space>-<seq2seq4repair_space>Error<seq2seq4repair_space>//<seq2seq4repair_space>Authoritative<seq2seq4repair_space>sync" ) ) ; sb . append ( CustomClickableInfoCellWithImageResource . renderer . render ( INSTANCE . bulletStarIcon ( ) , "Synchronized<seq2seq4repair_space>-<seq2seq4repair_space>Error<seq2seq4repair_space>//<seq2seq4repair_space>Authoritative<seq2seq4repair_space>sync" ) ) ; } else { sb . append ( CustomClickableInfoCellWithImageResource . renderer . render ( resource , "Synchronized<seq2seq4repair_space>-<seq2seq4repair_space>Error" ) ) ; } } } else { if ( ( ( value . getAuthoritativeGroup ( ) ) != null ) && ( value . getAuthoritativeGroup ( ) . equals ( "1" ) ) ) { sb . append ( CustomClickableInfoCellWithImageResource . renderer . render ( resource , "Not<seq2seq4repair_space>synchronized<seq2seq4repair_space>//<seq2seq4repair_space>Authoritative<seq2seq4repair_space>sync" ) ) ; } else { sb . append ( CustomClickableInfoCellWithImageResource . renderer . render ( resource , "Not<seq2seq4repair_space>synchronized" ) ) ; } } } } public Set < String > getConsumedEvents ( ) { } @ Override public boolean isEditing ( com . google . gwt . cell . client . Cell . Context context , Element parent , RichGroup value ) { } @ Override public boolean handlesSelection ( ) { } @ Override public boolean dependsOnSelection ( ) { } @ Override public void onBrowserEvent ( Context context , Element parent , RichGroup value , NativeEvent event , ValueUpdater < RichGroup > valueUpdater ) { } No newline ; at end ; of file ; }

Fix:
if ( ( ( value . getLastSynchronizationState ( ) ) != null ) && ( value . getLastSynchronizationState ( ) . equals ( "OK" ) ) ) {