Crosswalk Android Startup Crash


#1

Hello,

I try to run my app on android and if i have crosswalk the app is crashing after i see the SplashScreen.

This is the error in my console.

=> Started app on Android Device. I20160526-11:39:49.474(-7)? I/chromium(27875): [INFO:library_loader_hooks.cc(118)] Chromium logging enabled: level = 0, default verbosity = 0 I20160526-11:39:49.640(-7)? E/chromium(27875): [ERROR:browser_gpu_channel_host_factory.cc(258)] Failed to init browser shader disk cache. I20160526-11:39:49.640(-7)? E/chromium(27875): [ERROR:xwalk_platform_notification_service.cc(103)] Not implemented reached in virtual bool xwalk::XWalkPlatformNotificationService::GetDisplayedPersistentNotifications(content::BrowserContext*, std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >*) I20160526-11:39:49.641(-7)? E/chromium(27875): [ERROR:xwalk_browser_context.cc(79)] Failed to read preference, error num: 0 I20160526-11:39:49.657(-7)? I/chromium(27875): [INFO:xwalk_extension_renderer_controller.cc(43)] EXTENSION PROCESS DISABLED. I20160526-11:39:49.657(-7)? I/MeteorWebApp(27875): Serving asset bundle with version: 2b6feffab37ab9952902d8e9640b07689a3b0eba I20160526-11:39:51.255(-7)? E/chromium(27875): [ERROR:layer_tree_host_impl.cc(2121)] Forcing zero-copy tile initialization as worker context is missing I20160526-11:39:55.470(-7) (android:http://localhost:12544/cordova.js:1185) deviceready has not fired after 5 seconds. I20160526-11:39:55.475(-7) (android:http://localhost:12544/cordova.js:1178) Channel not fired: onDOMContentLoaded I20160526-11:40:03.966(-7)? I/chromium(27875): [INFO:SkFontMgr_android_parser.cpp(595)] [SkFontMgr Android Parser] '/system/etc/fonts.xml' could not be opened I20160526-11:40:03.967(-7)? I/chromium(27875): I20160526-11:40:03.971(-7)? I/chromium(27875): [INFO:SkFontMgr_android_parser.cpp(595)] [SkFontMgr Android Parser] '/vendor/etc/fallback_fonts.xml' could not be opened I20160526-11:40:03.972(-7)? I/chromium(27875): I20160526-11:40:04.605(-7)? Push: Settings userId "null" for app: YfMmQHuW7vqTWLc4r

After the app it crash i get this alert on the phone “Unfortunately, App has stopped.”

Thanks in advance.


#2

Has anyone been able to solve this problem. I cant get an upgraded app to launch on Android.

Some more information…
06-16 21:00:13.652 1079-1079/? D/KeyguardUpdateMonitor: handleKeyguardVisibilityChanged(1)
06-16 21:00:13.652 17347-17435/? I/chromium: [INFO:xwalk_extension_renderer_controller.cc(43)] EXTENSION PROCESS DISABLED.
06-16 21:00:13.652 17213-17213/? D/Mms/BubbleViewCache: createCacheView sMaxInflateCount = 8
06-16 21:00:13.672 17347-17347/? D/AndroidRuntime: Shutting down VM
06-16 21:00:13.672 17347-17347/? W/dalvikvm: threadid=1: thread exiting with uncaught exception (group=0x417e9da0)
06-16 21:00:13.672 17347-17427/? W/System.err: java.lang.RuntimeException: java.lang.NullPointerException
06-16 21:00:13.682 17347-17427/? W/System.err: at org.xwalk.core.internal.ReflectMethod.invoke(ReflectMethod.java:67)
06-16 21:00:13.682 17347-17427/? W/System.err: at org.xwalk.core.internal.XWalkResourceClientBridge.shouldInterceptLoadRequest(XWalkResourceClientBridge.java:147)
06-16 21:00:13.682 17347-17427/? W/System.err: at org.xwalk.core.internal.XWalkResourceClientBridge.shouldInterceptLoadRequest(XWalkResourceClientBridge.java:137)
06-16 21:00:13.682 17347-17427/? W/System.err: at org.xwalk.core.internal.XWalkContentsClientBridge.shouldInterceptRequest(XWalkContentsClientBridge.java:254)
06-16 21:00:13.682 17347-17427/? W/System.err: at org.xwalk.core.internal.XWalkContent$XWalkIoThreadClientImpl.shouldInterceptRequest(XWalkContent.java:728)
06-16 21:00:13.682 17347-17427/? W/System.err: at org.xwalk.core.internal.XWalkContentsIoThreadClient.shouldInterceptRequest(XWalkContentsIoThreadClient.java:57)
06-16 21:00:13.682 17347-17427/? W/System.err: at dalvik.system.NativeStart.run(Native Method)
06-16 21:00:13.682 17347-17427/? W/System.err: Caused by: java.lang.NullPointerException
06-16 21:00:13.682 17347-17427/? W/System.err: at com.meteor.webapp.WebAppLocalServer.remapUri(WebAppLocalServer.java:472)
06-16 21:00:13.682 17347-17427/? W/System.err: at org.apache.cordova.PluginManager.remapUri(PluginManager.java:473)
06-16 21:00:13.682 17347-17427/? W/System.err: at org.apache.cordova.CordovaResourceApi.remapUri(CordovaResourceApi.java:136)
06-16 21:00:13.682 17347-17427/? W/System.err: at org.crosswalk.engine.XWalkCordovaResourceClient.shouldInterceptLoadRequest(XWalkCordovaResourceClient.java:77)
06-16 21:00:13.682 17347-17427/? W/System.err: at java.lang.reflect.Method.invokeNative(Native Method)
06-16 21:00:13.682 17347-17427/? W/System.err: at java.lang.reflect.Method.invoke(Method.java:515)
06-16 21:00:13.682 17347-17427/? W/System.err: at org.xwalk.core.internal.ReflectMethod.invoke(ReflectMethod.java:61)
06-16 21:00:13.682 17347-17427/? W/System.err: … 6 more
06-16 21:00:13.682 17347-17347/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.vercx.auto, PID: 17347
java.lang.RuntimeException: java.lang.NullPointerException
at org.xwalk.core.internal.ReflectMethod.invoke(ReflectMethod.java:67)
at org.xwalk.core.internal.XWalkUIClientBridge.onPageLoadStarted(XWalkUIClientBridge.java:393)
at org.xwalk.core.internal.XWalkUIClientBridge.onPageLoadStarted(XWalkUIClientBridge.java:383)
at org.xwalk.core.internal.XWalkContentsClientBridge.onPageStarted(XWalkContentsClientBridge.java:402)
at org.xwalk.core.internal.XWalkContentsClientCallbackHelper$1.handleMessage(XWalkContentsClientCallbackHelper.java:90)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5476)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1268)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1084)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NullPointerException
at com.meteor.webapp.WebAppLocalServer.onReset(WebAppLocalServer.java:186)
at org.apache.cordova.PluginManager.onReset(PluginManager.java:465)
at org.apache.cordova.CordovaWebViewImpl$EngineClient.onPageStarted(CordovaWebViewImpl.java:501)
at org.crosswalk.engine.XWalkCordovaUiClient.onPageLoadStarted(XWalkCordovaUiClient.java:149)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at org.xwalk.core.internal.ReflectMethod.invoke(ReflectMethod.java:61)
at org.xwalk.core.internal.XWalkUIClientBridge.onPageLoadStarted(XWalkUIClientBridge.java:393)
at org.xwalk.core.internal.XWalkUIClientBridge.onPageLoadStarted(XWalkUIClientBridge.java:383)
at org.xwalk.core.internal.XWalkContentsClientBridge.onPageStarted(XWalkContentsClientBridge.java:402)
at org.xwalk.core.internal.XWalkContentsClientCallbackHelper$1.handleMessage(XWalkContentsClientCallbackHelper.java:90)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5476)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1268)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1084)
at dalvik.system.NativeStart.main(Native Method)