Buggy code:
public static final String PRODUCT_VERSION = "product-version" ; public static final String PROFILE = "profile" ; public static final String READ_ATTRIBUTE = "read-attribute" ; public static final String READ_CHILDREN_NAMES = "read-children-names" ; public static final String READ_CHILDREN_RESOURCES = "read-children-resources" ; public static final String READ_CHILDREN_TYPES = "read-children-types" ; public static final String READ_ONLY = "read-only" ; public static final String READ_OPERATION_DESCRIPTION = "read-operation-description" ; public static final String READ_OPERATION_NAMES = "read-operation-names" ; public static final String READ_WRITE = "read-write" ; public static final String READ_RESOURCE = "read-resource" ; public static final String READ_RESOURCE_DESCRIPTION = "read-resource-description" ; public static final String REDEPLOY = "redeploy" ; public static final String REGULAR_EXPRESSION = "regular-expression" ; public static final String RELEASE_CODENAME = "release-codename" ; public static final String RELEASE_VERSION = "release-version" ; public static final String REMOVE = "remove" ; public static final String REPLY_PROPERTIES = "reply-properties" ; public static final String REQUEST_PROPERTIES = "request-properties" ; public static final String REQUIRED = "required" ; public static final String RESPONSE_HEADERS = "response-headers" ; public static final String RESTART_REQUIRED = "restart-required" ; public static final String RESULT = "result" ; public static final String ROLLED_BACK = "rolled-back" ; public static final String ROLLBACK_ACROSS_GROUPS = "rollback-across-groups" ; public static final String ROLLBACK_FAILURE_DESCRIPTION = "rollback-failure-description" ; public static final String ROLLBACK_ON_RUNTIME_FAILURE = "rollback-on-runtime-failure" ; public static final String ROLLING_TO_SERVERS = "rolling-to-servers" ; public static final String ROLLOUT_PLAN = "rollout-plan" ; public static final String ROLLOUT_PLANS = "rollout-plans" ; public static final String RUNTIME_NAME = "runtime-name" ; public static final String SERVER = "server" ; public static final String SERVER_GROUP = "server-group" ; public static final String STATUS = "status" ; public static final String STEP_1 = "step-1" ; public static final String STEP_2 = "step-2" ; public static final String STEP_3 = "step-3" ; public static final String STEPS = "steps" ; public static final String STORAGE = "storage" ; public static final String SUBSYSTEM = "subsystem" ; public static final String SUCCESS = "success" ; public static final String TAIL_COMMENT_ALLOWED = "tail-comment-allowed" ; public static final String TRUE = "true" ; public static final String TYPE = "type" ; public static final String UNDEFINE_ATTRIBUTE = "undefine-attribute" ; public static final String UNDEPLOY = "undeploy" ; public static final String UPLOAD_DEPLOYMENT_STREAM = "upload-deployment-stream" ; public static final String VALID = "valid" ; public static final String VALIDATE_ADDRESS = "validate-address" ; public static final String VALUE = "value" ; public static final String VALUE_TYPE = "value-type" ; public static final String WRITE_ATTRIBUTE = "write-attribute" ; public static boolean isWindows ( ) { } public static boolean isSuccess ( ModelNode operationResponse ) { } public static String getFailureDescription ( ModelNode operationResponse ) { if ( operationResponse == null ) { return null ; } ModelNode descr = operationResponse . get ( Util . FAILURE_DESCRIPTION ) ; if ( descr == null ) { return null ; } if ( descr . hasDefined ( Util . DOMAIN_FAILURE_DESCRIPTION ) ) { descr = descr . get ( Util . DOMAIN_FAILURE_DESCRIPTION ) ; } if ( descr . hasDefined ( Util . ROLLED_BACK ) ) { final StringBuilder buf = new StringBuilder ( ) ; buf . append ( descr . asString ( ) ) ; if ( descr . get ( Util . ROLLED_BACK ) . asBoolean ( ) ) { buf . append ( "(The<seq2seq4repair_space>operation<seq2seq4repair_space>was<seq2seq4repair_space>rolled<seq2seq4repair_space>back)" ) ; } else if ( descr . hasDefined ( Util . ROLLBACK_FAILURE_DESCRIPTION ) ) { <START_BUG> buf . append ( descr . get ( Util . ROLLBACK_FAILURE_DESCRIPTION ) . asString ( ) ) ; <END_BUG> } else { buf . append ( "(The<seq2seq4repair_space>operation<seq2seq4repair_space>also<seq2seq4repair_space>failed<seq2seq4repair_space>to<seq2seq4repair_space>rollback,<seq2seq4repair_space>failure<seq2seq4repair_space>description<seq2seq4repair_space>is<seq2seq4repair_space>not<seq2seq4repair_space>available.)" ) ; } } else { return descr . asString ( ) ; } return descr . asString ( ) ; } public static List < String > getList ( ModelNode operationResult ) { } public static List < String > getList ( ModelNode operationResult , String wildcardExpr ) { } public static String wildcardToJavaRegex ( String expr ) { } public static boolean listContains ( ModelNode operationResult , String item ) { } public static List < String > getRequestPropertyNames ( ModelNode operationResult ) { } public static boolean isDeploymentInRepository ( String name , ModelControllerClient client ) { } public static boolean isDeployedAndEnabledInStandalone ( String name , ModelControllerClient client ) { } public static List < String > getAllEnabledServerGroups ( String deploymentName , ModelControllerClient client ) { } public static List < String > getServerGroupsReferencingDeployment ( String deploymentName , ModelControllerClient client ) throws CommandLineException { } public static List < String > getServerGroupsReferencingOverlay ( String overlayName , ModelControllerClient client ) throws CommandLineException { } public static List < String > getDeployments ( ModelControllerClient client ) { } public static List < String > getDeployments ( ModelControllerClient client , String serverGroup ) { } public static List < String > getMatchingDeployments ( ModelControllerClient client , String wildcardExpr , String serverGroup ) { } public static List < String > getServerGroups ( ModelControllerClient client ) { } public static List < String > getNodeTypes ( ModelControllerClient client , OperationRequestAddress address ) { } public static List < String > getNodeNames ( ModelControllerClient client , OperationRequestAddress address , String type ) { } public static List < String > getJmsResources ( ModelControllerClient client , String profile , String type ) { } public static List < String > getDatasources ( ModelControllerClient client , String profile , String dsType ) { } public static boolean isTopic ( ModelControllerClient client , String name ) { } public static boolean isQueue ( ModelControllerClient client , String name ) { } public static boolean isConnectionFactory ( ModelControllerClient client , String name ) { } public static ModelNode configureDeploymentOperation ( String operationName , String uniqueName , String serverGroup ) { } public static boolean isValidPath ( ModelControllerClient client , String ... node ) throws CommandLineException { } public static String getCommonStart ( List < String > list ) { } public static String escapeString ( String name , EscapeSelector selector ) { }

Fix:
buf . append ( descr . get ( Util . ROLLBACK_FAILURE_DESCRIPTION ) . toString ( ) ) ;