Error (someone help!)

General topics about the Android-Platform itself.
Coding issues please to the subforum right below.

Error (someone help!)

Postby elephanttrumpet » Mon Jun 21, 2010 7:10 am

I started LogCat, and these errors popped out :

06-21 05:57:52.034: ERROR/AndroidRuntime(445): Uncaught handler: thread main exiting due to uncaught exception
06-21 05:57:52.092: ERROR/AndroidRuntime(445): java.lang.NullPointerException
06-21 05:57:52.092: ERROR/AndroidRuntime(445): at com.paad.emergencyresponder.EmergencyResponder.respond(EmergencyResponder.java:129)
06-21 05:57:52.092: ERROR/AndroidRuntime(445): at com.paad.emergencyresponder.EmergencyResponder.respond(EmergencyResponder.java:99)
06-21 05:57:52.092: ERROR/AndroidRuntime(445): at com.paad.emergencyresponder.EmergencyResponder$3.onClick(EmergencyResponder.java:69)
06-21 05:57:52.092: ERROR/AndroidRuntime(445): at android.view.View.performClick(View.java:2364)
06-21 05:57:52.092: ERROR/AndroidRuntime(445): at android.view.View.onTouchEvent(View.java:4179)
06-21 05:57:52.092: ERROR/AndroidRuntime(445): at android.widget.TextView.onTouchEvent(TextView.java:6540)
06-21 05:57:52.092: ERROR/AndroidRuntime(445): at android.view.View.dispatchTouchEvent(View.java:3709)
06-21 05:57:52.092: ERROR/AndroidRuntime(445): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
06-21 05:57:52.092: ERROR/AndroidRuntime(445): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
06-21 05:57:52.092: ERROR/AndroidRuntime(445): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
06-21 05:57:52.092: ERROR/AndroidRuntime(445): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
06-21 05:57:52.092: ERROR/AndroidRuntime(445): at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
06-21 05:57:52.092: ERROR/AndroidRuntime(445): at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:1659)
06-21 05:57:52.092: ERROR/AndroidRuntime(445): at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1107)
06-21 05:57:52.092: ERROR/AndroidRuntime(445): at android.app.Activity.dispatchTouchEvent(Activity.java:2061)
06-21 05:57:52.092: ERROR/AndroidRuntime(445): at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:1643)
06-21 05:57:52.092: ERROR/AndroidRuntime(445): at android.view.ViewRoot.handleMessage(ViewRoot.java:1691)
06-21 05:57:52.092: ERROR/AndroidRuntime(445): at android.os.Handler.dispatchMessage(Handler.java:99)
06-21 05:57:52.092: ERROR/AndroidRuntime(445): at android.os.Looper.loop(Looper.java:123)
06-21 05:57:52.092: ERROR/AndroidRuntime(445): at android.app.ActivityThread.main(ActivityThread.java:4363)
06-21 05:57:52.092: ERROR/AndroidRuntime(445): at java.lang.reflect.Method.invokeNative(Native Method)
06-21 05:57:52.092: ERROR/AndroidRuntime(445): at java.lang.reflect.Method.invoke(Method.java:521)
06-21 05:57:52.092: ERROR/AndroidRuntime(445): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
06-21 05:57:52.092: ERROR/AndroidRuntime(445): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
06-21 05:57:52.092: ERROR/AndroidRuntime(445): at dalvik.system.NativeStart.main(Native Method)

Can someone please explain them to me? Thanks.
elephanttrumpet
Freshman
Freshman
 
Posts: 3
Joined: Tue Jun 15, 2010 9:22 am

Top

Re: Error (someone help!)

Postby ranjandeo » Sat Jul 10, 2010 6:31 am

Hi,
Can you please post your code so that it will be easy to trace it out?
I think you are trying to work with some component that is not available there.
Ranjan Deo
User avatar
ranjandeo
Experienced Developer
Experienced Developer
 
Posts: 84
Joined: Mon May 31, 2010 6:20 am
Location: Kolkata, India

Top

Return to General

Who is online

Users browsing this forum: No registered users and 2 guests