java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.owncloud.android.datamodel.OCFile.getMimetype()' on a null object reference

GitHub | gsurrel | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Crash on deleting three local+remote files with latestF-Droid beta release(20160621)

    GitHub | 8 months ago | gsurrel
    java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.owncloud.android.datamodel.OCFile.getMimetype()' on a null object reference
  2. 0

    GitHub comment 31#226719002

    GitHub | 8 months ago | rhoeden
    java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.owncloud.android.datamodel.OCFile.getMimetype()' on a null object reference

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke virtual method 'java.lang.String com.owncloud.android.datamodel.OCFile.getMimetype()' on a null object reference

      at com.owncloud.android.ui.fragment.OCFileListFragment.checkSendable()
    2. com.owncloud.android
      OCFileListFragment$10.onItemCheckedStateChanged
      1. com.owncloud.android.ui.fragment.OCFileListFragment.checkSendable(OCFileListFragment.java:455)
      2. com.owncloud.android.ui.fragment.OCFileListFragment.access$400(OCFileListFragment.java:81)
      3. com.owncloud.android.ui.fragment.OCFileListFragment$10.onItemCheckedStateChanged(OCFileListFragment.java:400)
      3 frames
    3. Android Platform
      ViewGroup.layout
      1. android.widget.AbsListView$MultiChoiceModeWrapper.onItemCheckedStateChanged(AbsListView.java:6287)
      2. android.widget.AbsListView.confirmCheckedPositionsById(AbsListView.java:5327)
      3. android.widget.AbsListView.handleDataChanged(AbsListView.java:5348)
      4. android.widget.ListView.layoutChildren(ListView.java:1563)
      5. android.widget.AbsListView.onLayout(AbsListView.java:2148)
      6. android.view.View.layout(View.java:16639)
      7. android.view.ViewGroup.layout(ViewGroup.java:5437)
      7 frames
    4. Android Support v4
      SwipeRefreshLayout.onLayout
      1. android.support.v4.widget.SwipeRefreshLayout.onLayout(SwipeRefreshLayout.java:584)
      1 frame
    5. Android Platform
      ViewGroup.layout
      1. android.view.View.layout(View.java:16639)
      2. android.view.ViewGroup.layout(ViewGroup.java:5437)
      3. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
      4. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
      5. android.view.View.layout(View.java:16639)
      6. android.view.ViewGroup.layout(ViewGroup.java:5437)
      7. android.widget.RelativeLayout.onLayout(RelativeLayout.java:1079)
      8. android.view.View.layout(View.java:16639)
      9. android.view.ViewGroup.layout(ViewGroup.java:5437)
      10. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
      11. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
      12. android.view.View.layout(View.java:16639)
      13. android.view.ViewGroup.layout(ViewGroup.java:5437)
      14. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1735)
      15. android.widget.LinearLayout.layoutHorizontal(LinearLayout.java:1724)
      16. android.widget.LinearLayout.onLayout(LinearLayout.java:1490)
      17. android.view.View.layout(View.java:16639)
      18. android.view.ViewGroup.layout(ViewGroup.java:5437)
      19. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1735)
      20. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1579)
      21. android.widget.LinearLayout.onLayout(LinearLayout.java:1488)
      22. android.view.View.layout(View.java:16639)
      23. android.view.ViewGroup.layout(ViewGroup.java:5437)
      23 frames
    6. Android Support v4
      DrawerLayout.onLayout
      1. android.support.v4.widget.DrawerLayout.onLayout(DrawerLayout.java:1043)
      1 frame
    7. Android Platform
      FrameLayout.onLayout
      1. android.view.View.layout(View.java:16639)
      2. android.view.ViewGroup.layout(ViewGroup.java:5437)
      3. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
      4. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
      5. android.view.View.layout(View.java:16639)
      6. android.view.ViewGroup.layout(ViewGroup.java:5437)
      7. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
      8. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
      9. android.view.View.layout(View.java:16639)
      10. android.view.ViewGroup.layout(ViewGroup.java:5437)
      11. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
      12. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
      13. android.view.View.layout(View.java:16639)
      14. android.view.ViewGroup.layout(ViewGroup.java:5437)
      15. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1735)
      16. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1579)
      17. android.widget.LinearLayout.onLayout(LinearLayout.java:1488)
      18. android.view.View.layout(View.java:16639)
      19. android.view.ViewGroup.layout(ViewGroup.java:5437)
      20. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
      21. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
      21 frames
    8. Android
      PhoneWindow$DecorView.onLayout
      1. com.android.internal.policy.PhoneWindow$DecorView.onLayout(PhoneWindow.java:2934)
      1 frame
    9. Android Platform
      ActivityThread.main
      1. android.view.View.layout(View.java:16639)
      2. android.view.ViewGroup.layout(ViewGroup.java:5437)
      3. android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2179)
      4. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1939)
      5. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1115)
      6. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6023)
      7. android.view.Choreographer$CallbackRecord.run(Choreographer.java:858)
      8. android.view.Choreographer.doCallbacks(Choreographer.java:670)
      9. android.view.Choreographer.doFrame(Choreographer.java:606)
      10. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:844)
      11. android.os.Handler.handleCallback(Handler.java:739)
      12. android.os.Handler.dispatchMessage(Handler.java:95)
      13. android.os.Looper.loop(Looper.java:148)
      14. android.app.ActivityThread.main(ActivityThread.java:5461)
      14 frames
    10. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    11. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
      2 frames