java.lang.RuntimeException: An error occurred while executing doInBackground()

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

    error while executing do in background android

    Stack Overflow | 9 months ago | Javaiskillingme
    java.lang.RuntimeException: An error occurred while executing doInBackground()

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke virtual method 'java.lang.String android.net.Uri.getPath()' on a null object reference

      at com.example.gary.natureallv2.CameraPicActivity$Encode_image.doInBackground()
    2. com.example.gary
      CameraPicActivity$Encode_image.doInBackground
      1. com.example.gary.natureallv2.CameraPicActivity$Encode_image.doInBackground(CameraPicActivity.java:217)
      2. com.example.gary.natureallv2.CameraPicActivity$Encode_image.doInBackground(CameraPicActivity.java:214)
      2 frames