Buggy code:
public class ResponseVS < T > implements Parcelable { private static final long serialVersionUID = 1L ; public static final String TAG = ResponseVS . class . getSimpleName ( ) ; public static final int SC_OK = 200 ; public static final int SC_OK_WITHOUT_BODY = 204 ; public static final int SC_OK_CANCEL_ACCESS_REQUEST = 270 ; public static final int SC_REQUEST_TIMEOUT = 408 ; public static final int SC_ERROR_REQUEST = 400 ; public static final int SC_NOT_FOUND = 404 ; public static final int SC_ERROR_REQUEST_REPEATED = 409 ; public static final int SC_EXCEPTION = 490 ; public static final int SC_NULL_REQUEST = 472 ; public static final int SC_ERROR = 500 ; public static final int SC_CONNECTION_TIMEOUT = 522 ; public static final int SC_ERROR_TIMESTAMP = 570 ; public static final int SC_PROCESSING = 700 ; public static final int SC_TERMINATED = 710 ; public static final int SC_WS_CONNECTION_INIT_OK = 800 ; public static final int SC_WS_MESSAGE_SEND_OK = 801 ; public static final int SC_WS_MESSAGE_ENCRYPTED = 810 ; public static final int SC_WS_CONNECTION_INIT_ERROR = 840 ; public static final int SC_WS_CONNECTION_NOT_FOUND = 841 ; public static final int SC_CANCELED = 0 ; public static final int SC_INITIALIZED = 1 ; public static final int SC_PAUSED = 10 ; private int statusCode ; private OperationDto operation ; private String caption ; private String notificationMessage ; private String message ; private String serviceCaller ; private T data ; private TypeVS typeVS ; private CMSSignedMessage cmsMessage ; private byte [ ] cmsPEMMessageBytes ; private ContentType contentType = ContentType . TEXT ; private byte [ ] messageBytes ; private Uri uri ; public ResponseVS ( ) { } public ResponseVS ( Parcel source ) { } public ResponseVS ( int statusCode , String serviceCaller , String caption , String message , TypeVS typeVS ) { } public ResponseVS ( int statusCode , String serviceCaller , String caption , String message , TypeVS typeVS , CMSSignedMessage cmsMessage ) { } public ResponseVS ( int statusCode , TypeVS typeVS ) { } public ResponseVS ( int statusCode , String message , byte [ ] messageBytes ) { } public ResponseVS ( int statusCode , CMSSignedMessage cmsMessage ) { } public ResponseVS ( int statusCode , String message ) { } public ResponseVS ( int statusCode , String message , ContentType contentType ) { } public ResponseVS ( int statusCode , byte [ ] messageBytes ) { } public ResponseVS ( int statusCode , byte [ ] messageBytes , ContentType contentType ) { } public ResponseVS ( int statusCode ) { } public ResponseVS ( TypeVS typeVS , T data ) { } public static ResponseVS getResponse ( Integer statusCode , String serviceCaller , String caption , String notificationMessage , TypeVS typeVS ) { } public static ResponseVS EXCEPTION ( String caption , String message ) { } public static ResponseVS EXCEPTION ( Exception ex , Context context ) { } public static ResponseVS ERROR ( String caption , String message ) { } public static ResponseVS OK ( ) { } public String getMessage ( ) { } public < S > S getMessage ( Class < S > type ) throws Exception { } public < T > T getMessage ( TypeReference < T > type ) throws Exception { } public ResponseVS setMessage ( String message ) { } public int getStatusCode ( ) { } public ResponseVS setStatusCode ( int statusCode ) { } public TypeVS getTypeVS ( ) { } public ResponseVS setTypeVS ( TypeVS typeVS ) { } public T getData ( ) { } public ResponseVS setData ( T data ) { } public byte [ ] getMessageBytes ( ) { } public ResponseVS setMessageBytes ( byte [ ] messageBytes ) { } public CMSSignedMessage getCMS ( ) { } public void setCMS ( CMSSignedMessage cmsMessage ) { } public ContentType getContentType ( ) { } public void setContentType ( ContentType contentType ) { } public String getCaption ( ) { if ( ( ( caption ) == null ) && ( ( operation ) != null ) ) <START_BUG> return operation . getSignedMessageSubject ( ) ; <END_BUG> else return caption ; } public ResponseVS setCaption ( String caption ) { } public String getServiceCaller ( ) { } public ResponseVS setServiceCaller ( String serviceCaller ) { } public Uri getUri ( ) { } public void setUri ( Uri uri ) { } public String getLogStr ( ) { } public static final Creator < ResponseVS > CREATOR ; @ Override public int describeContents ( ) { } @ Override public void writeToParcel ( Parcel parcel , int flags ) { } public String getNotificationMessage ( ) { } public ResponseVS setNotificationMessage ( String notificationMessage ) { } public OperationDto getOperation ( ) { } public void setOperation ( OperationDto operation ) { } @ Override public String toString ( ) { } No newline ; at end ; of file ; }

Fix:
return operation . getSubject ( ) ;