java.lang.IllegalStateException

Fatal Exception thrown on Scheduler.Worker thread.

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1

  • via GitHub by ltigers
    ,
  • Stack trace

    • java.lang.IllegalStateException: Fatal Exception thrown on Scheduler.Worker thread. at rx.android.schedulers.LooperScheduler$ScheduledAction.run(SourceFile:114) at android.os.Handler.handleCallback(Handler.java:756) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5263) 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:903) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698) Caused by: rx.exceptions.OnErrorFailedException: Error occurred when trying to propagate error to Observer.onError at rx.observers.SafeSubscriber._onError(SourceFile:187) at rx.observers.SafeSubscriber.onError(SourceFile:115) at rx.exceptions.Exceptions.throwOrReport(SourceFile:216) at rx.observers.SafeSubscriber.onNext(SourceFile:139) at rx.internal.operators.OperatorObserveOn$ObserveOnSubscriber.call(SourceFile:224) at rx.android.schedulers.LooperScheduler$ScheduledAction.run(SourceFile:107) ... 8 more Caused by: rx.exceptions.CompositeException: 2 exceptions occurred. ... 14 more Caused by: rx.exceptions.CompositeException$CompositeExceptionCausalChain: Chain of Causes for CompositeException In Order Received => at android.util.Log.getStackTraceString(Log.java:335) at android.util.Log.e(Log.java:243) at com.tencent.legu.stat.common.StatLogger.error(Unknown Source) at com.tencent.legu.stat.ar.uncaughtException(Unknown Source) at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693) at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690) at rx.android.schedulers.LooperScheduler$ScheduledAction.run(SourceFile:118) ... 8 more Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.cntysoft.pulltorefresh.PullToRefreshRecyclerView.setPullLoadEnabled(boolean)' on a null object reference at im.pica.pica.ui.TemplateActivity$3.a(SourceFile:175) at im.pica.pica.ui.TemplateActivity$3.onNext(SourceFile:146) at rx.observers.SafeSubscriber.onNext(SourceFile:134) at rx.internal.operators.OperatorObserveOn$ObserveOnSubscriber.call(SourceFile:224) at rx.android.schedulers.LooperScheduler$ScheduledAction.run(SourceFile:107) ... 8 more Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setVisibility(int)' on a null object reference at im.pica.pica.ui.TemplateActivity$3.onError(SourceFile:162) at rx.observers.SafeSubscriber._onError(SourceFile:153) at rx.observers.SafeSubscriber.onError(SourceFile:115) at rx.exceptions.Exceptions.throwOrReport(SourceFile:216) at rx.observers.SafeSubscriber.onNext(SourceFile:139) ... 10 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.