java.lang.NullPointerException

GitHub | Lineflyer | 2 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    IllegalStateException: Fatal Exception thrown on Scheduler.Worker thread

    GitHub | 6 months ago | rsudev
    java.lang.IllegalStateException: Fatal Exception thrown on Scheduler.Worker thread.
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at butterknife.ButterKnife.findById()
  2. Butter Knife
    ButterKnife.findById
    1. butterknife.ButterKnife.findById(ButterKnife.java:380)
    1 frame
  3. cgeo.geocaching
    CacheDetailActivity$DetailsViewCreator$2.onItemClick
    1. cgeo.geocaching.CacheDetailActivity$DetailsViewCreator.toggleAttributesView(CacheDetailActivity.java:1036)
    2. cgeo.geocaching.CacheDetailActivity$DetailsViewCreator$2.onItemClick(CacheDetailActivity.java:1030)
    2 frames
  4. Android Platform
    ViewGroup.removeView
    1. android.widget.AdapterView.performItemClick(AdapterView.java:308)
    2. android.widget.AbsListView.performItemClick(AbsListView.java:1476)
    3. android.widget.AbsListView$PerformClick.run(AbsListView.java:3497)
    4. android.widget.AbsListView$3.run(AbsListView.java:4814)
    5. android.widget.AbsListView.onDetachedFromWindow(AbsListView.java:3316)
    6. android.view.View.dispatchDetachedFromWindow(View.java:13462)
    7. android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:2791)
    8. android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:2789)
    9. android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:2789)
    10. android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:2789)
    11. android.view.ViewGroup.removeViewInternal(ViewGroup.java:4056)
    12. android.view.ViewGroup.removeViewInternal(ViewGroup.java:4029)
    13. android.view.ViewGroup.removeView(ViewGroup.java:3961)
    13 frames
  5. Android Support v4
    ViewPager.removeView
    1. android.support.v4.view.ViewPager.removeView(ViewPager.java:1326)
    1 frame
  6. cgeo.geocaching.activity
    AbstractViewPagerActivity$ViewPagerAdapter.destroyItem
    1. cgeo.geocaching.activity.AbstractViewPagerActivity$ViewPagerAdapter.destroyItem(AbstractViewPagerActivity.java:130)
    1 frame
  7. Android Support v4
    ViewPager$PagerObserver.onChanged
    1. android.support.v4.view.ViewPager.dataSetChanged(ViewPager.java:874)
    2. android.support.v4.view.ViewPager$PagerObserver.onChanged(ViewPager.java:2824)
    2 frames
  8. Android Platform
    DataSetObservable.notifyChanged
    1. android.database.DataSetObservable.notifyChanged(DataSetObservable.java:37)
    1 frame
  9. Android Support v4
    PagerAdapter.notifyDataSetChanged
    1. android.support.v4.view.PagerAdapter.notifyDataSetChanged(PagerAdapter.java:276)
    1 frame
  10. cgeo.geocaching.activity
    AbstractViewPagerActivity.reinitializeViewPager
    1. cgeo.geocaching.activity.AbstractViewPagerActivity.reinitializeViewPager(AbstractViewPagerActivity.java:289)
    1 frame
  11. cgeo.geocaching
    CacheDetailActivity.onLoadFinished
    1. cgeo.geocaching.CacheDetailActivity.notifyDataSetChanged(CacheDetailActivity.java:744)
    2. cgeo.geocaching.CacheDetailActivity.onLoadFinished(CacheDetailActivity.java:215)
    3. cgeo.geocaching.CacheDetailActivity.onLoadFinished(CacheDetailActivity.java:153)
    3 frames
  12. Android Support v4
    ModernAsyncTask$InternalHandler.handleMessage
    1. android.support.v4.app.LoaderManagerImpl$LoaderInfo.callOnLoadFinished(LoaderManager.java:427)
    2. android.support.v4.app.LoaderManagerImpl$LoaderInfo.onLoadComplete(LoaderManager.java:395)
    3. android.support.v4.content.Loader.deliverResult(Loader.java:104)
    4. android.support.v4.content.AsyncTaskLoader.dispatchOnLoadComplete(AsyncTaskLoader.java:223)
    5. android.support.v4.content.AsyncTaskLoader$LoadTask.onPostExecute(AsyncTaskLoader.java:61)
    6. android.support.v4.content.ModernAsyncTask.finish(ModernAsyncTask.java:461)
    7. android.support.v4.content.ModernAsyncTask.access$500(ModernAsyncTask.java:47)
    8. android.support.v4.content.ModernAsyncTask$InternalHandler.handleMessage(ModernAsyncTask.java:474)
    8 frames
  13. Android Platform
    ActivityThread.main
    1. android.os.Handler.dispatchMessage(Handler.java:102)
    2. android.os.Looper.loop(Looper.java:157)
    3. android.app.ActivityThread.main(ActivityThread.java:5335)
    3 frames
  14. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  15. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)
    2 frames
  16. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame