Post

1 follower Follow
0
Avatar

[bug] can't post a comment

When I try to post a comment on some reddit entry, I get "An error occured while posting your comment". In logcat I get:

 

10-09 15:46:47.616: D/baconreader(6698): modhash: n28zv2hccvbf4c89ad132dadbd8433ba6a3f52ca42384b72d9

10-09 15:46:47.616: D/baconreader(6698): uh: n28zv2hccvbf4c89ad132dadbd8433ba6a3f52ca42384b72d9

10-09 15:46:47.616: D/baconreader(6698): api_type: json

10-09 15:46:47.626: D/baconreader(6698): thing_id: t3_116u1e

10-09 15:46:47.626: D/baconreader(6698): text: That is a hot view

10-09 15:46:47.636: D/baconreader(6698): r: CreepShots

10-09 15:46:47.976: I/global(6698): Default buffer size used in BufferedReader constructor. It would be better to be explicit if an 8k-char buffer is required.

10-09 15:46:48.016: D/Response(6698): 302 Found

10-09 15:46:48.016: D/Response(6698): The resource was found at http://www.reddit.com/r/CreepShots/over18?dest=%2Fapi%2Fcomment;

10-09 15:46:48.016: D/Response(6698): you should be redirected automatically.

10-09 15:46:48.376: D/dalvikvm(6698): GC_FOR_MALLOC freed 44104 objects / 1446920 bytes in 131ms

10-09 15:46:48.486: W/System.err(6698): org.codehaus.jackson.map.JsonMappingException: Can not construct instance of com.onelouder.baconreader.models.NonstandardJsonResponse, problem: no suitable creator method found to deserialize from JSON Number

10-09 15:46:48.486: W/System.err(6698): at [Source: java.io.StringReader@46aa6610; line: 1, column: 1]

10-09 15:46:48.546: W/System.err(6698): at org.codehaus.jackson.map.deser.StdDeserializationContext.instantiationException(StdDeserializationContext.java:210)

10-09 15:46:48.546: W/System.err(6698): at org.codehaus.jackson.map.deser.BeanDeserializer.deserializeFromNumber(BeanDeserializer.java:547)

10-09 15:46:48.546: W/System.err(6698): at org.codehaus.jackson.map.deser.BeanDeserializer.deserialize(BeanDeserializer.java:359)

10-09 15:46:48.546: W/System.err(6698): at org.codehaus.jackson.map.ObjectMapper._readMapAndClose(ObjectMapper.java:2131)

10-09 15:46:48.546: W/System.err(6698): at org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:1395)

10-09 15:46:48.546: W/System.err(6698): at com.onelouder.baconreader.PostCommentActivity$PostCommentTask.onPostExecute(PostCommentActivity.java:220)

10-09 15:46:48.546: W/System.err(6698): at com.onelouder.baconreader.PostCommentActivity$PostCommentTask.onPostExecute(PostCommentActivity.java:154)

10-09 15:46:48.546: W/System.err(6698): at android.os.AsyncTask.finish(AsyncTask.java:417)

10-09 15:46:48.546: W/System.err(6698): at android.os.AsyncTask.access$300(AsyncTask.java:127)

10-09 15:46:48.546: W/System.err(6698): at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:429)

10-09 15:46:48.546: W/System.err(6698): at android.os.Handler.dispatchMessage(Handler.java:99)

10-09 15:46:48.546: W/System.err(6698): at android.os.Looper.loop(Looper.java:144)

10-09 15:46:48.546: W/System.err(6698): at android.app.ActivityThread.main(ActivityThread.java:4937)

10-09 15:46:48.546: W/System.err(6698): at java.lang.reflect.Method.invokeNative(Native Method)

10-09 15:46:48.546: W/System.err(6698): at java.lang.reflect.Method.invoke(Method.java:521)

10-09 15:46:48.546: W/System.err(6698): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)

10-09 15:46:48.546: W/System.err(6698): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)

10-09 15:46:48.546: W/System.err(6698): at dalvik.system.NativeStart.main(Native Method)

10-09 15:46:49.276: D/baconreader(6698): requestAd

10-09 15:46:49.276: D/baconreader(6698): scheduleUpdates

Piotrek Laskowski

Please sign in to leave a comment.

1 comment

0
Avatar

My platform: Android 2.2, HTC Desire, official ROM

I'm logged in with my reddit account and can up(down)rank.

Piotrek Laskowski 0 votes