You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
09-06 20:00:46.842: DEBUG/HttpCache(736): MEM cache hit for http://oscope.org/t/time.php
09-06 20:00:50.272: DEBUG/HttpCache(736): DISK cache expiration for file /data/data/org.foo/cache/cachefu/http_cache/http+oscope+org+t+time+php
09-06 20:00:54.273: WARN/System.err(736): java.lang.NullPointerException
09-06 20:00:54.283: WARN/System.err(736): at com.github.ignition.support.http.cache.CachedHttpResponse$ResponseData.access$0(CachedHttpResponse.java:25)
09-06 20:00:54.293: WARN/System.err(736): at com.github.ignition.support.http.cache.CachedHttpResponse.getResponseBodyAsString(CachedHttpResponse.java:55)
09-06 20:00:54.293: WARN/System.err(736): at org.foo.AndroidTestingActivity$GetTime.doInBackground(AndroidTestingActivity.java:46)
Did some more experimenting with Droidfu library and found a possible clue for root cause.
If you check that the responseCache has that particular key(url) the npe never gets thrown.
So I guess you have to request the same resource over and over and over until the cache time expires for this to happen. Thinking about it this might be an edge case for more natural uses.
First, the Stack Trace :
Scenario:
Code Samples
The Activity :
XML file
Some other Notes
The text was updated successfully, but these errors were encountered: