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

Stack Overflow | Tausif Shahbaz | 5 months ago
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.

Root Cause Analysis

  1. java.lang.NullPointerException

    Attempt to invoke virtual method 'double android.location.Location.getLatitude()' on a null object reference

    at in.junkart.junkart.entities.UserAddress$FetchAddress.doInBackground()
  2. in.junkart.junkart
    1. in.junkart.junkart.entities.UserAddress$FetchAddress.doInBackground(
    2. in.junkart.junkart.entities.UserAddress$FetchAddress.doInBackground(
    2 frames
  3. Android Platform
    1. android.os.AsyncTask$
    1 frame
  4. Java RT
    1 frame