Dear developers,

My android app installs onto the android virtual machine fine, but when it is opened this error message comes up (in eclipse)
Code:
03-31 16:53:30.197: E/AndroidRuntime(1894): FATAL EXCEPTION: main 03-31 16:53:30.197: E/AndroidRuntime(1894): java.lang.RuntimeException: Unable to start activity ComponentInfo{pipsqueaker.TextSmart.sparkbat.test/pipsqueaker.TextSmart.sparkbat.test.StartingPoint}: java.lang.NullPointerException 03-31 16:53:30.197: E/AndroidRuntime(1894): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1956) 03-31 16:53:30.197: E/AndroidRuntime(1894): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981) 03-31 16:53:30.197: E/AndroidRuntime(1894): at android.app.ActivityThread.access$600(ActivityThread.java:123) 03-31 16:53:30.197: E/AndroidRuntime(1894): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1147) 03-31 16:53:30.197: E/AndroidRuntime(1894): at android.os.Handler.dispatchMessage(Handler.java:99) 03-31 16:53:30.197: E/AndroidRuntime(1894): at android.os.Looper.loop(Looper.java:137) 03-31 16:53:30.197: E/AndroidRuntime(1894): at android.app.ActivityThread.main(ActivityThread.java:4424) 03-31 16:53:30.197: E/AndroidRuntime(1894): at java.lang.reflect.Method.invokeNative(Native Method) 03-31 16:53:30.197: E/AndroidRuntime(1894): at java.lang.reflect.Method.invoke(Method.java:511) 03-31 16:53:30.197: E/AndroidRuntime(1894): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784) 03-31 16:53:30.197: E/AndroidRuntime(1894): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551) 03-31 16:53:30.197: E/AndroidRuntime(1894): at dalvik.system.NativeStart.main(Native Method) 03-31 16:53:30.197: E/AndroidRuntime(1894): Caused by: java.lang.NullPointerException 03-31 16:53:30.197: E/AndroidRuntime(1894): at pipsqueaker.TextSmart.sparkbat.test.StartingPoint.onCreate(StartingPoint.java:31) 03-31 16:53:30.197: E/AndroidRuntime(1894): at android.app.Activity.performCreate(Activity.java:4465) 03-31 16:53:30.197: E/AndroidRuntime(1894): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049) 03-31 16:53:30.197: E/AndroidRuntime(1894): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1920) 03-31 16:53:30.197: E/AndroidRuntime(1894): ... 11 more 03-31 16:54:07.618: E/AndroidRuntime(1922): FATAL EXCEPTION: main 03-31 16:54:07.618: E/AndroidRuntime(1922): java.lang.RuntimeException: Unable to start activity ComponentInfo{pipsqueaker.TextSmart.sparkbat.test/pipsqueaker.TextSmart.sparkbat.test.StartingPoint}: java.lang.NullPointerException 03-31 16:54:07.618: E/AndroidRuntime(1922): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1956) 03-31 16:54:07.618: E/AndroidRuntime(1922): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981) 03-31 16:54:07.618: E/AndroidRuntime(1922): at android.app.ActivityThread.access$600(ActivityThread.java:123) 03-31 16:54:07.618: E/AndroidRuntime(1922): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1147) 03-31 16:54:07.618: E/AndroidRuntime(1922): at android.os.Handler.dispatchMessage(Handler.java:99) 03-31 16:54:07.618: E/AndroidRuntime(1922): at android.os.Looper.loop(Looper.java:137) 03-31 16:54:07.618: E/AndroidRuntime(1922): at android.app.ActivityThread.main(ActivityThread.java:4424) 03-31 16:54:07.618: E/AndroidRuntime(1922): at java.lang.reflect.Method.invokeNative(Native Method) 03-31 16:54:07.618: E/AndroidRuntime(1922): at java.lang.reflect.Method.invoke(Method.java:511) 03-31 16:54:07.618: E/AndroidRuntime(1922): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784) 03-31 16:54:07.618: E/AndroidRuntime(1922): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551) 03-31 16:54:07.618: E/AndroidRuntime(1922): at dalvik.system.NativeStart.main(Native Method) 03-31 16:54:07.618: E/AndroidRuntime(1922): Caused by: java.lang.NullPointerException 03-31 16:54:07.618: E/AndroidRuntime(1922): at pipsqueaker.TextSmart.sparkbat.test.StartingPoint.onCreate(StartingPoint.java:31) 03-31 16:54:07.618: E/AndroidRuntime(1922): at android.app.Activity.performCreate(Activity.java:4465) 03-31 16:54:07.618: E/AndroidRuntime(1922): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049) 03-31 16:54:07.618: E/AndroidRuntime(1922): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1920) 03-31 16:54:07.618: E/AndroidRuntime(1922): ... 11 more
To maintain secrecy I haven't attached the corresponding project, although this, I realize, is just me being paranoid and hindering the debugging effort for you. However, I would appreciate if you could pick through the error list and tell me where to make changes (general, as specific changes are impossible). However, the line concerned in the error message
Code:
03-31 16:54:07.618: E/AndroidRuntime(1922): at pipsqueaker.TextSmart.sparkbat.test.StartingPoint.onCreate(StartingPoint.java:31)
is
Code:
final String input = UserInput.toString();
I hope to see your answers, and thank you in advance!