java.lang.RuntimeException: Unable to start activity ComponentInfo{com.firebase.shahaf.datasignin/com.firebase.shahaf.datasignin.UserProfile}: java.lang.IllegalArgumentException: Precision of GeoHash must be larger than zero!

Stack Overflow | secret | 6 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

    Inserting a while loop at oncreate method in android

    Stack Overflow | 6 months ago | secret
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.firebase.shahaf.datasignin/com.firebase.shahaf.datasignin.UserProfile}: java.lang.IllegalArgumentException: Precision of GeoHash must be larger than zero!

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Precision of GeoHash must be larger than zero!

      at com.firebase.geofire.core.GeoHash.<init>()
    2. com.firebase.geofire
      GeoQuery.addGeoQueryEventListener
      1. com.firebase.geofire.core.GeoHash.<init>(GeoHash.java:29)
      2. com.firebase.geofire.core.GeoHashQuery.queriesAtLocation(GeoHashQuery.java:85)
      3. com.firebase.geofire.GeoQuery.setupQueries(GeoQuery.java:224)
      4. com.firebase.geofire.GeoQuery.addGeoQueryEventListener(GeoQuery.java:325)
      4 frames
    3. com.firebase.shahaf
      UserProfile.onCreate
      1. com.firebase.shahaf.datasignin.UserProfile.onCreate(UserProfile.java:68)
      1 frame
    4. Android Platform
      ActivityThread.performLaunchActivity
      1. android.app.Activity.performCreate(Activity.java:5977)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2258)
      3 frames