Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by mtrakal
, 1 year ago
Attempt to invoke virtual method 'java.lang.String java.net.URL.toExternalForm()' on a null object reference
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(ReplicationInternal.java:386)	at java.util.concurrent.ThreadPoolExecutor$Worker.(ThreadPoolExecutor.java:582)	at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:895)	at java.util.concurrent.ThreadPoolExecutor.ensurePrestart(ThreadPoolExecutor.java:1553)	at java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(ScheduledThreadPoolExecutor.java:306)	at java.util.concurrent.ScheduledThreadPoolExecutor.schedule(ScheduledThreadPoolExecutor.java:503)	at java.util.concurrent.ScheduledThreadPoolExecutor.submit(ScheduledThreadPoolExecutor.java:602)	at java.util.concurrent.Executors$DelegatedExecutorService.submit(Executors.java:593)	at com.couchbase.lite.replicator.ReplicationInternal.fireTrigger(ReplicationInternal.java:232)	at com.couchbase.lite.replicator.ReplicationInternal.triggerStart(ReplicationInternal.java:200)	at com.couchbase.lite.replicator.PusherInternal.triggerStart(PusherInternal.java:53)	at com.couchbase.lite.replicator.Replication.start(Replication.java:229)	at com.yablohn.internal.CouchDbProvider.pushReplicate(CouchDbProvider.java:129)	at com.yablohn.internal.CouchDbProvider.pushReplicate(CouchDbProvider.java:84)	at com.yablohn.internal.Yablohn.setAutoReplicate(Yablohn.java:30)	at com.droid4you.application.wallet.Application.onAppGoingToForeground(Application.java:616)	at com.droid4you.application.wallet.Application.access$900(Application.java:89)	at com.droid4you.application.wallet.Application$8.onActivityStarted(Application.java:576)	at android.app.Application.dispatchActivityStarted(Application.java:205)	at android.app.Activity.onStart(Activity.java:1218)	at android.support.v4.app.FragmentActivity.onStart(FragmentActivity.java:592)	at android.support.v7.app.AppCompatActivity.onStart(AppCompatActivity.java:178)	at roboguice.activity.RoboActionBarActivity.onStart(RoboActionBarActivity.java:106)	at com.droid4you.application.wallet.v3.ui.LoginActivity.onStart(LoginActivity.java:104)	at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1240)	at android.app.Activity.performStart(Activity.java:6097)	at android.app.Activity.performRestart(Activity.java:6154)	at android.app.ActivityThread.handleSleeping(ActivityThread.java:3768)	at android.app.ActivityThread.access$3200(ActivityThread.java:159)	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1568)	at android.os.Handler.dispatchMessage(Handler.java:102)	at android.os.Looper.loop(Looper.java:135)	at android.app.ActivityThread.main(ActivityThread.java:5569)	at java.lang.reflect.Method.invoke(Native Method)	at java.lang.reflect.Method.invoke(Method.java:372)	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:931)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:726)