Program: 15172
Project: 15172
Buggy source:
@Override public View onCreateView(LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState){
  CookieSyncManager.createInstance(this.getActivity().getApplicationContext());
  View v=inflater.inflate(R.layout.reader_wpcom,container,false);
  if (WordPress.currentBlog == null) {
    if (WordPress.setCurrentBlogToLastActive() == null) {
      Toast.makeText(getActivity().getApplicationContext(),getResources().getText(R.string.blog_not_found),Toast.LENGTH_SHORT).show();
      getActivity().finish();
    }
  }
  wv=(WebView)v.findViewById(R.id.webView);
  wv.setScrollBarStyle(View.SCROLLBARS_INSIDE_OVERLAY);
  wv.addJavascriptInterface(new JavaScriptInterface(getActivity().getApplicationContext()),interfaceNameForJS);
  wv.setWebViewClient(new WebViewClient(){
    @Override public void onPageStarted(    WebView view,    String url,    Bitmap favicon){
      if (isAdded()) {
        if (url.equalsIgnoreCase(Constants.readerDetailURL)) {
          view.stopLoading();
          wv.loadUrl("String_Node_Str");
          wv.loadUrl("String_Node_Str");
          onPostSelectedListener.onPostSelected(url);
        }
 else {
          ((ReaderActivity)getActivity()).startAnimatingButton();
        }
        if (url.contains("String_Node_Str")) {
          loadDetailListener.onLoadDetail();
        }
      }
    }
    @Override public void onPageFinished(    WebView view,    String url){
      if (getActivity() != null && !getActivity().isFinishing())       ((ReaderActivity)getActivity()).stopAnimatingButton();
    }
    @Override public boolean shouldOverrideUrlLoading(    WebView view,    String url){
      return false;
    }
  }
);
  this.setDefaultWebViewSettings(wv);
  new loadReaderTask().execute(null,null,null,null);
  return v;
}

Fixed version (ground truth):
@Override public View onCreateView(LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState){
  CookieSyncManager.createInstance(this.getActivity().getApplicationContext());
  View v=inflater.inflate(R.layout.reader_wpcom,container,false);
  if (WordPress.currentBlog == null) {
    if (WordPress.setCurrentBlogToLastActive() == null) {
      Toast.makeText(getActivity().getApplicationContext(),getResources().getText(R.string.blog_not_found),Toast.LENGTH_SHORT).show();
      getActivity().finish();
    }
  }
  wv=(WebView)v.findViewById(R.id.webView);
  wv.setScrollBarStyle(View.SCROLLBARS_INSIDE_OVERLAY);
  wv.addJavascriptInterface(new JavaScriptInterface(getActivity().getApplicationContext()),interfaceNameForJS);
  wv.setWebViewClient(new WebViewClient(){
    @Override public void onPageStarted(    WebView view,    String url,    Bitmap favicon){
      if (isAdded()) {
        if (url.equalsIgnoreCase(Constants.readerDetailURL)) {
          view.stopLoading();
          wv.loadUrl("String_Node_Str");
          wv.loadUrl("String_Node_Str");
          onPostSelectedListener.onPostSelected(url);
        }
 else {
          ((ReaderActivity)getActivity()).startAnimatingButton();
        }
        if (url.contains("String_Node_Str")) {
          loadDetailListener.onLoadDetail();
        }
      }
    }
    @Override public void onPageFinished(    WebView view,    String url){
      if (getActivity() != null && !getActivity().isFinishing())       ((ReaderActivity)getActivity()).stopAnimatingButton();
    }
    @Override public void onReceivedError(    WebView view,    int errorCode,    String description,    String failingUrl){
      ((ReaderActivity)getActivity()).stopAnimatingButton();
      super.onReceivedError(view,errorCode,description,failingUrl);
    }
    @Override public boolean shouldOverrideUrlLoading(    WebView view,    String url){
      return false;
    }
  }
);
  this.setDefaultWebViewSettings(wv);
  new loadReaderTask().execute(null,null,null,null);
  return v;
}