java.lang.NullPointerException: Attempt to invoke virtual method 'long de.flyingsnail.ipv6droid.android.VpnThread$CopyThread.getByteCount()' on a null object reference

GitHub | pelzvieh | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Race condition on query statistics when tunnel is just about to start or already stopped

    GitHub | 1 year ago | pelzvieh
    java.lang.NullPointerException: Attempt to invoke virtual method 'long de.flyingsnail.ipv6droid.android.VpnThread$CopyThread.getByteCount()' on a null object reference

    Root Cause Analysis

    1. 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()
    2. de.flyingsnail.ipv6droid
      StatisticsFragment$Updater.run
      1. de.flyingsnail.ipv6droid.android.VpnThread.getStatistics(VpnThread.java:957)
      2. de.flyingsnail.ipv6droid.android.AyiyaVpnService$StatisticsBinder.getStatistics(AyiyaVpnService.java:219)
      3. de.flyingsnail.ipv6droid.android.statusdetail.StatisticsFragment$Updater.run(StatisticsFragment.java:213)
      3 frames
    3. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422)
      2. java.util.concurrent.FutureTask.runAndReset(FutureTask.java:279)
      3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:152)
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
      5. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
      6. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
      7. java.lang.Thread.run(Thread.java:818)
      7 frames