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

GitHub | spirosbond | 6 months ago
  1. 0

    issuehub.io

    issuehub.io | 8 months ago
    java.lang.RuntimeException: An error occured while executing doInBackground()
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()

    GitHub | 1 month ago | spirosbond
    java.lang.RuntimeException: An error occured while executing doInBackground()

    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.RuntimeException

      Can't create handler inside thread that has not called Looper.prepare() at android.os.Handler.<init>(Handler.java:200) at android.os.Handler.<init>(Handler.java:114) at android.view.SurfaceView$1.<init>(SurfaceView.java:126) at android.view.SurfaceView.<init>(SurfaceView.java:126) at com.futerox.flashlight.CameraSurface.<init>(CameraSurface.java:49)

      at com.futerox.flashlight.Flash.loadParameters()
    2. com.futerox.flashlight
      SmsReceiver$ManageFlash.doInBackground
      1. com.futerox.flashlight.Flash.loadParameters(Flash.java:140)
      2. com.futerox.flashlight.Flash.enableFlash(Flash.java:199)
      3. com.futerox.flashlight.SmsReceiver$ManageFlash.doInBackground(SmsReceiver.java:73)
      4. com.futerox.flashlight.SmsReceiver$ManageFlash.doInBackground(SmsReceiver.java:50)
      4 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:841)
      3 frames