InAppBrowser, error Android


#1

Hello,

On android 4.3 device I got an issue while opening an URL through InAppBrowser.
This the stack trace I can see in my log.

E/PluginManager: Uncaught exception from plugin
java.lang.NullPointerException
at org.apache.cordova.inappbrowser.InAppBrowser.execute(InAppBrowser.java:246)
at org.apache.cordova.CordovaPlugin.execute(CordovaPlugin.java:117)
at org.apache.cordova.CordovaPlugin.execute(CordovaPlugin.java:98)
at org.apache.cordova.PluginManager.exec(PluginManager.java:133)
at org.apache.cordova.CordovaBridge.jsExec(CordovaBridge.java:59)
at org.apache.cordova.engine.SystemExposedJsApi.exec(SystemExposedJsApi.java:41)
at android.webkit.JWebCoreJavaBridge.sharedTimerFired(Native Method)
at android.webkit.JWebCoreJavaBridge.sharedTimerFired(Native Method)
at android.webkit.JWebCoreJavaBridge.fireSharedTimer(JWebCoreJavaBridge.java:92)
at android.webkit.JWebCoreJavaBridge.handleMessage(JWebCoreJavaBridge.java:108)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:176)
at android.webkit.WebViewCore$WebCoreThread.run(WebViewCore.java:1093)
at java.lang.Thread.run(Thread.java:841)
I added crosswalk plugin to try and i got the same issue.

Does anyone know how to handle it ?

Thks.


#2

refer this

this worked for me


#3

I already knew this link, it doesn’t help. I just updated the plugin and it looks like it’s working now.
Thank you for your answer.