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

Stats crash #411

Closed
roundhill opened this issue Dec 8, 2013 · 0 comments · Fixed by #419
Closed

Stats crash #411

roundhill opened this issue Dec 8, 2013 · 0 comments · Fixed by #419
Milestone

Comments

@roundhill
Copy link
Contributor

When loading stats for a large site, I get this:

FATAL EXCEPTION: main
    java.util.concurrent.RejectedExecutionException: Task android.support.v4.content.ModernAsyncTask$3@b18efc10 rejected from java.util.concurrent.ThreadPoolExecutor@b152b0b8[Running, pool size = 128, active threads = 127, queued tasks = 10, completed tasks = 50]
            at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:1979)
            at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:786)
            at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1307)
            at android.support.v4.content.ModernAsyncTask.executeOnExecutor(ModernAsyncTask.java:423)
            at android.support.v4.content.AsyncTaskLoader.executePendingTask(AsyncTaskLoader.java:195)
            at android.support.v4.content.AsyncTaskLoader.onForceLoad(AsyncTaskLoader.java:115)
            at android.support.v4.content.Loader.forceLoad(Loader.java:218)
            at android.support.v4.content.CursorLoader.onStartLoading(CursorLoader.java:121)
            at android.support.v4.content.Loader.startLoading(Loader.java:198)
            at android.support.v4.app.LoaderManagerImpl$LoaderInfo.start(LoaderManager.java:265)
            at android.support.v4.app.LoaderManagerImpl.installLoader(LoaderManager.java:513)
            at android.support.v4.app.LoaderManagerImpl.createAndInstallLoader(LoaderManager.java:500)
            at android.support.v4.app.LoaderManagerImpl.restartLoader(LoaderManager.java:646)
            at org.wordpress.android.ui.stats.StatsCursorTreeFragment.onLoadFinished(StatsCursorTreeFragment.java:188)
            at org.wordpress.android.ui.stats.StatsCursorTreeFragment.onLoadFinished(StatsCursorTreeFragment.java:49)
            at android.support.v4.app.LoaderManagerImpl$LoaderInfo.callOnLoadFinished(LoaderManager.java:427)
            at android.support.v4.app.LoaderManagerImpl$LoaderInfo.onLoadComplete(LoaderManager.java:395)
            at android.support.v4.content.Loader.deliverResult(Loader.java:104)
            at android.support.v4.content.CursorLoader.deliverResult(CursorLoader.java:73)
            at android.support.v4.content.CursorLoader.deliverResult(CursorLoader.java:35)
            at android.support.v4.content.AsyncTaskLoader.dispatchOnLoadComplete(AsyncTaskLoader.java:223)
            at android.support.v4.content.AsyncTaskLoader$LoadTask.onPostExecute(AsyncTaskLoader.java:61)
            at android.support.v4.content.ModernAsyncTask.finish(ModernAsyncTask.java:461)
            at android.support.v4.content.ModernAsyncTask.access$500(ModernAsyncTask.java:47)
            at android.support.v4.content.ModernAsyncTask$InternalHandler.handleMessage(ModernAsyncTask.java:474)
            at android.os.Handler.dispatchMessage(Handler.java:99)
            at android.os.Looper.loop(Looper.java:137)
            at android.app.ActivityThread.main(ActivityThread.java:5103)
            at java.lang.reflect.Method.invokeNative(Native Method)
            at java.lang.reflect.Method.invoke(Method.java:525)
            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
            at dalvik.system.NativeStart.main(Native Method)
roundhill added a commit that referenced this issue Dec 9, 2013
roundhill added a commit that referenced this issue Dec 9, 2013
… number of ‘list’ type stats fragments to the STATS_GROUP_MAX_ITEMS constant value at the sql level.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant