Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by geogie
, 1 year ago
Fatal Exception thrown on Scheduler.Worker thread.
via GitHub by rsudev
, 1 year ago
Fatal Exception thrown on Scheduler.Worker thread.
via GitHub by paulkramme
, 1 year ago
Fatal Exception thrown on Scheduler.Worker thread.
via GitHub by FarbodSalamat-Zadeh
, 1 year ago
Fatal Exception thrown on Scheduler.Worker thread.
via GitHub by adelq
, 1 year ago
Fatal Exception thrown on Scheduler.Worker thread.
via GitHub by qbraet
, 2 years ago
Fatal Exception thrown on Scheduler.Worker thread.
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.content.Context.getPackageName()' on a null object reference	at android.preference.PreferenceManager.getDefaultSharedPreferencesName(PreferenceManager.java:374)	at android.preference.PreferenceManager.getDefaultSharedPreferences(PreferenceManager.java:369)	at com.alorma.github.ui.fragment.base.BaseFragment.isDarkTheme(BaseFragment.java:83)	at com.alorma.github.ui.fragment.base.BaseFragment.getTheme(BaseFragment.java:68)	at com.alorma.github.ui.fragment.base.BaseFragment.getContext(BaseFragment.java:49)	at com.alorma.github.ui.fragment.base.LoadingListFragment.setEmpty(LoadingListFragment.java:205)	at com.alorma.github.ui.fragment.commit.CommitStatusFragment$StatusCallback.onError(CommitStatusFragment.java:117)	at rx.observers.SafeSubscriber._onError(SafeSubscriber.java:157)	at rx.observers.SafeSubscriber.onError(SafeSubscriber.java:120)	at rx.exceptions.Exceptions.throwOrReport(Exceptions.java:201)	at rx.observers.SafeSubscriber.onNext(SafeSubscriber.java:144)	at rx.internal.operators.OperatorMap$1.onNext(OperatorMap.java:54)	at rx.internal.operators.OperatorObserveOn$ObserveOnSubscriber.call(OperatorObserveOn.java:215)	at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:55)	at android.os.Handler.handleCallback(Handler.java:739)	at android.os.Handler.dispatchMessage(Handler.java:95)	at android.os.Looper.loop(Looper.java:145)	at android.app.ActivityThread.main(ActivityThread.java:5832)	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:1399)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)