The buffer was shared by so that the variable was static. The simples AsyncTask used on RestAdapater solved it. This was tested on tablet<br><br><div class="gmail_quote">On Wed, Oct 31, 2012 at 11:31 AM,  <span dir="ltr">&lt;<a href="mailto:supittma@redhat.com" target="_blank">supittma@redhat.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">-1<br>
<br>
DefaultHttpClient isn&#39;t thread safe by default (hence Glen&#39;s crazy pile<br>
of stuff).  This means that if you have multiple widgets (like the ToDo<br>
app in tablet mode) the app will crash because the buffers are being<br>
shared behind the scenes.<br>
<div class="HOEnZb"><div class="h5"><br>
On 10/31/2012 02:13 AM, Matthias Wessendorf wrote:<br>
&gt; +1<br>
&gt;<br>
&gt; go!<br>
&gt;<br>
&gt; On Wed, Oct 31, 2012 at 2:15 AM, Bruno Oliveira&lt;<a href="mailto:bruno@abstractj.org">bruno@abstractj.org</a>&gt;  wrote:<br>
&gt;&gt; Morning everyone, I think that we&#39;re good to merge it.<br>
&gt;&gt;<br>
&gt;&gt; Ideas on it?<br>
&gt;&gt;<br>
&gt;&gt; <a href="https://github.com/aerogear/aerogear-android/pull/17" target="_blank">https://github.com/aerogear/aerogear-android/pull/17</a><br>
&gt;&gt;<br>
&gt;&gt; <a href="https://issues.jboss.org/browse/AEROGEAR-564" target="_blank">https://issues.jboss.org/browse/AEROGEAR-564</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; &quot;The measure of a man is what he does with power&quot; - Plato<br>
&gt;&gt; -<br>
&gt;&gt; @abstractj<br>
&gt;&gt; -<br>
&gt;&gt; Volenti Nihil Difficile<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; aerogear-dev mailing list<br>
&gt;&gt; <a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
<br>
_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
</div></div></blockquote></div><br>