cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Nonk (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-9438) cordova-plugin-crosswalk-webview
Date Sat, 01 Aug 2015 15:22:04 GMT
Tom Nonk created CB-9438:
----------------------------

             Summary: cordova-plugin-crosswalk-webview
                 Key: CB-9438
                 URL: https://issues.apache.org/jira/browse/CB-9438
             Project: Apache Cordova
          Issue Type: Bug
    Affects Versions: 5.1.1
         Environment: Android 4.4
            Reporter: Tom Nonk
             Fix For: Master


Using cordova-plugin-crosswalk-webview 1.3.0, if i install my app on a device, it is working
fine, but if i upgrade my previous app which was using 1.2.0, it instantly crash when opening
the app. If i delete the data of the app in setting, it doesnt crash anymore.

Here is the logcat of the crash:

E/AndroidRuntime( 2618): FATAL EXCEPTION: main
E/AndroidRuntime( 2618): Process: com.myapp, PID: 2618
E/AndroidRuntime( 2618): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.myapp/com.myapp.MainActivity}:
java.lang.NullPointerException
E/AndroidRuntime( 2618): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2351)
E/AndroidRuntime( 2618): 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2403)
E/AndroidRuntime( 2618): 	at android.app.ActivityThread.access$800(ActivityThread.java:151)
E/AndroidRuntime( 2618): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1334)
E/AndroidRuntime( 2618): 	at android.os.Handler.dispatchMessage(Handler.java:110)
E/AndroidRuntime( 2618): 	at android.os.Looper.loop(Looper.java:193)
E/AndroidRuntime( 2618): 	at android.app.ActivityThread.main(ActivityThread.java:5312)
E/AndroidRuntime( 2618): 	at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 2618): 	at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime( 2618): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:825)
E/AndroidRuntime( 2618): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:641)
E/AndroidRuntime( 2618): 	at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 2618): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 2618): 	at org.apache.cordova.PluginManager.getPlugin(PluginManager.java:169)
E/AndroidRuntime( 2618): 	at org.apache.cordova.PluginManager.startupPlugins(PluginManager.java:95)
E/AndroidRuntime( 2618): 	at org.apache.cordova.PluginManager.init(PluginManager.java:84)
E/AndroidRuntime( 2618): 	at org.apache.cordova.CordovaWebViewImpl.init(CordovaWebViewImpl.java:116)
E/AndroidRuntime( 2618): 	at org.apache.cordova.CordovaActivity.init(CordovaActivity.java:150)
E/AndroidRuntime( 2618): 	at org.apache.cordova.CordovaActivity.loadUrl(CordovaActivity.java:220)
E/AndroidRuntime( 2618): 	at com.myapp.MainActivity.onCreate(MainActivity.java:32)
E/AndroidRuntime( 2618): 	at android.app.Activity.performCreate(Activity.java:5329)
E/AndroidRuntime( 2618): 	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1088)
E/AndroidRuntime( 2618): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2315)
E/AndroidRuntime( 2618): 	... 11 more




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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message