Source method StrictMode$AndroidBlockGuardPolicy.onNetwork()

1 reply [Last post]
kennw
User offline. Last seen 3 days 21 hours ago. Offline
Joined: 9 Jan 2011

I'm just putting this here cause I'm not sure if anyone else has seen it ...
Got our first error report from the Android Market ... And the person also emailed separately, so I know this error comes from a Galaxy Tab 10.1 ... they noted it crashes on load with that device -- (But it works fine on their HTC Desire).

Checking my Android stats in the martket, we've got 88 sales and I see a lot of 2.2 and 2.3 in the Stats section... but there's nothing "3+" showing up. Am wondering if maybe Galaxy Tab 10.1 is running honeycomb and that's the problem or ???

... Anyway ... Here's the report:

Exception class: android.os.NetworkOnMainThreadException

Source method: StrictMode$AndroidBlockGuardPolicy.onNetwork()

android.os.NetworkOnMainThreadException
at android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork(StrictMode.java:1077)
at dalvik.system.BlockGuard$WrappedNetworkSystem.read(BlockGuard.java:279)
at org.apache.harmony.luni.net.PlainSocketImpl.read(PlainSocketImpl.java:448)
at org.apache.harmony.luni.net.SocketInputStream.read(SocketInputStream.java:75)
at org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:103)
at org.apache.http.impl.io.AbstractSessionInputBuffer.read(AbstractSessionInputBuffer.java:134)
at org.apache.http.impl.io.ChunkedInputStream.read(ChunkedInputStream.java:161)
at org.apache.http.impl.io.ChunkedInputStream.read(ChunkedInputStream.java:175)
at org.apache.http.impl.io.ChunkedInputStream.exhaustInputStream(ChunkedInputStream.java:289)
at org.apache.http.impl.io.ChunkedInputStream.close(ChunkedInputStream.java:262)
at org.apache.http.conn.BasicManagedEntity.streamClosed(BasicManagedEntity.java:179)
at org.apache.http.conn.EofSensorInputStream.checkClose(EofSensorInputStream.java:266)
at org.apache.http.conn.EofSensorInputStream.close(EofSensorInputStream.java:213)
at org.apache.http.util.EntityUtils.toByteArray(EntityUtils.java:83)
at org.apache.http.entity.BufferedHttpEntity.(BufferedHttpEntity.java:62)
at com.loopj.android.http.AsyncHttpResponseHandler.getResponseBody(Unknown Source)
at com.loopj.android.http.AsyncHttpResponseHandler.handleResponseMessage(Unknown Source)
at com.ansca.corona.NativeToJavaBridge$NetworkRequestHandler.handleResponseMessage(NativeToJavaBridge.java:583)
at com.loopj.android.http.AsyncHttpResponseHandler.handleMessage(Unknown Source)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:132)
at android.app.ActivityThread.main(ActivityThread.java:4028)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:491)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:844)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:602)
at dalvik.system.NativeStart.main(Native Method)

Thanks,
~~Kenn

Replies

Ninja Pig Studios
User offline. Last seen 3 days 2 hours ago. Offline
Joined: 26 Jan 2011

I wouldn't worry about these errors. They are mostly just crashes and force closes because the user has to many things running in the background. There is nothing you can do since these errors are presented in Java and not Lua.

Regards,
Jordan Schuetz
Ninja Pig Studios

Viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.