java.lang.NullPointerException

Stack Overflow | Arnaud | 10 months 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

    Change mupdf layout under android

    Stack Overflow | 10 months ago | Arnaud
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.artifex.mupdfdemo.ChoosePDFAdapter.getView()
    2. com.artifex.mupdfdemo
      ChoosePDFAdapter.getView
      1. com.artifex.mupdfdemo.ChoosePDFAdapter.getView(ChoosePDFAdapter.java:60)
      1 frame
    3. Android Platform
      ActivityThread.main
      1. android.widget.AbsListView.obtainView(AbsListView.java:2255)
      2. android.widget.ListView.makeAndAddView(ListView.java:1790)
      3. android.widget.ListView.fillDown(ListView.java:691)
      4. android.widget.ListView.fillFromTop(ListView.java:752)
      5. android.widget.ListView.layoutChildren(ListView.java:1616)
      6. android.widget.AbsListView.onLayout(AbsListView.java:2087)
      7. android.view.View.layout(View.java:14841)
      8. android.view.ViewGroup.layout(ViewGroup.java:4631)
      9. android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)
      10. android.widget.FrameLayout.onLayout(FrameLayout.java:388)
      11. android.view.View.layout(View.java:14841)
      12. android.view.ViewGroup.layout(ViewGroup.java:4631)
      13. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1717)
      14. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1571)
      15. android.widget.LinearLayout.onLayout(LinearLayout.java:1480)
      16. android.view.View.layout(View.java:14841)
      17. android.view.ViewGroup.layout(ViewGroup.java:4631)
      18. android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)
      19. android.widget.FrameLayout.onLayout(FrameLayout.java:388)
      20. android.view.View.layout(View.java:14841)
      21. android.view.ViewGroup.layout(ViewGroup.java:4631)
      22. android.view.ViewRootImpl.performLayout(ViewRootImpl.java:1986)
      23. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1743)
      24. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:996)
      25. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5603)
      26. android.view.Choreographer$CallbackRecord.run(Choreographer.java:761)
      27. android.view.Choreographer.doCallbacks(Choreographer.java:574)
      28. android.view.Choreographer.doFrame(Choreographer.java:544)
      29. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:747)
      30. android.os.Handler.handleCallback(Handler.java:733)
      31. android.os.Handler.dispatchMessage(Handler.java:95)
      32. android.os.Looper.loop(Looper.java:136)
      33. android.app.ActivityThread.main(ActivityThread.java:5146)
      33 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    5. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:732)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:566)
      2 frames
    6. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame