application crashing on changing the android version in an application
<p>I am developing an android application in which i have 5 tabs bars, the <code>ListView</code>-data is coming from server.</p>

<p>Its working fine in android 3.2 but now i have to change in android 2.1 updated and it's giving null pointers.</p>

<p>has anyone faced such problem before? Is it not possible to change a app code from android 2.3 to android 2.1 updated?</p>

<p>LogCat output:</p>

<pre><code>09-13 14:20:43.695: ERROR/AndroidRuntime(322): java.lang.NullPointerException
09-13 14:20:43.695: ERROR/AndroidRuntime(322):     at android.widget.TabHost.dispatchWindowFocusChanged(TabHost.java:295)
09-13 14:20:43.695: ERROR/AndroidRuntime(322):     at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:661)
09-13 14:20:43.695: ERROR/AndroidRuntime(322):     at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:661)
09-13 14:20:43.695: ERROR/AndroidRuntime(322):     at android.widget.TabHost.dispatchWindowFocusChanged(TabHost.java:295)
09-13 14:20:43.695: ERROR/AndroidRuntime(322):     at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:661)
09-13 14:20:43.695: ERROR/AndroidRuntime(322):     at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:661)
09-13 14:20:43.695: ERROR/AndroidRuntime(322):     at android.view.ViewRoot.handleMessage(ViewRoot.java:1819)
09-13 14:20:43.695: ERROR/AndroidRuntime(322):     at android.os.Handler.dispatchMessage(Handler.java:99)
09-13 14:20:43.695: ERROR/AndroidRuntime(322):     at android.os.Looper.loop(Looper.java:123)
09-13 14:20:43.695: ERROR/AndroidRuntime(322):     at android.app.ActivityThread.main(ActivityThread.java:4363)
09-13 14:20:43.695: ERROR/AndroidRuntime(322):     at java.lang.reflect.Method.invokeNative(Native Method)
09-13 14:20:43.695: ERROR/AndroidRuntime(322):     at java.lang.reflect.Method.invoke(Method.java:521)
09-13 14:20:43.695: ERROR/AndroidRuntime(322):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
09-13 14:20:43.695: ERROR/AndroidRuntime(322):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
09-13 14:20:43.695: ERROR/AndroidRuntime(322):     at dalvik.system.NativeStart.main(Native Method)
</code></pre>
