[Demonstration 1]

[Buggy Method]
public static void main(String[] args) {
    final IntroduceMyself commandMessage = newIntroduceWorld();
    final Command command = newCommandFactory().create(commandMessage);
    boundedContext.getCommandBus().post(command, new StreamObserver<Response>() {

        @Override
        public void onNext(Response value) {
            System.out.println("Command posted: " + TextFormat.shortDebugString(value));
        }

        @Override
        public void onError(Throwable t) {
            throw new RuntimeException(t);
        }

        @Override
        public void onCompleted() {
            System.out.println("Successfully executed.");
        }
    });
}

[Buggy Hunk]
throw new RuntimeException(t);

[Patch]
throw Exceptions.wrappedCause(t);

[Demonstration 2]

[Buggy Method]
public void deletePost() {
    Post post = postRepository.findFirstByOrderByPostedOnDesc();
    postRepository.delete(post);
}

[Buggy Hunk]
Post post = postRepository.findFirstByOrderByPostedOnDesc();

[Patch]
Post post = postRepository.findFirstByOrderByCreatedDateDesc();

[Demonstration 3]

[Buggy Method]
@Override
public void onAnimationEnd(Animator animation) {
    finalLayoutBeforeResize.setVisibility(View.GONE);
    ViewGroup.LayoutParams layoutParams = feedbackContainer.getLayoutParams();
    layoutParams.height = ViewGroup.LayoutParams.WRAP_CONTENT;
    feedbackContainer.setLayoutParams(layoutParams);
    finalLayoutAfterResize.setVisibility(View.VISIBLE);
    finalLayoutAfterResize.startAnimation(AnimationUtils.loadAnimation(getContext(), R.anim.fab_in));
}

[Buggy Hunk]
finalLayoutAfterResize.startAnimation(AnimationUtils.loadAnimation(getContext(), R.anim.fab_in));

[Patch]
finalLayoutAfterResize.startAnimation(AnimationUtils.loadAnimation(getContext(), R.anim.abc_fade_in));