I am beginner for android. Trying to make basic applications. When I tried to run the program after adding an adapter and gridview in my code, the application couldnt be started. These are the lines from the DDMS for failing it. Can anybody please suggest me how do i locate the error contain line from it ? or I cannot ?
02-19 16:53:12.481: D/ActivityThread(1721): setTargetHeapConcurrentStart:2097152
02-19 16:53:12.591: W/dalvikvm(1721): threadid=1: thread exiting with uncaught exception (group=0x410eb438)
02-19 16:53:12.591: E/AndroidRuntime(1721): FATAL EXCEPTION: main
02-19 16:53:12.591: E/AndroidRuntime(1721): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.zilo/com.example.zilo.MainActivity}: java.lang.NullPointerException
02-19 16:53:12.591: E/AndroidRuntime(1721): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2087)
02-19 16:53:12.591: E/AndroidRuntime(1721): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2112)
I am not seeking help to find the error, Please help me to figure out, how to locate the error from DDMS log.