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

The new build crashes after searching anything #7

Closed
chanibal opened this issue Feb 12, 2014 · 5 comments
Closed

The new build crashes after searching anything #7

chanibal opened this issue Feb 12, 2014 · 5 comments

Comments

@chanibal
Copy link

Tested on Samsung Galaxy SII, Android 4.0.3/cyanogenmod.

ADSDroid 1.5 (built from an hour ago)

While searching for "TSOP 4838":

W/dalvikvm(28294): Exception Ljava/lang/NullPointerException; thrown while initializing La/a/b/k;
W/dalvikvm(28294): Exception Ljava/lang/ExceptionInInitializerError; thrown while initializing La/a/b/l;
W/dalvikvm(28294): threadid=11: thread exiting with uncaught exception (group=0x40a2a1f8)
E/AndroidRuntime(28294): FATAL EXCEPTION: AsyncTask #1
E/AndroidRuntime(28294): java.lang.RuntimeException: An error occured while executing doInBackground()
E/AndroidRuntime(28294):    at android.os.AsyncTask$3.done(AsyncTask.java:278)
E/AndroidRuntime(28294):    at java.util.concurrent.FutureTask$Sync.innerSetException(FutureTask.java:273)
E/AndroidRuntime(28294):    at java.util.concurrent.FutureTask.setException(FutureTask.java:124)
E/AndroidRuntime(28294):    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:307)
E/AndroidRuntime(28294):    at java.util.concurrent.FutureTask.run(FutureTask.java:137)
E/AndroidRuntime(28294):    at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:208)
E/AndroidRuntime(28294):    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
E/AndroidRuntime(28294):    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
E/AndroidRuntime(28294):    at java.lang.Thread.run(Thread.java:856)
E/AndroidRuntime(28294): Caused by: java.lang.ExceptionInInitializerError
E/AndroidRuntime(28294):    at a.a.b.f.<init>(Unknown Source)
E/AndroidRuntime(28294):    at a.a.b.e.<init>(Unknown Source)
E/AndroidRuntime(28294):    at a.a.c.di.b(Unknown Source)
E/AndroidRuntime(28294):    at a.a.c.di.a(Unknown Source)
E/AndroidRuntime(28294):    at a.a.c.b.a(Unknown Source)
E/AndroidRuntime(28294):    at a.a.c.ae.a(Unknown Source)
E/AndroidRuntime(28294):    at a.a.a.a.a(Unknown Source)
E/AndroidRuntime(28294):    at a.a.a.j.e(Unknown Source)
E/AndroidRuntime(28294):    at a.a.a.e.b(Unknown Source)
E/AndroidRuntime(28294):    at hu.vsza.a.b.searchByPartName(Unknown Source)
E/AndroidRuntime(28294):    at hu.vsza.adsdroid.c.a(Unknown Source)
E/AndroidRuntime(28294):    at hu.vsza.adsdroid.c.doInBackground(Unknown Source)
E/AndroidRuntime(28294):    at android.os.AsyncTask$2.call(AsyncTask.java:264)
E/AndroidRuntime(28294):    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
E/AndroidRuntime(28294):    ... 5 more
E/AndroidRuntime(28294): Caused by: java.lang.ExceptionInInitializerError
E/AndroidRuntime(28294):    at a.a.b.l.<clinit>(Unknown Source)
E/AndroidRuntime(28294):    ... 19 more
E/AndroidRuntime(28294): Caused by: java.lang.NullPointerException
E/AndroidRuntime(28294):    at java.util.Properties.load(Properties.java:246)
E/AndroidRuntime(28294):    at a.a.b.k.d(Unknown Source)
E/AndroidRuntime(28294):    at a.a.b.k.<clinit>(Unknown Source)
E/AndroidRuntime(28294):    ... 20 more
W/ActivityManager( 1798):   Force finishing activity hu.vsza.adsdroid/.SearchPanel
(...)
E/WindowManager(28294): Activity hu.vsza.adsdroid.SearchPanel has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@41380cf8 that was originally added here
E/WindowManager(28294): android.view.WindowLeaked: Activity hu.vsza.adsdroid.SearchPanel has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@41380cf8 that was originally added here
E/WindowManager(28294):     at android.view.ViewRootImpl.<init>(ViewRootImpl.java:344)
E/WindowManager(28294):     at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:267)
E/WindowManager(28294):     at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:215)
E/WindowManager(28294):     at android.view.WindowManagerImpl$CompatModeWrapper.addView(WindowManagerImpl.java:140)
E/WindowManager(28294):     at android.view.Window$LocalWindowManager.addView(Window.java:537)
E/WindowManager(28294):     at android.app.Dialog.show(Dialog.java:278)
E/WindowManager(28294):     at hu.vsza.adsdroid.c.onPreExecute(Unknown Source)
E/WindowManager(28294):     at android.os.AsyncTask.executeOnExecutor(AsyncTask.java:561)
E/WindowManager(28294):     at android.os.AsyncTask.execute(AsyncTask.java:511)
E/WindowManager(28294):     at hu.vsza.adsdroid.SearchPanel.searchByPartName(Unknown Source)
E/WindowManager(28294):     at java.lang.reflect.Method.invokeNative(Native Method)
E/WindowManager(28294):     at java.lang.reflect.Method.invoke(Method.java:511)
E/WindowManager(28294):     at android.view.View$1.onClick(View.java:3039)
E/WindowManager(28294):     at android.view.View.performClick(View.java:3511)
E/WindowManager(28294):     at android.view.View$PerformClick.run(View.java:14105)
E/WindowManager(28294):     at android.os.Handler.handleCallback(Handler.java:605)
E/WindowManager(28294):     at android.os.Handler.dispatchMessage(Handler.java:92)
E/WindowManager(28294):     at android.os.Looper.loop(Looper.java:137)
E/WindowManager(28294):     at android.app.ActivityThread.main(ActivityThread.java:4424)
E/WindowManager(28294):     at java.lang.reflect.Method.invokeNative(Native Method)
E/WindowManager(28294):     at java.lang.reflect.Method.invoke(Method.java:511)
E/WindowManager(28294):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
E/WindowManager(28294):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
E/WindowManager(28294):     at dalvik.system.NativeStart.main(Native Method)
(...)
E/JavaBinder( 1798): !!! FAILED BINDER TRANSACTION !!!
E/JavaBinder( 1798): !!! FAILED BINDER TRANSACTION !!!
W/ActivityManager( 1798): Failure sending broadcast Intent { act=android.intent.action.PACKAGE_REMOVED dat=package:hu.vsza.adsdroid flg=0x10000010 (has extras) }
W/ActivityManager( 1798): android.os.TransactionTooLargeException
W/ActivityManager( 1798):   at android.os.BinderProxy.transact(Native Method)
W/ActivityManager( 1798):   at android.app.ApplicationThreadProxy.scheduleRegisteredReceiver(ApplicationThreadNative.java:946)
W/ActivityManager( 1798):   at com.android.server.am.ActivityManagerService.performReceiveLocked(ActivityManagerService.java:12826)
W/ActivityManager( 1798):   at com.android.server.am.ActivityManagerService.deliverToRegisteredReceiverLocked(ActivityManagerService.java:12891)
W/ActivityManager( 1798):   at com.android.server.am.ActivityManagerService.processNextBroadcast(ActivityManagerService.java:12949)
W/ActivityManager( 1798):   at com.android.server.am.ActivityManagerService.access$100(ActivityManagerService.java:151)
W/ActivityManager( 1798):   at com.android.server.am.ActivityManagerService$2.handleMessage(ActivityManagerService.java:993)
W/ActivityManager( 1798):   at android.os.Handler.dispatchMessage(Handler.java:99)
W/ActivityManager( 1798):   at android.os.Looper.loop(Looper.java:137)
W/ActivityManager( 1798):   at com.android.server.am.ActivityManagerService$AThread.run(ActivityManagerService.java:1414)
@dnet
Copy link
Owner

dnet commented Feb 12, 2014

Thanks, it worked well without ProGuard, that's why I missed it. I rebuilt the release with 1.6.2, it should work now.

@dnet dnet closed this as completed Feb 12, 2014
@chanibal
Copy link
Author

Verified on SGS2/4.0.3, it works now. Thanks.

@ildar
Copy link

ildar commented May 26, 2014

You should make a release with this fix. The double 1.5 approach is very bad, see https://f-droid.org/forums/topic/adsdroid/#post-11301

@dnet
Copy link
Owner

dnet commented May 26, 2014

The source code hasn't changed a bit. F-Droid is supposed to build it from scratch, so that shouldn't be affected as well. However since I did a small fix since, I bumped the number, see https://github.com/dnet/adsdroid/releases/tag/v1.5.1

@ildar
Copy link

ildar commented May 26, 2014

Thanks a lot, that's what I thought of.

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

3 participants