Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crash: An error occured while executing doInBackground() #2

Open
DiegoRRR opened this issue Dec 2, 2018 · 4 comments
Open

crash: An error occured while executing doInBackground() #2

DiegoRRR opened this issue Dec 2, 2018 · 4 comments

Comments

@DiegoRRR
Copy link

DiegoRRR commented Dec 2, 2018

It crashes on both my ARM and x86 tablets. ( both on Android 4.4, one has ARM RK3188 SOC, the other has Intel Atom Z3735 SOC. )

From Android Studio logcat :

12-02 03:29:17.091 16579-16594/ks32.crosswalk_native D/XWalkLib: XWalk core version matched
12-02 03:29:17.101 16579-16594/ks32.crosswalk_native D/dalvikvm: DexOpt: couldn't find static field Landroid/os/Build;.SUPPORTED_ABIS
12-02 03:29:17.101 16579-16594/ks32.crosswalk_native W/dalvikvm: VFY: unable to resolve static field 585 (SUPPORTED_ABIS) in Landroid/os/Build;
12-02 03:29:17.101 16579-16594/ks32.crosswalk_native D/dalvikvm: VFY: replacing opcode 0x62 at 0x0004
12-02 03:29:17.111 16579-16594/ks32.crosswalk_native W/dalvikvm: Exception Ljava/lang/RuntimeException; thrown while initializing Lorg/xwalk/core/internal/XWalkViewDelegate;
12-02 03:29:17.111 16579-16594/ks32.crosswalk_native D/dalvikvm: Method.invoke() on bad class Lorg/xwalk/core/internal/XWalkViewDelegate; failed
12-02 03:29:17.111 16579-16594/ks32.crosswalk_native W/dalvikvm: threadid=12: thread exiting with uncaught exception (group=0x4184eba8)
> 12-02 03:29:17.121 16579-16594/ks32.crosswalk_native E/AndroidRuntime: FATAL EXCEPTION: AsyncTask #2
Process: ks32.crosswalk_native, PID: 16579
java.lang.RuntimeException: An error occured while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:300)
at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:355)
at java.util.concurrent.FutureTask.setException(FutureTask.java:222)
at java.util.concurrent.FutureTask.run(FutureTask.java:242)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:841)
Caused by: java.lang.ExceptionInInitializerError
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at org.xwalk.core.ReflectMethod.invoke(ReflectMethod.java:61)
at org.xwalk.core.XWalkCoreWrapper.checkCoreArchitecture(XWalkCoreWrapper.java:349)
at org.xwalk.core.XWalkCoreWrapper.findEmbeddedCore(XWalkCoreWrapper.java:248)
at org.xwalk.core.XWalkCoreWrapper.attachXWalkCore(XWalkCoreWrapper.java:162)
at org.xwalk.core.XWalkLibraryLoader$ActivateTask.doInBackground(XWalkLibraryLoader.java:335)
at org.xwalk.core.XWalkLibraryLoader$ActivateTask.doInBackground(XWalkLibraryLoader.java:317)
at android.os.AsyncTask$2.call(AsyncTask.java:288)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231) 
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) 
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) 
at java.lang.Thread.run(Thread.java:841) 
Caused by: java.lang.RuntimeException: Invalid reflection
at org.xwalk.core.internal.XWalkViewDelegate.(XWalkViewDelegate.java:71)
at java.lang.reflect.Method.invokeNative(Native Method) 
at java.lang.reflect.Method.invoke(Method.java:515) 
at org.xwalk.core.ReflectMethod.invoke(ReflectMethod.java:61) 
at org.xwalk.core.XWalkCoreWrapper.checkCoreArchitecture(XWalkCoreWrapper.java:349) 
at org.xwalk.core.XWalkCoreWrapper.findEmbeddedCore(XWalkCoreWrapper.java:248) 
at org.xwalk.core.XWalkCoreWrapper.attachXWalkCore(XWalkCoreWrapper.java:162) 
at org.xwalk.core.XWalkLibraryLoader$ActivateTask.doInBackground(XWalkLibraryLoader.java:335) 
at org.xwalk.core.XWalkLibraryLoader$ActivateTask.doInBackground(XWalkLibraryLoader.java:317) 
at android.os.AsyncTask$2.call(AsyncTask.java:288) 
at java.util.concurrent.FutureTask.run(FutureTask.java:237) 
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231) 
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) 
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) 
at java.lang.Thread.run(Thread.java:841) 
Caused by: java.lang.NoSuchMethodException: getAssignedPackageIdentifiers []
at java.lang.Class.getConstructorOrMethod(Class.java:472)
at java.lang.Class.getMethod(Class.java:857)
at org.xwalk.core.internal.XWalkViewDelegate.(XWalkViewDelegate.java:69)
at java.lang.reflect.Method.invokeNative(Native Method) 
at java.lang.reflect.Method.invoke(Method.java:515) 
at org.xwalk.core.ReflectMethod.invoke(ReflectMethod.java:61) 
at org.xwalk.core.XWalkCoreWrapper.checkCoreArchitecture(XWalkCoreWrapper.java:349) 
at org.xwalk.core.XWalkCoreWrapper.findEmbeddedCore(XWalkCoreWrapper.java:248) 
at org.xwalk.core.XWalkCoreWrapper.attachXWalkCore(XWalkCoreWrapper.java:162) 
at org.xwalk.core.XWalkLibraryLoader$ActivateTask.doInBackground(XWalkLibraryLoader.java:335) 
at org.xwalk.core.XWalkLibraryLoader$ActivateTask.doInBackground(XWalkLibraryLoader.java:317) 
at android.os.AsyncTask$2.call(AsyncTask.java:288) 
at java.util.concurrent.FutureTask.run(FutureTask.java:237) 
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231) 
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) 
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) 
at java.lang.Thread.run(Thread.java:841)
 
12-02 03:29:17.141 493-768/system_process W/ActivityManager: Force finishing activity ks32.crosswalk_native/.MainActivity
12-02 03:29:17.151 16579-16579/ks32.crosswalk_native D/OpenGLRenderer: Enabling debug mode 0

Please at least tell me if the error comes from my part or if it is a bug in Crosswalk.
I reinstalled Android Studio and Java, redownloaded your project, even reseted my tablet, but I still get this error.

@ks32
Copy link
Owner

ks32 commented Feb 15, 2019

I myself using older crosswalk for api =<21 due to crashes. Use crosswalk 54 for new api only.

@DiegoRRR
Copy link
Author

Thanks for your reply.
What a shame, I stopped using the old Crosswalk because it had too serious bugs in both webaudio and html5audio, and my two testing devices have Android 4.4.
I see some people are setting up a funding and you will work on it. Is there any chance a future version will be compatible again with Android older than 5 ? I think Crosswalk is especially useful for supporting older Android versions because their webview can't be used for it is obsolete and can't be updated.

@DiegoRRR
Copy link
Author

Are you still working on it ? Anything new ?

@ks32
Copy link
Owner

ks32 commented May 22, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants