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
  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
  2. 0
    The resource was accessed after it was dismissed.
  3. 0
    Initialize the variable before calling a method on it.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    Use 'dialog' to access views from custom_layout layout.
  6. 0
    The parsed JSON does not contains the requested field.

    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 '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