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. advice + onclick help

Hello there,

I'm new to android development and have a question or two to ask:

1,  In my app I have a list view and have about 60 items in my list.
Im making a timetable app. I wanted to keep everything offline. So
that all the timetables could be stored in the app. But now I'm
thinking i'll just give a link to the relevant webpage. Does anyone
have any suggestions on this ?
2.  I was looking in the dev guide, for the on click item can anyone
give me an example. I have this:

private OnClickListener mCorkyListener = new OnClickListener() {
            public void onClick(View v) {
              Intent i = new Intent(this, info.class);

but it ain't working.

Hope I'm not asking too much.

Thanks in advance


2. OutOfMemoryError: how best to transfer large video files into a byte array?

> It is my Web server, so I can rewrite it to accept a PUT request. Are
you suggesting that I do something like this, for each 1MB of the data? HttpPut httpPut = new HttpPut(url); httpPut.setEntity(new StringEntity(data));
I'd use ByteArrayEntity. what about streaming it with InputStreamEntity? ideally you'd never have those 2mb cached at one time. -- --

3. How to position an overlaying activity at the bottom?

4. How to position an overlaying activity at the bottom?

5. Terminal Colors while Compiling

6. How do know when user launches application

7. How do know when user launches application