有人知道这是什么原因吗

时间:2022-05-01 18:57:11
05-25 13:53:17.601 11294-12202/com.touyun.warehouseapp W/System.err: java.io.IOException: content-length promised 15 bytes, but received 0
05-25 13:53:17.631 11294-12202/com.touyun.warehouseapp W/System.err:     at libcore.net.http.RetryableOutputStream.close(RetryableOutputStream.java:49)
05-25 13:53:17.631 11294-12202/com.touyun.warehouseapp W/System.err:     at libcore.net.http.HttpEngine.readResponse(HttpEngine.java:818)
05-25 13:53:17.631 11294-12202/com.touyun.warehouseapp W/System.err:     at libcore.net.http.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:283)
05-25 13:53:17.631 11294-12202/com.touyun.warehouseapp W/System.err:     at libcore.net.http.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:497)
05-25 13:53:17.631 11294-12202/com.touyun.warehouseapp W/System.err:     at com.touyun.warehouseapp.WebManager.GetData(WebManager.java:56)
05-25 13:53:17.641 11294-12202/com.touyun.warehouseapp W/System.err:     at com.touyun.warehouseapp.WebManager.getProducts(WebManager.java:142)
05-25 13:53:17.641 11294-12202/com.touyun.warehouseapp W/System.err:     at com.touyun.warehouseapp.ProductActivity$2.run(ProductActivity.java:67)

3 个解决方案

#1


java.io.IOException: content-length promised 15 bytes, but received 0
at com.touyun.warehouseapp.ProductActivity$2.run(ProductActivity.java:67

ProductActivity.java 第67行

#2


05-25 13:53:17.631 11294-12202/com.touyun.warehouseapp W/System.err:     at com.touyun.warehouseapp.WebManager.GetData(WebManager.java:56)
这一行出错了

#3


io异常,就是读写异常

#1


java.io.IOException: content-length promised 15 bytes, but received 0
at com.touyun.warehouseapp.ProductActivity$2.run(ProductActivity.java:67

ProductActivity.java 第67行

#2


05-25 13:53:17.631 11294-12202/com.touyun.warehouseapp W/System.err:     at com.touyun.warehouseapp.WebManager.GetData(WebManager.java:56)
这一行出错了

#3


io异常,就是读写异常