NullPointerException in process

by sawyer jim » Sat, 26 Feb 2011 05:24:14 GMT

Sponsored Links
 Hello Everyone,

When I ran focus monkey test to, I always got a
NullPointerException, the NullPointerException always happended in the
process of The details log is below:

//=======================log begin================================
// CRASH: (pid 1540)
// Short Msg: java.lang.NullPointerException
// Long Msg: java.lang.NullPointerException
// Build Label: asus/epc1015/epc1015:2.3/EPC1015/eng.kyle.
// Build Changelist: eng.kyle.20110124.175834
// Build Time: 1295867094000
// java.lang.NullPointerException
//  at
//  at
//  at android.os.Handler.dispatchMessage(
//  at android.os.Looper.loop(
//  at
//  at java.lang.reflect.Method.invokeNative(Native Method)
//  at java.lang.reflect.Method.invoke(
//  at
//  at
//  at dalvik.system.NativeStart.main(Native Method)
// NOT RESPONDING: (pid 5652)
ANR in (
Reason: keyDispatchingTimedOut
//=======================log end================================

File and Line 93, I pasted the
NullPointerException's context below:
//================code begin============================
92:       HandlerCaller.SomeArgs args = (HandlerCaller.SomeArgs)msg.obj;
93:       mInputMethodSession.dispatchKeyEvent(msg.arg1,
94:                         (KeyEvent)args.arg1,
95:                           new InputMethodEventCallbackWrapper(
96:                                           (IInputMethodCallback)args.arg2));
97:     mCaller.recycleArgs(args);
//================code end==============================

My OS version is android gingerbread(2.3).
Had anyone met this issue?
Except a good soul to help me.
Thanks very much.


Re: NullPointerException in process

by HanWriting » Wed, 11 May 2011 06:57:36 GMT

I would like the know the steps to reproduce the crash.

HanWriting <>


Sponsored Links

Other Threads

1. E-Mail Notification


when the phone is in deep sleep E-Mail notification is not coming, can
anyone tell me what is the issue,

1. is that issue in socket?
2. what is the behaviour of android when the phone is in deep sleep?
3. Why the mail sync is not happenning when the phone is in deep

Stalin S


2. How can we extend the framework to support multiple cameras?

If an android device wants to support multiple cameras, then how does
the API support this?  Right now the framework API is a simple static
method to create an instance of camera

I see couple of options:

1. Using camera.setParameters() to set a name/value pair that
instructs which camera to choose?

2. It would be nice and cleaner perhaps if this was done right on the
open() method perhaps with additional enum.

Obviously option#1 would not result in any addition to the API.  But i
feel option#2 is cleaner.

Any thoughts on how best to accomplish this?

ps: I am moving this discussion here based on Dianne's recommendation.


3. Can Android Framework API support multiple cameras?

4. Animation is slow?

5. Including pre-compiled 3rd party jar files to android application & building it with source code

6. How to porting Android to my Samsung GT-C6625

7. Application could not be installed on this phone?