StreamCorruptedException: invalid stream header:
问题 I am getting a StreamCorruptedException and I have no idea why or how it's happening. Any help would be awesome! Here is the Client: ClientConfig config = new DefaultClientConfig(); Client client = Client.create(config); WebResource service = client.resource(getBaseURI()); Map params = new HashMap<String, Object>(); Order[] orders = odao.getOpenOrdersByTenant(tenantID); JSONObject jObj = new JSONObject(); jObj.put("params", params); jObj.put("sourcePath", System.getProperty("user.dir") + "