Buggy code:
public class ColumnFamily implements IColumnContainer , IIterableColumns { private static Logger logger = LoggerFactory . getLogger ( ColumnFamily . class ) ; private static ColumnFamilySerializer serializer = new ColumnFamilySerializer ( ) ; public static ColumnFamilySerializer serializer ( ) { } public static ColumnFamily create ( Integer cfId ) { } public static ColumnFamily create ( String tableName , String cfName ) { } public static ColumnFamily create ( CFMetaData cfm ) { } private final Integer cfid ; private final ColumnFamilyType type ; private transient ICompactSerializer2 < IColumn > columnSerializer ; final AtomicLong markedForDeleteAt = new AtomicLong ( Long . MIN_VALUE ) ; final AtomicInteger localDeletionTime = new AtomicInteger ( Integer . MIN_VALUE ) ; private ConcurrentSkipListMap < ByteBuffer , IColumn > columns ; public ColumnFamily ( ColumnFamilyType type , AbstractType comparator , AbstractType subcolumnComparator , Integer cfid ) { } public ColumnFamily cloneMeShallow ( ) { } public AbstractType getSubComparator ( ) { } public ColumnFamilyType getColumnFamilyType ( ) { } public ColumnFamily cloneMe ( ) { } public Integer id ( ) { } public CFMetaData metadata ( ) { } public void addAll ( ColumnFamily cf ) { } public ICompactSerializer2 < IColumn > getColumnSerializer ( ) { } int getColumnCount ( ) { } public boolean isSuper ( ) { } public void addColumn ( QueryPath path , ByteBuffer value , long timestamp ) { } public void addColumn ( QueryPath path , ByteBuffer value , long timestamp , int timeToLive ) { } public void addTombstone ( QueryPath path , ByteBuffer localDeletionTime , long timestamp ) { } public void addTombstone ( QueryPath path , int localDeletionTime , long timestamp ) { } public void addTombstone ( ByteBuffer name , int localDeletionTime , long timestamp ) { } public void addColumn ( ByteBuffer superColumnName , Column column ) { } public void clear ( ) { } public void addColumn ( IColumn column ) { } public IColumn getColumn ( ByteBuffer name ) { } public SortedSet < ByteBuffer > getColumnNames ( ) { } public Collection < IColumn > getSortedColumns ( ) { } public Collection < IColumn > getReverseSortedColumns ( ) { } public Map < ByteBuffer , IColumn > getColumnsMap ( ) { } public void remove ( ByteBuffer columnName ) { } @ Deprecated public void delete ( int localtime , long timestamp ) { } public void delete ( ColumnFamily cf2 ) { } public boolean isMarkedForDelete ( ) { } public ColumnFamily diff ( ColumnFamily cfComposite ) { } public AbstractType getComparator ( ) { } int size ( ) { } public int hashCode ( ) { } public boolean equals ( Object o ) { } public String toString ( ) { StringBuilder sb = new StringBuilder ( "ColumnFamily(" ) ; CFMetaData cfm = metadata ( ) ; <START_BUG> sb . append ( ( cfm == null ? "-deleted-" : cfm . cfName ) ) ; <END_BUG> if ( isMarkedForDelete ( ) ) sb . append ( ( ( "<seq2seq4repair_space>-deleted<seq2seq4repair_space>at<seq2seq4repair_space>" + ( getMarkedForDeleteAt ( ) ) ) + "-" ) ) ; sb . append ( "<seq2seq4repair_space>[" ) . append ( getComparator ( ) . getColumnsString ( getSortedColumns ( ) ) ) . append ( "])" ) ; return sb . toString ( ) ; } public static ByteBuffer digest ( ColumnFamily cf ) { } public void updateDigest ( MessageDigest digest ) { } public long getMarkedForDeleteAt ( ) { } public int getLocalDeletionTime ( ) { } public static AbstractType getComparatorFor ( String table , String columnFamilyName , ByteBuffer superColumnName ) { } public static ColumnFamily diff ( ColumnFamily cf1 , ColumnFamily cf2 ) { } public static ColumnFamily resolve ( ColumnFamily cf1 , ColumnFamily cf2 ) { } public void resolve ( ColumnFamily cf ) { } public int getEstimatedColumnCount ( ) { } public Iterator < IColumn > iterator ( ) { } }

Fix:
sb . append ( ( cfm == null ? "<anonymous>" : cfm . cfName ) ) ;