Help debugging thread (AsyncTask) RuntimeException reason in Android / Eclipse

I have several AsyncTask workflows, and at runtime, one of them appears in Eclipse as a "RuntimeException". I'm having trouble figuring out the cause of the exception, or even that the thread / code is working.

All I see is Thread 11, AsyncTask # 2. It says under it:

Thread.run() line: 1096 ThreadPoolExecutor$Worker.run() line: 561 ThreadPoolExecutor.runWorker(ThreadPoolExecutor$Worker) line: 1086 

none of which give me a clue which code raised the exception. I checked the variables, but I also don't see any hints of this. I see nothing about the exception in my LogCat.

+6
source share
1 answer

I see nothing about the exception in my LogCat.

Most likely, the program pauses itself, and you do not resume it using the Eclipse debugger. Only after that Exception will be displayed on the console.

+11
source

Source: https://habr.com/ru/post/893182/


All Articles