Program: 34296
Project: 34296
Buggy source:
@Override public void onCompleted(Exception e,PopcornTimeRpcClient.RpcResponse result){
  try {
    if (result != null && e == null) {
      mCurrentMap=result.getMapResult();
      final String title=(String)mCurrentMap.get("String_Node_Str");
      final String synopsis=(String)mCurrentMap.get("String_Node_Str");
      final String year;
      if (mCurrentMap.get("String_Node_Str") instanceof Double) {
        year=Integer.toString(((Double)mCurrentMap.get("String_Node_Str")).intValue());
      }
 else {
        year=(String)mCurrentMap.get("String_Node_Str");
      }
      final String runtime=Integer.toString(((Double)mCurrentMap.get("String_Node_Str")).intValue());
      final String rating=(String)mCurrentMap.get("String_Node_Str");
      mIsFavourited=(Boolean)mCurrentMap.get("String_Node_Str");
      mHandler.post(new Runnable(){
        @Override public void run(){
          titleText.setText(title);
          synopsisText.setText(synopsis);
          yearText.setText(year);
          runtimeText.setText(runtime + "String_Node_Str" + getString(R.string.minutes));
          ratingText.setText(rating + "String_Node_Str");
          if (mIsFavourited) {
            favouriteText.setText(R.string.remove_favourite);
          }
 else {
            favouriteText.setText(R.string.add_favourite);
          }
          if (!mCurrentMap.containsKey("String_Node_Str")) {
            trailerBlock.setVisibility(View.GONE);
            topDivider.setVisibility(View.GONE);
          }
        }
      }
);
      final String posterUrl;
      if (mCurrentMap.containsKey("String_Node_Str")) {
        posterUrl=((String)mCurrentMap.get("String_Node_Str")).replace("String_Node_Str","String_Node_Str");
      }
 else {
        LinkedTreeMap<String,String> images=(LinkedTreeMap<String,String>)mCurrentMap.get("String_Node_Str");
        posterUrl=images.get("String_Node_Str").replace("String_Node_Str","String_Node_Str");
      }
      final String backdropUrl;
      if (mCurrentMap.containsKey("String_Node_Str")) {
        backdropUrl=(String)mCurrentMap.get("String_Node_Str");
      }
 else {
        LinkedTreeMap<String,String> images=(LinkedTreeMap<String,String>)mCurrentMap.get("String_Node_Str");
        backdropUrl=images.get("String_Node_Str");
      }
      Bitmap poster=Picasso.with(getActivity()).load(posterUrl).get();
      Palette palette=Palette.generate(poster);
      try {
        int vibrantColor=palette.getVibrantColor(R.color.primary);
        if (vibrantColor == R.color.primary) {
          mPaletteColor=palette.getMutedColor(R.color.primary);
        }
 else {
          mPaletteColor=vibrantColor;
        }
        final ObjectAnimator mainInfoBlockColorFade=ObjectAnimator.ofObject(mainInfoBlock,"String_Node_Str",new ArgbEvaluator(),getResources().getColor(R.color.primary),mPaletteColor);
        mainInfoBlockColorFade.setDuration(500);
        Drawable oldDrawable=PixelUtils.changeDrawableColor(getActivity(),R.drawable.ic_av_play_button,getResources().getColor(R.color.primary));
        mPlayButtonDrawable=PixelUtils.changeDrawableColor(getActivity(),R.drawable.ic_av_play_button,mPaletteColor);
        final TransitionDrawable td=new TransitionDrawable(new Drawable[]{oldDrawable,mPlayButtonDrawable});
        mHandler.post(new Runnable(){
          @Override public void run(){
            playButton.setImageDrawable(td);
          }
        }
);
        mHandler.post(new Runnable(){
          @Override public void run(){
            Picasso.with(getActivity()).load(backdropUrl).into(coverImage,new com.squareup.picasso.Callback(){
              @Override public void onSuccess(){
                Animation fadeInAnim=AnimationUtils.loadAnimation(getActivity(),R.anim.fade_in);
                mainInfoBlockColorFade.start();
                td.startTransition(500);
                coverImage.setVisibility(View.VISIBLE);
                coverImage.startAnimation(fadeInAnim);
              }
              @Override public void onError(){
              }
            }
);
          }
        }
);
      }
 catch (      Exception ex) {
        ex.printStackTrace();
      }
    }
  }
 catch (  Exception exception) {
    exception.printStackTrace();
  }
}

Fixed version (ground truth):
@Override public void onCompleted(Exception e,PopcornTimeRpcClient.RpcResponse result){
  try {
    if (result != null && e == null) {
      mCurrentMap=result.getMapResult();
      final String title=(String)mCurrentMap.get("String_Node_Str");
      final String synopsis=(String)mCurrentMap.get("String_Node_Str");
      final String year;
      if (mCurrentMap.get("String_Node_Str") instanceof Double) {
        year=Integer.toString(((Double)mCurrentMap.get("String_Node_Str")).intValue());
      }
 else {
        year=(String)mCurrentMap.get("String_Node_Str");
      }
      final String runtime=Integer.toString(((Double)mCurrentMap.get("String_Node_Str")).intValue());
      final String rating=(String)mCurrentMap.get("String_Node_Str");
      mIsFavourited=(Boolean)mCurrentMap.get("String_Node_Str");
      mHandler.post(new Runnable(){
        @Override public void run(){
          titleText.setText(title);
          synopsisText.setText(synopsis);
          yearText.setText(year);
          runtimeText.setText(runtime + "String_Node_Str" + getString(R.string.minutes));
          ratingText.setText(rating + "String_Node_Str");
          if (mIsFavourited) {
            favouriteText.setText(R.string.remove_favourite);
          }
 else {
            favouriteText.setText(R.string.add_favourite);
          }
          if (!mCurrentMap.containsKey("String_Node_Str")) {
            trailerBlock.setVisibility(View.GONE);
            topDivider.setVisibility(View.GONE);
          }
        }
      }
);
      final String posterUrl;
      if (mCurrentMap.containsKey("String_Node_Str")) {
        posterUrl=((String)mCurrentMap.get("String_Node_Str")).replace("String_Node_Str","String_Node_Str");
      }
 else {
        LinkedTreeMap<String,String> images=(LinkedTreeMap<String,String>)mCurrentMap.get("String_Node_Str");
        posterUrl=images.get("String_Node_Str").replace("String_Node_Str","String_Node_Str");
      }
      final String backdropUrl;
      if (mCurrentMap.containsKey("String_Node_Str")) {
        backdropUrl=(String)mCurrentMap.get("String_Node_Str");
      }
 else {
        LinkedTreeMap<String,String> images=(LinkedTreeMap<String,String>)mCurrentMap.get("String_Node_Str");
        backdropUrl=images.get("String_Node_Str");
      }
      Bitmap poster=Picasso.with(getActivity()).load(posterUrl).get();
      Palette palette=Palette.generate(poster);
      try {
        int vibrantColor=palette.getVibrantColor(R.color.primary);
        if (vibrantColor == R.color.primary) {
          mPaletteColor=palette.getMutedColor(R.color.primary);
        }
 else {
          mPaletteColor=vibrantColor;
        }
        final ObjectAnimator mainInfoBlockColorFade=ObjectAnimator.ofObject(mainInfoBlock,"String_Node_Str",new ArgbEvaluator(),getResources().getColor(R.color.primary),mPaletteColor);
        mainInfoBlockColorFade.setDuration(500);
        Drawable oldDrawable=PixelUtils.changeDrawableColor(getActivity(),R.drawable.ic_av_play_button,getResources().getColor(R.color.primary));
        mPlayButtonDrawable=PixelUtils.changeDrawableColor(getActivity(),R.drawable.ic_av_play_button,mPaletteColor);
        final TransitionDrawable td=new TransitionDrawable(new Drawable[]{oldDrawable,mPlayButtonDrawable});
        mHandler.post(new Runnable(){
          @Override public void run(){
            playButton.setImageDrawable(td);
          }
        }
);
        mHandler.post(new Runnable(){
          @Override public void run(){
            Picasso.with(getActivity()).load(backdropUrl).into(coverImage,new com.squareup.picasso.Callback(){
              @Override public void onSuccess(){
                if (getActivity() == null)                 return;
                Animation fadeInAnim=AnimationUtils.loadAnimation(getActivity(),android.R.anim.fade_in);
                mainInfoBlockColorFade.start();
                td.startTransition(500);
                coverImage.setVisibility(View.VISIBLE);
                coverImage.startAnimation(fadeInAnim);
              }
              @Override public void onError(){
              }
            }
);
          }
        }
);
      }
 catch (      Exception ex) {
        ex.printStackTrace();
      }
    }
  }
 catch (  Exception exception) {
    exception.printStackTrace();
  }
}