Exception in running android application on real phone
When i run android application on real device i got this exception, whereas application is running fine on emulator.
please suggest me the solution.

    11-12 12:58:25.905: ERROR/AndroidRuntime(12647): FATAL EXCEPTION: main
    11-12 12:58:25.905: ERROR/AndroidRuntime(12647): java.lang.NullPointerException
    11-12 12:58:25.905: ERROR/AndroidRuntime(12647):     at android.widget.TabHost.dispatchWindowFocusChanged(TabHost.java:317)
    11-12 12:58:25.905: ERROR/AndroidRuntime(12647):     at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:662)
    11-12 12:58:25.905: ERROR/AndroidRuntime(12647):     at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:662)
    11-12 12:58:25.905: ERROR/AndroidRuntime(12647):     at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:662)
    11-12 12:58:25.905: ERROR/AndroidRuntime(12647):     at android.view.ViewRoot.handleMessage(ViewRoot.java:1923)
    11-12 12:58:25.905: ERROR/AndroidRuntime(12647):     at android.os.Handler.dispatchMessage(Handler.java:99)
    11-12 12:58:25.905: ERROR/AndroidRuntime(12647):     at android.os.Looper.loop(Looper.java:123)
    11-12 12:58:25.905: ERROR/AndroidRuntime(12647):     at android.app.ActivityThread.main(ActivityThread.java:4633)
    11-12 12:58:25.905: ERROR/AndroidRuntime(12647):     at java.lang.reflect.Method.invokeNative(Native Method)
    11-12 12:58:25.905: ERROR/AndroidRuntime(12647):     at java.lang.reflect.Method.invoke(Method.java:521)
    11-12 12:58:25.905: ERROR/AndroidRuntime(12647):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858)
    11-12 12:58:25.905: ERROR/AndroidRuntime(12647):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
    11-12 12:58:25.905: ERROR/AndroidRuntime(12647):     at dalvik.system.NativeStart.main(Native Method)

Thanks
Romi.
Exception in running android application on real phone
===

When i run android application on real device i got this exception, whereas application is running fine on emulator.
please suggest me the solution.

    11-12 12:58:25.905: ERROR/AndroidRuntime(12647): FATAL EXCEPTION: main
    11-12 12:58:25.905: ERROR/AndroidRuntime(12647): java.lang.NullPointerException
    11-12 12:58:25.905: ERROR/AndroidRuntime(12647):     at android.widget.TabHost.dispatchWindowFocusChanged(TabHost.java:317)
    11-12 12:58:25.905: ERROR/AndroidRuntime(12647):     at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:662)
    11-12 12:58:25.905: ERROR/AndroidRuntime(12647):     at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:662)
    11-12 12:58:25.905: ERROR/AndroidRuntime(12647):     at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:662)
    11-12 12:58:25.905: ERROR/AndroidRuntime(12647):     at android.view.ViewRoot.handleMessage(ViewRoot.java:1923)
    11-12 12:58:25.905: ERROR/AndroidRuntime(12647):     at android.os.Handler.dispatchMessage(Handler.java:99)
    11-12 12:58:25.905: ERROR/AndroidRuntime(12647):     at android.os.Looper.loop(Looper.java:123)
    11-12 12:58:25.905: ERROR/AndroidRuntime(12647):     at android.app.ActivityThread.main(ActivityThread.java:4633)
    11-12 12:58:25.905: ERROR/AndroidRuntime(12647):     at java.lang.reflect.Method.invokeNative(Native Method)
    11-12 12:58:25.905: ERROR/AndroidRuntime(12647):     at java.lang.reflect.Method.invoke(Method.java:521)
    11-12 12:58:25.905: ERROR/AndroidRuntime(12647):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858)
    11-12 12:58:25.905: ERROR/AndroidRuntime(12647):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
    11-12 12:58:25.905: ERROR/AndroidRuntime(12647):     at dalvik.system.NativeStart.main(Native Method)

Thanks
Romi.