title: Uncaught Error: Java exception was raised during method invocation
body: <p>I got an error when js invoke Android </p>
  
  <pre><code>Uncaught Error: Java exception was raised during method invocation
  </code></pre>
  
  <p>,this is the js code:</p>
  
  <pre><code>window.SearchActivity.getClickData();
  </code></pre>
  
  <p>,this is the Android code:</p>
  
  <pre><code>mAtlasWebView.addJavascriptInterface(new SearchActivity(), "SearchActivity");
  @JavascriptInterface
  public void getClickData() {
      String mSearchText = mSearchEdit.getText().toString().trim();
      mvpPresenter.getClickData(mSearchText, 1);
  }
  </code></pre>