java - Strange exception consuming JSON from Android application -



java - Strange exception consuming JSON from Android application -

i created android application consumes , parsing json

in development environment json is: http://balonmanoblog.hkadejo.com/ge/...v1/categorias/ , works fine

but in production environment, alter direction of json follows: http://www.balonmanoblog.com/ge/inde...v1/categorias/ no longer works

07-09 09:17:37.390: warn/system.err(7247): java.lang.runtimeexception: internal error 07-09 09:17:37.390: warn/system.err(7247): @ org.codehaus.jackson.impl.bytesourcebootstrapper.detectencoding(bytesourcebootstrapper.java:155) 07-09 09:17:37.390: warn/system.err(7247): @ org.codehaus.jackson.impl.bytesourcebootstrapper.constructparser(bytesourcebootstrapper.java:197)

wrong? help me please.

thanks

code path suggest went wrong during encoding detection; reproduce it necessary actual document bytes. if first read content byte array (use bytearrayoutputstream), easier know parser sees. error message not give plenty information, suggest somehow invalid state, i.e. bug in parser's encoding handling.

java android spring jackson resttemplate

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -