java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.io.File.getAbsolutePath()' on a null object reference

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

    Couchbase Lite Android: CBLReplication customProperties alternative in Android - Couchbase Lite - Couchbase Forums

    couchbase.com | 2 weeks ago
    java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.io.File.getAbsolutePath()' on a null object reference
  2. 0

    GitHub comment 909#232815709

    GitHub | 7 months ago | hideki
    com.couchbase.cbforest.ForestException: Forestdb Handle is being used by another thread
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    NPE when set cookie on pull replicator

    GitHub | 3 months ago | vicpinm
    java.lang.NullPointerException: Attempt to invoke interface method 'com.couchbase.lite.internal.RevisionInternal com.couchbase.lite.store.Store.getLocalDocument(java.lang.String, java.lang.String)' 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

      Attempt to invoke virtual method 'java.lang.String java.io.File.getAbsolutePath()' on a null object reference

      at com.couchbase.lite.util.NativeLibUtils.loadLibrary()
    2. com.couchbase.lite
      ForestDBStore.<init>
      1. com.couchbase.lite.util.NativeLibUtils.loadLibrary(NativeLibUtils.java:45)
      2. com.couchbase.lite.store.ForestDBStore.<init>(ForestDBStore.java:75)
      2 frames
    3. Java RT
      Class.forName
      1. java.lang.Class.classForName(Native Method)
      2. java.lang.Class.forName(Class.java:309)
      3. java.lang.Class.forName(Class.java:273)
      3 frames
    4. com.couchbase.lite
      Manager.openDatabase
      1. com.couchbase.lite.Database.createStoreInstance(Database.java:1236)
      2. com.couchbase.lite.Database.open(Database.java:1292)
      3. com.couchbase.lite.Manager.openDatabase(Manager.java:334)
      3 frames
    5. com.happyfall.kamero
      KameroApp.onCreate
      1. com.happyfall.kamero.couchbase.database.CouchDatabase.getDatabase(CouchDatabase.java:42)
      2. com.happyfall.kamero.couchbase.CouchApp.<init>(CouchApp.java:27)
      3. com.happyfall.kamero.couchbase.CouchApp.<init>(CouchApp.java:20)
      4. com.happyfall.kamero.couchbase.replication.ContinuousReplication.<init>(ContinuousReplication.java:24)
      5. com.happyfall.kamero.couchbase.replication.ContinuousReplication.<init>(ContinuousReplication.java:19)
      6. com.happyfall.kamero.login.facebook.LoginManager.userLoggedIn(LoginManager.java:191)
      7. com.happyfall.kamero.login.facebook.LoginManager.<init>(LoginManager.java:78)
      8. com.happyfall.kamero.login.facebook.LoginManager.<init>(LoginManager.java:31)
      9. com.happyfall.kamero.init.KameroApp.onCreate(KameroApp.java:49)
      9 frames
    6. com.android.tools
      BootstrapApplication.onCreate
      1. com.android.tools.fd.runtime.BootstrapApplication.onCreate(BootstrapApplication.java:370)
      1 frame
    7. Android Platform
      ActivityThread.main
      1. android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1035)
      2. android.app.ActivityThread.handleBindApplication(ActivityThread.java:4638)
      3. android.app.ActivityThread.access$1500(ActivityThread.java:155)
      4. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1378)
      5. android.os.Handler.dispatchMessage(Handler.java:102)
      6. android.os.Looper.loop(Looper.java:135)
      7. android.app.ActivityThread.main(ActivityThread.java:5343)
      7 frames
    8. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    9. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:905)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:700)
      2 frames