12-26-2012 02:54 AM
Recently I modified my code, and when I was compiling it, I got this error:
Fatal Internal error: java.lang.NullPointerException
Previously, I had encountered this exceptions several times, but while running the app in simulator.
I already tried cleaning the project, cleaning the simulator, and even restarting the laptop. Didn't work.
The same error still persists.
Maybe this is a compiler bug?
Solved! Go to Solution.
12-26-2012 04:20 AM
12-26-2012 05:17 AM
Hi,
Try to debug your code....
do not run your code Debug your code...
When you debug your code you can directly get your error.
If you still dont find the error then place your code here.
Regards,
12-27-2012 10:11 AM
Finally, I found the culprit:
I put 5 big images (total size: about 18 MB) in the "res/img".
The solution is to load those images from SD card.