You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Marcel Kinard (JIRA)" <ji...@apache.org> on 2014/09/04 19:58:53 UTC

[jira] [Created] (CB-7468) [Android] native test "User WebView/Client/Chrome" crashes

Marcel Kinard created CB-7468:
---------------------------------

             Summary: [Android] native test "User WebView/Client/Chrome" crashes
                 Key: CB-7468
                 URL: https://issues.apache.org/jira/browse/CB-7468
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android
            Reporter: Marcel Kinard
            Priority: Minor


This was noticed while testing 3.6.0 rc, and didn't get more attention.

{code}
D/ActivityPlugin(25832): Starting activity org.apache.cordova.test.userwebview
I/ActivityManager(  483): START u0 {cmp=org.apache.cordova.test/.userwebview} from pid 25832
W/CordovaPlugin(25832): Attempted to send a second callback for ID: Activity1676943332
W/CordovaPlugin(25832): Result was: "OK"
I/CordovaActivity(25832): Apache Cordova native platform version 3.6.0-dev is starting
D/CordovaActivity(25832): CordovaActivity.onCreate()
I/CordovaLog(25832): Changing log level to DEBUG(3)
D/userwebview(25832): TestViewClient()
D/userwebview(25832): TestChromeClient()
D/CordovaActivity(25832): CordovaActivity.init()
D/CordovaWebView(25832): CordovaWebView is running on device made by: asus
D/CordovaWebView(25832): >>> loadUrl(file:///android_asset/www/userwebview/index.html)
D/PluginManager(25832): init()
D/CordovaWebView(25832): >>> loadUrlNow()
D/CordovaActivity(25832): Resuming the App
D/CordovaLog(25832): file:///android_asset/www/index.html: Line 30 : Success
I/chromium(25832): [INFO:CONSOLE(30)] "Success", source: file:///android_asset/www/index.html (30)
D/SoftKeyboardDetect(25832): Ignore this event
I/ActivityManager(  483): Displayed org.apache.cordova.test/.userwebview: +107ms
D/SoftKeyboardDetect(25832): Ignore this event
D/CordovaWebViewClient(25832): onPageStarted(file:///android_asset/www/userwebview/index.html)
D/AndroidRuntime(25832): Shutting down VM
W/dalvikvm(25832): threadid=1: thread exiting with uncaught exception (group=0x41e52ba8)
E/AndroidRuntime(25832): FATAL EXCEPTION: main
E/AndroidRuntime(25832): Process: org.apache.cordova.test, PID: 25832
E/AndroidRuntime(25832): java.lang.NullPointerException
E/AndroidRuntime(25832): 	at org.apache.cordova.CordovaWebViewClient.onPageStarted(CordovaWebViewClient.java:144)
E/AndroidRuntime(25832): 	at com.android.webview.chromium.WebViewContentsClientAdapter.onPageStarted(WebViewContentsClientAdapter.java:444)
E/AndroidRuntime(25832): 	at com.android.org.chromium.android_webview.AwContentsClientCallbackHelper$MyHandler.handleMessage(AwContentsClientCallbackHelper.java:104)
E/AndroidRuntime(25832): 	at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime(25832): 	at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime(25832): 	at android.app.ActivityThread.main(ActivityThread.java:5001)
E/AndroidRuntime(25832): 	at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(25832): 	at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime(25832): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
E/AndroidRuntime(25832): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
E/AndroidRuntime(25832): 	at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager(  483):   Force finishing activity org.apache.cordova.test/.userwebview
W/ActivityManager(  483):   Force finishing activity org.apache.cordova.test/.CordovaWebViewTestActivity
W/ActivityManager(  483): Activity pause timeout for ActivityRecord{426022b8 u0 org.apache.cordova.test/.userwebview t178 f}
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)