java.lang.NullPointerException

Stack Overflow | Mohan | 5 months ago
  1. 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
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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 in.justickets.android.view.ExpandedListView.onDraw()
    2. in.justickets.android
      ExpandedListView.onDraw
      1. in.justickets.android.view.ExpandedListView.onDraw(ExpandedListView.java:25)
      1 frame
    3. Android Platform
      View.draw
      1. android.view.View.draw(View.java:14493)
      2. android.widget.AbsListView.draw(AbsListView.java:3869)
      3. android.view.View.getDisplayList(View.java:13390)
      4. android.view.View.getDisplayList(View.java:13432)
      5. android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3077)
      6. android.view.View.getDisplayList(View.java:13328)
      7. android.view.View.getDisplayList(View.java:13432)
      8. android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3077)
      9. android.view.View.getDisplayList(View.java:13328)
      10. android.view.View.getDisplayList(View.java:13432)
      11. android.view.View.draw(View.java:14210)
      12. android.view.ViewGroup.drawChild(ViewGroup.java:3103)
      13. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940)
      14. android.widget.AbsListView.dispatchDraw(AbsListView.java:2467)
      15. android.view.View.draw(View.java:14496)
      16. android.widget.AbsListView.draw(AbsListView.java:3869)
      17. android.view.View.getDisplayList(View.java:13390)
      18. android.view.View.getDisplayList(View.java:13432)
      19. android.view.View.draw(View.java:14210)
      20. android.view.ViewGroup.drawChild(ViewGroup.java:3103)
      21. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940)
      22. android.view.View.getDisplayList(View.java:13385)
      23. android.view.View.getDisplayList(View.java:13432)
      24. android.view.View.draw(View.java:14210)
      25. android.view.ViewGroup.drawChild(ViewGroup.java:3103)
      26. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940)
      27. android.view.View.draw(View.java:14496)
      27 frames
    4. Android Support v4
      ViewPager.draw
      1. android.support.v4.view.ViewPager.draw(ViewPager.java:2336)
      1 frame
    5. Android Platform
      FrameLayout.draw
      1. android.view.View.getDisplayList(View.java:13390)
      2. android.view.View.getDisplayList(View.java:13432)
      3. android.view.View.draw(View.java:14210)
      4. android.view.ViewGroup.drawChild(ViewGroup.java:3103)
      5. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2947)
      6. android.view.View.draw(View.java:14496)
      7. android.view.View.getDisplayList(View.java:13390)
      8. android.view.View.getDisplayList(View.java:13432)
      9. android.view.View.draw(View.java:14210)
      10. android.view.ViewGroup.drawChild(ViewGroup.java:3103)
      11. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940)
      12. android.view.View.getDisplayList(View.java:13385)
      13. android.view.View.getDisplayList(View.java:13432)
      14. android.view.View.draw(View.java:14210)
      15. android.view.ViewGroup.drawChild(ViewGroup.java:3103)
      16. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940)
      17. android.view.View.draw(View.java:14496)
      18. android.widget.FrameLayout.draw(FrameLayout.java:472)
      19. android.view.View.getDisplayList(View.java:13390)
      20. android.view.View.getDisplayList(View.java:13432)
      21. android.view.View.draw(View.java:14210)
      22. android.view.ViewGroup.drawChild(ViewGroup.java:3103)
      23. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940)
      24. android.view.View.getDisplayList(View.java:13385)
      25. android.view.View.getDisplayList(View.java:13432)
      26. android.view.View.draw(View.java:14210)
      27. android.view.ViewGroup.drawChild(ViewGroup.java:3103)
      28. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940)
      29. android.view.View.getDisplayList(View.java:13385)
      30. android.view.View.getDisplayList(View.java:13432)
      31. android.view.View.draw(View.java:14210)
      32. android.view.ViewGroup.drawChild(ViewGroup.java:3103)
      33. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940)
      34. android.view.View.getDisplayList(View.java:13385)
      35. android.view.View.getDisplayList(View.java:13432)
      36. android.view.View.draw(View.java:14210)
      37. android.view.ViewGroup.drawChild(ViewGroup.java:3103)
      38. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940)
      39. android.view.View.draw(View.java:14496)
      40. android.widget.FrameLayout.draw(FrameLayout.java:472)
      40 frames
    6. Android
      PhoneWindow$DecorView.draw
      1. com.android.internal.policy.impl.PhoneWindow$DecorView.draw(PhoneWindow.java:2326)
      1 frame
    7. Android Platform
      ActivityThread.main
      1. android.view.View.getDisplayList(View.java:13390)
      2. android.view.View.getDisplayList(View.java:13432)
      3. android.view.HardwareRenderer$GlRenderer.buildDisplayList(HardwareRenderer.java:1577)
      4. android.view.HardwareRenderer$GlRenderer.draw(HardwareRenderer.java:1451)
      5. android.view.ViewRootImpl.draw(ViewRootImpl.java:2420)
      6. android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2292)
      7. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1922)
      8. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1039)
      9. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5648)
      10. android.view.Choreographer$CallbackRecord.run(Choreographer.java:761)
      11. android.view.Choreographer.doCallbacks(Choreographer.java:574)
      12. android.view.Choreographer.doFrame(Choreographer.java:544)
      13. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:747)
      14. android.os.Handler.handleCallback(Handler.java:733)
      15. android.os.Handler.dispatchMessage(Handler.java:95)
      16. android.os.Looper.loop(Looper.java:136)
      17. android.app.ActivityThread.main(ActivityThread.java:5111)
      17 frames
    8. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Method.java)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    9. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:806)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:622)
      2 frames
    10. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(NativeStart.java)
      1 frame