My app doesn't work in android 4.0 and 4.3 version
<p>as I wrote in the title my app has some problem that I can't explain.
When I start it on a device running android 2.2 or 2.3 it works correctly, but if I start the same app on a device running android 4.0 or 4.3 it doesn't work! Why?
The log cat says that when I access to an object retrieved from my server, I get a nullpointer exception using the function ".size()". Why I don't have the same problem in android 2.2 and 2.3? It doesn't make sense...
The android manifest is correctly set! :-/</p>

<p>Help!  </p>

<p>Edit1: (sorry for the lack of code!) </p>

<pre><code>int sursize = surUtil.getS_list().size();
</code></pre>

<p>In this line of code I use the object surUtil in which there is an array list that I get with a very simple getter method, then when I try to use the method ".size()", the app crash and the logcat print "nullpointer exception". Do I have to put the entire logcat? 
If I use the same code on a device with android 2.2 it works, the same on the device with android 2.3. I used the same app on a device with 2.3.4 and it worked, then I upgraded the same device to the android 4.0 and now it crash! Why? o.o</p>

<p>The android manifest is this</p>

<pre><code>    &lt;uses-sdk
    android:minSdkVersion="8"
    android:targetSdkVersion="15" /&gt;
</code></pre>

<p>Do I have to follow this guide?</p>

<p><a href="http://developer.android.com/sdk/compatibility-library.html" rel="nofollow">http://developer.android.com/sdk/compatibility-library.html</a> </p>
