java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.owncloud.android.operations.UploadFileOperation.getOriginalStoragePath()' on a null object reference

GitHub | AndyScherzinger | 7 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

    NPE in FileUploader.uploadFile

    GitHub | 7 months ago | AndyScherzinger
    java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.owncloud.android.operations.UploadFileOperation.getOriginalStoragePath()' on a null object reference
  2. 0

    GitHub comment 1074#159607658

    GitHub | 1 year ago | AndyScherzinger
    java.lang.NullPointerException: Attempt to invoke virtual method 'boolean com.owncloud.android.lib.common.operations.RemoteOperationResult.isSuccess()' on a null object reference

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke virtual method 'java.lang.String com.owncloud.android.operations.UploadFileOperation.getOriginalStoragePath()' on a null object reference

      at com.owncloud.android.files.services.FileUploader.uploadFile()
    2. com.owncloud.android
      FileUploader$ServiceHandler.handleMessage
      1. com.owncloud.android.files.services.FileUploader.uploadFile(FileUploader.java:960)
      2. com.owncloud.android.files.services.FileUploader$ServiceHandler.handleMessage(FileUploader.java:866)
      2 frames
    3. Android Platform
      HandlerThread.run
      1. android.os.Handler.dispatchMessage(Handler.java:102)
      2. android.os.Looper.loop(Looper.java:148)
      3. android.os.HandlerThread.run(HandlerThread.java:61)
      3 frames