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 pelzvieh
, 1 year ago
Attempt to invoke virtual method 'long de.flyingsnail.ipv6droid.android.VpnThread$CopyThread.getByteCount()' on a null object reference
java.lang.NullPointerException: Attempt to invoke virtual method 'long de.flyingsnail.ipv6droid.android.VpnThread$CopyThread.getByteCount()' on a null object reference	at de.flyingsnail.ipv6droid.android.VpnThread.getStatistics(VpnThread.java:957)	at de.flyingsnail.ipv6droid.android.AyiyaVpnService$StatisticsBinder.getStatistics(AyiyaVpnService.java:219)	at de.flyingsnail.ipv6droid.android.statusdetail.StatisticsFragment$Updater.run(StatisticsFragment.java:213)	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422)	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:279)	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:152)	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)	at java.lang.Thread.run(Thread.java:818)