java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.net.URL.toExternalForm()' on a null object reference

GitHub | mtrakal | 4 months ago
  1. 0

    NPE when start replication

    GitHub | 4 months ago | mtrakal
    java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.net.URL.toExternalForm()' on a null object reference
  2. 0
    The resource was accessed after it was dismissed.
  3. 0

    JavaFX : Loading HTML from external URL failing in Android

    Stack Overflow | 11 months ago | We are Borg
    System.err: java.lang.reflect.InvocationTargetException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    Initialize the variable before calling a method on it.
  6. 0
    Use 'dialog' to access views from custom_layout layout.

    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.net.URL.toExternalForm()' on a null object reference

      at com.couchbase.lite.replicator.ReplicationInternal$3.newThread()
    2. com.couchbase.lite
      ReplicationInternal$3.newThread
      1. com.couchbase.lite.replicator.ReplicationInternal$3.newThread(ReplicationInternal.java:386)
      1 frame
    3. Java RT
      Executors$DelegatedExecutorService.submit
      1. java.util.concurrent.ThreadPoolExecutor$Worker.<init>(ThreadPoolExecutor.java:582)
      2. java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:895)
      3. java.util.concurrent.ThreadPoolExecutor.ensurePrestart(ThreadPoolExecutor.java:1553)
      4. java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(ScheduledThreadPoolExecutor.java:306)
      5. java.util.concurrent.ScheduledThreadPoolExecutor.schedule(ScheduledThreadPoolExecutor.java:503)
      6. java.util.concurrent.ScheduledThreadPoolExecutor.submit(ScheduledThreadPoolExecutor.java:602)
      7. java.util.concurrent.Executors$DelegatedExecutorService.submit(Executors.java:593)
      7 frames
    4. com.couchbase.lite
      Replication.start
      1. com.couchbase.lite.replicator.ReplicationInternal.fireTrigger(ReplicationInternal.java:232)
      2. com.couchbase.lite.replicator.ReplicationInternal.triggerStart(ReplicationInternal.java:200)
      3. com.couchbase.lite.replicator.PusherInternal.triggerStart(PusherInternal.java:53)
      4. com.couchbase.lite.replicator.Replication.start(Replication.java:229)
      4 frames
    5. com.yablohn.internal
      Yablohn.setAutoReplicate
      1. com.yablohn.internal.CouchDbProvider.pushReplicate(CouchDbProvider.java:129)
      2. com.yablohn.internal.CouchDbProvider.pushReplicate(CouchDbProvider.java:84)
      3. com.yablohn.internal.Yablohn.setAutoReplicate(Yablohn.java:30)
      3 frames
    6. com.droid4you.application
      Application$8.onActivityStarted
      1. com.droid4you.application.wallet.Application.onAppGoingToForeground(Application.java:616)
      2. com.droid4you.application.wallet.Application.access$900(Application.java:89)
      3. com.droid4you.application.wallet.Application$8.onActivityStarted(Application.java:576)
      3 frames
    7. Android Platform
      Activity.onStart
      1. android.app.Application.dispatchActivityStarted(Application.java:205)
      2. android.app.Activity.onStart(Activity.java:1218)
      2 frames
    8. Android Support v4
      FragmentActivity.onStart
      1. android.support.v4.app.FragmentActivity.onStart(FragmentActivity.java:592)
      1 frame
    9. Android v7
      AppCompatActivity.onStart
      1. android.support.v7.app.AppCompatActivity.onStart(AppCompatActivity.java:178)
      1 frame
    10. RoboGuice
      RoboActionBarActivity.onStart
      1. roboguice.activity.RoboActionBarActivity.onStart(RoboActionBarActivity.java:106)
      1 frame
    11. com.droid4you.application
      LoginActivity.onStart
      1. com.droid4you.application.wallet.v3.ui.LoginActivity.onStart(LoginActivity.java:104)
      1 frame
    12. Android Platform
      ActivityThread.main
      1. android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1240)
      2. android.app.Activity.performStart(Activity.java:6097)
      3. android.app.Activity.performRestart(Activity.java:6154)
      4. android.app.ActivityThread.handleSleeping(ActivityThread.java:3768)
      5. android.app.ActivityThread.access$3200(ActivityThread.java:159)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1568)
      7. android.os.Handler.dispatchMessage(Handler.java:102)
      8. android.os.Looper.loop(Looper.java:135)
      9. android.app.ActivityThread.main(ActivityThread.java:5569)
      9 frames
    13. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    14. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:931)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:726)
      2 frames