title: ContentCatcher: Failed to notify a WebView
body: <p>I am trying to open a webview inside my fragment. But I am getting the error
  ContentCatcher: Failed to notify a WebView.</p>
  
  <p>Below is the code for my onCreateView of my fragment</p>
  
  <pre><code>@Override
  public View onCreateView(LayoutInflater inflater, ViewGroup container,
                           Bundle savedInstanceState) {
  
      ViewGroup rootView = (ViewGroup) inflater.inflate(R.layout.fragment_payment_gateway, container, false);
  
  
      webView=(WebView)rootView.findViewById(R.id.paymentwebview);
      WebSettings webSettings= webView.getSettings();
      webSettings.setJavaScriptEnabled(true);
      webView.setWebViewClient(new WebViewClient() {
          @Override
          public boolean shouldOverrideUrlLoading(WebView view, String url) {
              view.loadUrl(url);
              return false;
          }
      });
      webView.loadUrl("www.google.com/");
      return rootView;
  }
  </code></pre>
  
  <p>FragmentLayout</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout 
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:orientation="vertical" android:layout_width="match_parent"
  android:layout_height="match_parent"&gt;
  &lt;WebView
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:id="@+id/paymentwebview"&gt;
  
  &lt;/WebView&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>And the Logs are</p>
  
  <pre><code>07-13 17:59:48.410 14386-14386/com.clubtro.dev D/EgretLoader:   
  EgretLoader(Context context)
  07-13 17:59:48.411 14386-14386/com.clubtro.dev D/EgretLoader: The 
  context is not activity
  07-13 17:59:48.423 14386-14386/com.clubtro.dev W/ContentCatcher: 
  Failed to notify a WebView
  </code></pre>