I'm having trouble debugging my code. One of my AsyncTasks throws a RuntimeException, but I don’t know which line in my code is responsible for this. Since I'm new to Eclipse and Java in general, all of this pretty confuses me.
The Eclipse debug window shows me that my AsyncTask is paused due to a RuntimeException. Below, there are three lines that indicate some lines of code. However, these lines do not exist in my code, so I do not know what causes my application to crash. Is there something substantial missing for debugging in Java / Android?
Here are three lines that are given to me, by the way:
ThreadPoolExecutor.runWorker(ThreadPoolExecutor$Worker) line: 1086
ThreadPoolExecutor$Worker.run() line: 561
Thread.run() line: 1096
How should I work with this? Help would be greatly appreciated.
source
share