Bug? NullPointerException starting App

sotik

Member
Licensed User
Longtime User
Hi all, i have a problem with my app and i don't know if its caused for use the emulator on a vmware.

When i compile and run the program in an emulator with android version 4.0.3, it works, but when i try to run the program on emulator with android version 4.3 it crash, and i get the next log error:

java.lang.ArrayIndexOutOfBoundsException: length=0; index=-1

and i get message nullPointerException on the line: enter.initialize("Enter") (enter is a button view)

I don't understand this, i need some solution, thanks.

This only happens on vmware, on my pc all run perfect.
 

sotik

Member
Licensed User
Longtime User
The problem is fixed, but when i try to emulate a device with high resolution (Like Galaxy s4) y the screen is black and can't see even the android letters, i got this on log:
Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 300 (SurfaceFlinger)
 
Top