cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Riccardo Vittadello (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-11286) App crash on ZenFone2 only
Date Wed, 18 May 2016 07:53:12 GMT

     [ https://issues.apache.org/jira/browse/CB-11286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Riccardo Vittadello updated CB-11286:
-------------------------------------
    Description: 
Running an app downloaded from the GooglePlay Store on a ZenFone 2 causes a crash at the very
launch of the app, while the same app is reported to work good on any other Android device.

Following is the stacktrace of the exception as gained from the developer console.

{code}
java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{it.daneasoft.numilia/it.daneasoft.numilia.MainActivity}:
java.lang.ClassNotFoundException: Didn't find class "it.daneasoft.numilia.MainActivity" on
path: DexPathList[[zip file "/data/app/it.daneasoft.numilia-1/base.apk"],nativeLibraryDirectories=[/data/app/it.daneasoft.numilia-1/lib/x86,
/vendor/lib, /system/lib]]
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2227)
	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387)
	at android.app.ActivityThread.access$800(ActivityThread.java:147)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1281)
	at android.os.Handler.dispatchMessage(Handler.java:102)
	at android.os.Looper.loop(Looper.java:135)
	at android.app.ActivityThread.main(ActivityThread.java:5264)
	at java.lang.reflect.Method.invoke(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:372)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:900)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:695)
Caused by: java.lang.ClassNotFoundException: Didn't find class "it.daneasoft.numilia.MainActivity"
on path: DexPathList[[zip file "/data/app/it.daneasoft.numilia-1/base.apk"],nativeLibraryDirectories=[/data/app/it.daneasoft.numilia-1/lib/x86,
/vendor/lib, /system/lib]]
	at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
	at android.app.Instrumentation.newActivity(Instrumentation.java:1065)
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2217)
	... 10 more
	Suppressed: java.lang.NoClassDefFoundError: it.daneasoft.numilia.MainActivity
		at dalvik.system.DexFile.defineClassNative(Native Method)
		at dalvik.system.DexFile.defineClass(DexFile.java:226)
		at dalvik.system.DexFile.loadClassBinaryName(DexFile.java:219)
		at dalvik.system.DexPathList.findClass(DexPathList.java:321)
		at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:54)
		... 14 more
	Suppressed: java.lang.ClassNotFoundException: it.daneasoft.numilia.MainActivity
		at java.lang.Class.classForName(Native Method)
		at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
		at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
		at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
		... 13 more
Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no
stack available
{code}

  was:
Running an app downloaded from the GooglePlay Store on a ZenFone 2 causes a crash at the very
launch of the app, while the same app is reported to work good on any other Android device.

Following is the stacktrace of the exception as gained from the developer console.

{quote}
java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{it.daneasoft.numilia/it.daneasoft.numilia.MainActivity}:
java.lang.ClassNotFoundException: Didn't find class "it.daneasoft.numilia.MainActivity" on
path: DexPathList[[zip file "/data/app/it.daneasoft.numilia-1/base.apk"],nativeLibraryDirectories=[/data/app/it.daneasoft.numilia-1/lib/x86,
/vendor/lib, /system/lib]]
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2227)
	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387)
	at android.app.ActivityThread.access$800(ActivityThread.java:147)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1281)
	at android.os.Handler.dispatchMessage(Handler.java:102)
	at android.os.Looper.loop(Looper.java:135)
	at android.app.ActivityThread.main(ActivityThread.java:5264)
	at java.lang.reflect.Method.invoke(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:372)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:900)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:695)
Caused by: java.lang.ClassNotFoundException: Didn't find class "it.daneasoft.numilia.MainActivity"
on path: DexPathList[[zip file "/data/app/it.daneasoft.numilia-1/base.apk"],nativeLibraryDirectories=[/data/app/it.daneasoft.numilia-1/lib/x86,
/vendor/lib, /system/lib]]
	at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
	at android.app.Instrumentation.newActivity(Instrumentation.java:1065)
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2217)
	... 10 more
	Suppressed: java.lang.NoClassDefFoundError: it.daneasoft.numilia.MainActivity
		at dalvik.system.DexFile.defineClassNative(Native Method)
		at dalvik.system.DexFile.defineClass(DexFile.java:226)
		at dalvik.system.DexFile.loadClassBinaryName(DexFile.java:219)
		at dalvik.system.DexPathList.findClass(DexPathList.java:321)
		at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:54)
		... 14 more
	Suppressed: java.lang.ClassNotFoundException: it.daneasoft.numilia.MainActivity
		at java.lang.Class.classForName(Native Method)
		at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
		at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
		at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
		... 13 more
Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no
stack available
{quote}


> App crash on ZenFone2 only
> --------------------------
>
>                 Key: CB-11286
>                 URL: https://issues.apache.org/jira/browse/CB-11286
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 6.1.1
>         Environment: ZenFone 2 (Android 5.0)
>            Reporter: Riccardo Vittadello
>            Priority: Critical
>
> Running an app downloaded from the GooglePlay Store on a ZenFone 2 causes a crash at
the very launch of the app, while the same app is reported to work good on any other Android
device.
> Following is the stacktrace of the exception as gained from the developer console.
> {code}
> java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{it.daneasoft.numilia/it.daneasoft.numilia.MainActivity}:
java.lang.ClassNotFoundException: Didn't find class "it.daneasoft.numilia.MainActivity" on
path: DexPathList[[zip file "/data/app/it.daneasoft.numilia-1/base.apk"],nativeLibraryDirectories=[/data/app/it.daneasoft.numilia-1/lib/x86,
/vendor/lib, /system/lib]]
> 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2227)
> 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387)
> 	at android.app.ActivityThread.access$800(ActivityThread.java:147)
> 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1281)
> 	at android.os.Handler.dispatchMessage(Handler.java:102)
> 	at android.os.Looper.loop(Looper.java:135)
> 	at android.app.ActivityThread.main(ActivityThread.java:5264)
> 	at java.lang.reflect.Method.invoke(Native Method)
> 	at java.lang.reflect.Method.invoke(Method.java:372)
> 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:900)
> 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:695)
> Caused by: java.lang.ClassNotFoundException: Didn't find class "it.daneasoft.numilia.MainActivity"
on path: DexPathList[[zip file "/data/app/it.daneasoft.numilia-1/base.apk"],nativeLibraryDirectories=[/data/app/it.daneasoft.numilia-1/lib/x86,
/vendor/lib, /system/lib]]
> 	at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
> 	at android.app.Instrumentation.newActivity(Instrumentation.java:1065)
> 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2217)
> 	... 10 more
> 	Suppressed: java.lang.NoClassDefFoundError: it.daneasoft.numilia.MainActivity
> 		at dalvik.system.DexFile.defineClassNative(Native Method)
> 		at dalvik.system.DexFile.defineClass(DexFile.java:226)
> 		at dalvik.system.DexFile.loadClassBinaryName(DexFile.java:219)
> 		at dalvik.system.DexPathList.findClass(DexPathList.java:321)
> 		at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:54)
> 		... 14 more
> 	Suppressed: java.lang.ClassNotFoundException: it.daneasoft.numilia.MainActivity
> 		at java.lang.Class.classForName(Native Method)
> 		at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
> 		at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
> 		at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
> 		... 13 more
> Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader;
no stack available
> {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


Mime
View raw message