java.lang.NullPointerException

GitHub | wenmingvs | 4 months ago
  1. 0

    【CrashLog】 WeiSwift 2016-07-31 11:10:41:48

    GitHub | 4 months ago | wenmingvs
    java.lang.NullPointerException: Attempt to invoke virtual method 'long java.io.File.length()' on a null object reference
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    【CrashLog】 WeiSwift 2016-07-30 04:17:28:81

    GitHub | 4 months ago | wenmingvs
    java.lang.NullPointerException: Attempt to invoke virtual method 'long java.io.File.length()' on a null object reference
  4. 0

    【CrashLog】 WeiSwift 2016-08-02 11:42:56:35

    GitHub | 4 months ago | wenmingvs
    java.lang.NullPointerException: Attempt to invoke virtual method 'long java.io.File.length()' on a null object reference

    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 com.wenming.weiswift.ui.common.FillContent.isLongImg()
    2. com.wenming.weiswift
      FillContent$7.onLoadingComplete
      1. com.wenming.weiswift.ui.common.FillContent.isLongImg(FillContent.java:465)
      2. com.wenming.weiswift.ui.common.FillContent$7.onLoadingComplete(FillContent.java:549)
      2 frames
    3. Universal Image Loader Library
      ImageLoader.loadImage
      1. com.nostra13.universalimageloader.core.ImageLoader.displayImage(ImageLoader.java:283)
      2. com.nostra13.universalimageloader.core.ImageLoader.displayImage(ImageLoader.java:209)
      3. com.nostra13.universalimageloader.core.ImageLoader.loadImage(ImageLoader.java:528)
      4. com.nostra13.universalimageloader.core.ImageLoader.loadImage(ImageLoader.java:464)
      4 frames
    4. com.wenming.weiswift
      ImageAdapter.onBindViewHolder
      1. com.wenming.weiswift.ui.common.FillContent.fillImageList(FillContent.java:484)
      2. com.wenming.weiswift.ui.login.fragment.home.timelineimagelist.ImageAdapter.onBindViewHolder(ImageAdapter.java:45)
      3. com.wenming.weiswift.ui.login.fragment.home.timelineimagelist.ImageAdapter.onBindViewHolder(ImageAdapter.java:23)
      3 frames
    5. Android v7
      RecyclerView.onMeasure
      1. android.support.v7.widget.RecyclerView$Adapter.onBindViewHolder(RecyclerView.java:5453)
      2. android.support.v7.widget.RecyclerView$Adapter.bindViewHolder(RecyclerView.java:5486)
      3. android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4723)
      4. android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4599)
      5. android.support.v7.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:1988)
      6. android.support.v7.widget.GridLayoutManager.layoutChunk(GridLayoutManager.java:528)
      7. android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1347)
      8. android.support.v7.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:574)
      9. android.support.v7.widget.GridLayoutManager.onLayoutChildren(GridLayoutManager.java:170)
      10. android.support.v7.widget.RecyclerView.dispatchLayoutStep2(RecyclerView.java:3003)
      11. android.support.v7.widget.RecyclerView.onMeasure(RecyclerView.java:2600)
      11 frames
    6. Android Platform
      View.measure
      1. android.view.View.measure(View.java:16514)
      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:16514)
      6 frames
    7. Android v7
      RecyclerView.onTouchEvent
      1. android.support.v7.widget.RecyclerView$LayoutManager.measureChildWithMargins(RecyclerView.java:7454)
      2. android.support.v7.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1410)
      3. android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1347)
      4. android.support.v7.widget.LinearLayoutManager.scrollBy(LinearLayoutManager.java:1174)
      5. android.support.v7.widget.LinearLayoutManager.scrollVerticallyBy(LinearLayoutManager.java:1031)
      6. android.support.v7.widget.RecyclerView.scrollByInternal(RecyclerView.java:1504)
      7. android.support.v7.widget.RecyclerView.onTouchEvent(RecyclerView.java:2461)
      7 frames
    8. Android Platform
      ViewGroup.dispatchTouchEvent
      1. android.view.View.dispatchTouchEvent(View.java:7706)
      2. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2210)
      3. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1945)
      4. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2216)
      5. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1959)
      6. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2216)
      7. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1959)
      8. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2216)
      9. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1959)
      10. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2216)
      11. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1959)
      12. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2216)
      13. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1959)
      14. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2216)
      15. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1959)
      16. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2216)
      17. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1959)
      17 frames
    9. Android
      PhoneWindow.superDispatchTouchEvent
      1. com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:2116)
      2. com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1555)
      2 frames
    10. Android Platform
      Activity.dispatchTouchEvent
      1. android.app.Activity.dispatchTouchEvent(Activity.java:2493)
      1 frame
    11. Android
      PhoneWindow$DecorView.dispatchTouchEvent
      1. com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:2064)
      1 frame
    12. Android Platform
      ActivityThread.main
      1. android.view.View.dispatchPointerEvent(View.java:7886)
      2. android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:3967)
      3. android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:3831)
      4. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3397)
      5. android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3447)
      6. android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3416)
      7. android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3523)
      8. android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3424)
      9. android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:3580)
      10. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3397)
      11. android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3447)
      12. android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3416)
      13. android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3424)
      14. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3397)
      15. android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:5555)
      16. android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:5535)
      17. android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:5506)
      18. android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:5635)
      19. android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:185)
      20. android.view.InputEventReceiver.nativeConsumeBatchedInputEvents(Native Method)
      21. android.view.InputEventReceiver.consumeBatchedInputEvents(InputEventReceiver.java:176)
      22. android.view.ViewRootImpl.doConsumeBatchedInput(ViewRootImpl.java:5608)
      23. android.view.ViewRootImpl$ConsumeBatchedInputRunnable.run(ViewRootImpl.java:5654)
      24. android.view.Choreographer$CallbackRecord.run(Choreographer.java:761)
      25. android.view.Choreographer.doCallbacks(Choreographer.java:574)
      26. android.view.Choreographer.doFrame(Choreographer.java:542)
      27. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:747)
      28. android.os.Handler.handleCallback(Handler.java:733)
      29. android.os.Handler.dispatchMessage(Handler.java:95)
      30. android.os.Looper.loop(Looper.java:136)
      31. android.app.ActivityThread.main(ActivityThread.java:5241)
      31 frames
    13. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    14. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:818)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:634)
      2 frames
    15. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame