Buggy code:
public class StatusHandlingComponent implements TestBedComponent { private final class RemoveSelectionAdapter extends SelectionAdapter { public void widgetSelected ( SelectionEvent e ) { } } private class ContentProvider implements IStructuredContentProvider { public Object [ ] getElements ( Object inputElement ) { } public void dispose ( ) { } public void inputChanged ( Viewer viewer , Object oldInput , Object newInput ) { } } public static class DisplayedItem { public static final String STATUS = "status" ; private static final String HINT = "hint" ; private static final String SEVERITY = "severity" ; private static final String SOURCEPLUGIN = "sourceplugin" ; private static final String MESSAGE = "message" ; private static final String EXPLANATION = "explanation" ; private static final String ACTION = "action" ; private static final String WRAPPED = "wrapped" ; private int hint ; private boolean wrapped ; private String explanation = null ; private String action = null ; private IStatus status ; public DisplayedItem ( IStatus status , int hint , boolean wrapped , String explanation , String action ) { } public String toString ( ) { } public int getHint ( ) { } public IStatus getStatus ( ) { } public void saveState ( IMemento memento ) { } public static Object create ( IMemento memento ) { String source = memento . getString ( StatusHandlingComponent . DisplayedItem . SOURCEPLUGIN ) ; String message = memento . getString ( StatusHandlingComponent . DisplayedItem . MESSAGE ) ; int severity = memento . getInteger ( StatusHandlingComponent . DisplayedItem . SEVERITY ) . intValue ( ) ; int hint = memento . getInteger ( StatusHandlingComponent . DisplayedItem . HINT ) . intValue ( ) ; <START_BUG> boolean wrapped = Boolean . getBoolean ( memento . getString ( StatusHandlingComponent . DisplayedItem . WRAPPED ) ) ; <END_BUG> String explanation = memento . getString ( StatusHandlingComponent . DisplayedItem . EXPLANATION ) ; if ( ( explanation != null ) && ( ( explanation . length ( ) ) == 0 ) ) explanation = null ; String action = memento . getString ( StatusHandlingComponent . DisplayedItem . ACTION ) ; if ( ( action != null ) && ( ( action . length ( ) ) == 0 ) ) action = null ; Status status = new Status ( severity , source , message ) ; return new StatusHandlingComponent . DisplayedItem ( status , hint , wrapped , explanation , action ) ; } String getExplanation ( ) { } void setExplanation ( String explanation ) { } String getAction ( ) { } void setAction ( String action ) { } boolean isWrapped ( ) { } void setWrapped ( boolean wrapped ) { } } private List [ ] statusItems = new List [ ] { Collections . synchronizedList ( new ArrayList ( ) ) } ; private TableViewer statusTableViever ; private Combo statusSeverityField ; private Text statusPluginID ; private Button showStatusField ; private Button logStatusField ; private Button blockStatusField ; private Button wrappedStatusField ; private Text explanationField ; private Text actionField ; public Composite createComposite ( Composite parent ) { } public String getName ( ) { } public TestBedRunnable getTestBedRunnable ( ) { } public boolean accept ( TestBedRunnable runnable ) { } }

Fix:
boolean wrapped = new Boolean ( memento . getString ( StatusHandlingComponent . DisplayedItem . WRAPPED ) ) . booleanValue ( ) ;