java.lang.NullPointerException

Stack Overflow | William Smith | 4 months ago
  1. 0

    NPE in CacheDetailActivity

    GitHub | 1 year ago | Lineflyer
    java.lang.IllegalStateException: Exception thrown on Scheduler.Worker thread. Add `onError` handling.
  2. 0

    IllegalStateException: Fatal Exception thrown on Scheduler.Worker thread

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

    Automated exception search integrated into your IDE

  4. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

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:343)
    1 frame
  3. com.omitted
    CalculatorFragment.onCreateView
    1. com.omitted.LogFragment.reset(LogFragment.java:156)
    2. com.omitted.LogPresenter.reset(LogPresenter.java:35)
    3. com.omitted.CalculatorModel.doReset(CalculatorModel.java:251)
    4. com.omitted.CalculatorPresenter.onResetClicked(CalculatorPresenter.java:107)
    5. com.omitted.CalculatorFragment.reset(CalculatorFragment.java:130)
    6. com.omitted.CalculatorFragment.onCreateView(CalculatorFragment.java:97)
    6 frames
  4. Android Support v4
    ViewPager.onMeasure
    1. android.support.v4.app.Fragment.performCreateView(Fragment.java:1974)
    2. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1067)
    3. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1252)
    4. android.support.v4.app.BackStackRecord.run(BackStackRecord.java:742)
    5. android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1617)
    6. android.support.v4.app.FragmentManagerImpl.executePendingTransactions(FragmentManager.java:570)
    7. android.support.v4.app.FragmentPagerAdapter.finishUpdate(FragmentPagerAdapter.java:141)
    8. android.support.v4.view.ViewPager.populate(ViewPager.java:1177)
    9. android.support.v4.view.ViewPager.populate(ViewPager.java:1025)
    10. android.support.v4.view.ViewPager.onMeasure(ViewPager.java:1545)
    10 frames
  5. Android Platform
    ViewGroup.measureChildWithMargins
    1. android.view.View.measure(View.java:16497)
    2. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5125)
    2 frames
  6. android.support.design
    CoordinatorLayout.onMeasure
    1. android.support.design.widget.CoordinatorLayout.onMeasureChild(CoordinatorLayout.java:668)
    2. android.support.design.widget.CoordinatorLayout.onMeasure(CoordinatorLayout.java:735)
    2 frames
  7. Android Platform
    FrameLayout.onMeasure
    1. android.view.View.measure(View.java:16497)
    2. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5125)
    3. android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    3 frames
  8. Android v7
    ContentFrameLayout.onMeasure
    1. android.support.v7.widget.ContentFrameLayout.onMeasure(ContentFrameLayout.java:135)
    1 frame
  9. Android Platform
    FrameLayout.onMeasure
    1. android.view.View.measure(View.java:16497)
    2. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5125)
    3. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1404)
    4. android.widget.LinearLayout.measureVertical(LinearLayout.java:695)
    5. android.widget.LinearLayout.onMeasure(LinearLayout.java:588)
    6. android.view.View.measure(View.java:16497)
    7. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5125)
    8. android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    9. android.view.View.measure(View.java:16497)
    10. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5125)
    11. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1404)
    12. android.widget.LinearLayout.measureVertical(LinearLayout.java:695)
    13. android.widget.LinearLayout.onMeasure(LinearLayout.java:588)
    14. android.view.View.measure(View.java:16497)
    15. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5125)
    16. android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    16 frames
  10. Android
    PhoneWindow$DecorView.onMeasure
    1. com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2291)
    1 frame
  11. Android Platform
    Looper.loop
    1. android.view.View.measure(View.java:16497)
    2. android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:1916)
    3. android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1113)
    4. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1295)
    5. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1000)
    6. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5670)
    7. android.view.Choreographer$CallbackRecord.run(Choreographer.java:761)
    8. android.view.Choreographer.doCallbacks(Choreographer.java:574)
    9. android.view.Choreographer.doFrame(Choreographer.java:544)
    10. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:747)
    11. android.os.Handler.handleCallback(Handler.java:733)
    12. android.os.Handler.dispatchMessage(Handler.java:95)
    13. android.os.Looper.loop(Looper.java:136)
    13 frames