You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "lijingjing (JIRA)" <ji...@apache.org> on 2015/10/08 10:41:27 UTC
[jira] [Created] (CB-9766) [Android 4.0] Mobilespec crashes on
Nexus 3
lijingjing created CB-9766:
------------------------------
Summary: [Android 4.0] Mobilespec crashes on Nexus 3
Key: CB-9766
URL: https://issues.apache.org/jira/browse/CB-9766
Project: Apache Cordova
Issue Type: Bug
Components: Android
Affects Versions: 3.5.0
Environment: Test Device: Google nexus3(android 4.0.4)
Reporter: lijingjing
Test Steps:
1. Install the mobile spec app
2. Launch it
Expected Results:
App could be launch successfully, no crash, no hang
Actual Results:
App would be crash
error log:
{code}
I/ActivityManager( 190): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=org.apache.mobilespec/.mobilespec} from pid 398
D/dalvikvm( 2376): Late-enabling CheckJNI
I/ActivityManager( 190): Start proc org.apache.mobilespec for activity org.apache.mobilespec/.mobilespec: pid=2376 uid=10102 gids={3003, 1015}
I/ActivityThread( 2376): Pub org.apache.cordova.file.testprovider: org.apache.cordova.file.test.TestContentProvider
D/OpenGLRenderer( 398): Flushing caches (mode 1)
I/dalvikvm( 2376): Could not find method android.app.Activity.startActivityForResult, referenced from method org.apache.cordova.CordovaActivity.startActivityForResult
W/dalvikvm( 2376): VFY: unable to resolve virtual method 314: Landroid/app/Activity;.startActivityForResult (Landroid/content/Intent;ILandroid/os/Bundle;)V
D/dalvikvm( 2376): VFY: replacing opcode 0x6f at 0x0005
D/XWalkLib( 2376): Pre init xwalk core in org.apache.mobilespec.mobilespec
D/XWalkLib( 2376): Reserve class class org.xwalk.core.XWalkPreferences to org.apache.mobilespec.mobilespec
D/XWalkLib( 2376): Reserve method setValue to org.apache.mobilespec.mobilespec
D/XWalkLib( 2376): Reserve class class org.xwalk.core.XWalkPreferences to org.apache.mobilespec.mobilespec
D/XWalkLib( 2376): Reserve method setValue to org.apache.mobilespec.mobilespec
D/XWalkLib( 2376): Reserve class class org.xwalk.core.XWalkPreferences to org.apache.mobilespec.mobilespec
D/XWalkLib( 2376): Reserve method setValue to org.apache.mobilespec.mobilespec
D/XWalkLib( 2376): Reserve class class org.xwalk.core.XWalkPreferences to org.apache.mobilespec.mobilespec
D/XWalkLib( 2376): Reserve method setValue to org.apache.mobilespec.mobilespec
D/XWalkLib( 2376): Reserve object class org.crosswalk.engine.XWalkCordovaView to org.apache.mobilespec.mobilespec
D/XWalkLib( 2376): Reserve object class org.crosswalk.engine.XWalkCordovaResourceClient to org.apache.mobilespec.mobilespec
D/XWalkLib( 2376): Reserve method setResourceClient to org.apache.mobilespec.mobilespec
D/XWalkLib( 2376): Reserve object class org.crosswalk.engine.XWalkCordovaUiClient to org.apache.mobilespec.mobilespec
D/XWalkLib( 2376): Reserve method setUIClient to org.apache.mobilespec.mobilespec
D/OpenGLRenderer( 398): Flushing caches (mode 0)
I/dalvikvm( 2376): Could not find method android.content.Context.getExternalMediaDirs, referenced from method org.apache.cordova.file.LocalFilesystem.isPublicDirectory
W/dalvikvm( 2376): VFY: unable to resolve virtual method 620: Landroid/content/Context;.getExternalMediaDirs ()[Ljava/io/File;
D/dalvikvm( 2376): VFY: replacing opcode 0x6e at 0x000b
D/dalvikvm( 2376): GC_CONCURRENT freed 191K, 3% free 12841K/13127K, paused 3ms+4ms
D/dalvikvm( 2376): GC_FOR_ALLOC freed 16K, 3% free 13115K/13447K, paused 27ms
I/dalvikvm-heap( 2376): Grow heap (frag case) to 16.358MB for 3686416-byte allocation
D/dalvikvm( 2376): GC_CONCURRENT freed <1K, 3% free 16715K/17095K, paused 2ms+3ms
V/StatusBar( 2376): StatusBar: initialization
D/AndroidRuntime( 2376): Shutting down VM
W/dalvikvm( 2376): threadid=1: thread exiting with uncaught exception (group=0x40a351f8)
E/AndroidRuntime( 2376): FATAL EXCEPTION: main
E/AndroidRuntime( 2376): java.lang.RuntimeException: Unable to start activity ComponentInfo{org.apache.mobilespec/org.apache.mobilespec.mobilespec}: java.lang.UnsupportedOperationException: setLayerType
E/AndroidRuntime( 2376): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1956)
E/AndroidRuntime( 2376): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981)
E/AndroidRuntime( 2376): at android.app.ActivityThread.access$600(ActivityThread.java:123)
E/AndroidRuntime( 2376): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1147)
E/AndroidRuntime( 2376): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 2376): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 2376): at android.app.ActivityThread.main(ActivityThread.java:4424)
E/AndroidRuntime( 2376): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 2376): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 2376): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
E/AndroidRuntime( 2376): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
E/AndroidRuntime( 2376): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 2376): Caused by: java.lang.UnsupportedOperationException: setLayerType
E/AndroidRuntime( 2376): at org.xwalk.core.ReflectMethod.invoke(ReflectMethod.java:57)
E/AndroidRuntime( 2376): at org.xwalk.core.XWalkView.setLayerType(XWalkView.java:627)
E/AndroidRuntime( 2376): at com.telerik.plugins.nativepagetransitions.NativePageTransitions.enableHardwareAcceleration(NativePageTransitions.java:706)
E/AndroidRuntime( 2376): at com.telerik.plugins.nativepagetransitions.NativePageTransitions.initialize(NativePageTransitions.java:98)
E/AndroidRuntime( 2376): at org.apache.cordova.CordovaPlugin.privateInitialize(CordovaPlugin.java:54)
E/AndroidRuntime( 2376): at org.apache.cordova.PluginManager.getPlugin(PluginManager.java:169)
E/AndroidRuntime( 2376): at org.apache.cordova.PluginManager.startupPlugins(PluginManager.java:95)
E/AndroidRuntime( 2376): at org.apache.cordova.PluginManager.init(PluginManager.java:84)
E/AndroidRuntime( 2376): at org.apache.cordova.CordovaWebViewImpl.init(CordovaWebViewImpl.java:116)
E/AndroidRuntime( 2376): at org.apache.cordova.CordovaActivity.init(CordovaActivity.java:150)
E/AndroidRuntime( 2376): at org.apache.cordova.CordovaActivity.loadUrl(CordovaActivity.java:220)
E/AndroidRuntime( 2376): at org.apache.mobilespec.mobilespec.onCreate(mobilespec.java:32)
E/AndroidRuntime( 2376): at android.app.Activity.performCreate(Activity.java:4465)
E/AndroidRuntime( 2376): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
E/AndroidRuntime( 2376): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1920)
E/AndroidRuntime( 2376): ... 11 more
W/ActivityManager( 190): Force finishing activity org.apache.mobilespec/.mobilespec
D/dalvikvm( 190): GC_FOR_ALLOC freed 625K, 11% free 17368K/19335K, paused 60ms
W/ActivityManager( 190): Activity pause timeout for ActivityRecord{4193ec50 org.apache.mobilespec/.mobilespec}
D/dalvikvm( 398): GC_FOR_ALLOC freed 1389K, 35% free 19828K/30087K, paused 29ms
D/dalvikvm( 398): GC_FOR_ALLOC freed 1626K, 34% free 20026K/30087K, paused 33ms
D/dalvikvm( 398): GC_FOR_ALLOC freed 1611K, 33% free 20240K/30087K, paused 20ms
I/Process ( 2376): Sending signal. PID: 2376 SIG: 9
W/InputManagerService( 190): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@41a39020
I/WindowManager( 190): WIN DEATH: Window{41c6bd68 Loading paused=false}
I/ActivityManager( 190): Process org.apache.mobilespec (pid 2376) has died.
I/WindowManager( 190): WIN DEATH: Window{41c85088 org.apache.mobilespec/org.apache.mobilespec.mobilespec paused=false}
{code}
--
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