java.lang.RuntimeException: An error occured while executing doInBackground()

GitHub | xdtianyu | 2 years ago
  1. 0

    Caused "java.lang.NullPointerException"

    GitHub | 2 years ago | xdtianyu
    java.lang.RuntimeException: An error occured while executing doInBackground()
  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 'java.io.OutputStream java.lang.Process.getOutputStream()' on a null object reference

      at org.xdty.selinuxmodify.MainActivity.exec()
    2. org.xdty.selinuxmodify
      MainActivity$WaitTask.doInBackground
      1. org.xdty.selinuxmodify.MainActivity.exec(MainActivity.java:101)
      2. org.xdty.selinuxmodify.MainActivity.getEnforce(MainActivity.java:78)
      3. org.xdty.selinuxmodify.MainActivity.access$400(MainActivity.java:17)
      4. org.xdty.selinuxmodify.MainActivity$WaitTask.doInBackground(MainActivity.java:123)
      5. org.xdty.selinuxmodify.MainActivity$WaitTask.doInBackground(MainActivity.java:110)
      5 frames
    3. Android Platform
      AsyncTask$2.call
      1. android.os.AsyncTask$2.call(AsyncTask.java:288)
      1 frame
    4. Java RT
      FutureTask.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:237)
      1 frame
    5. Android Platform
      AsyncTask$SerialExecutor$1.run
      1. android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
      1 frame
    6. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
      3. java.lang.Thread.run(Thread.java:818)
      3 frames