Mantis - Hessian
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
4015 | major | always | 04-26-10 06:00 | 04-26-10 06:00 | |
|
|||||
Reporter: | stefanthurnherr | Platform: | |||
Assigned To: | OS: | ||||
Priority: | normal | OS Version: | |||
Status: | new | Product Version: | 3.2.1 | ||
Product Build: | Resolution: | open | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | |||
|
|||||
Summary: | 0004015: Exception: expected binary at 0x41 (when trying to read an InputStream in a Hessian Client) | ||||
Description: |
Using Hessian 3.2.1 on both server side and client side, I am trying to download a file from the server using this API: public interface IPackageCreatorService{ InputStream createPackage(String inputString, boolean aFlag); } When trying to read from the InputStream, I am getting the following exception: Exception in thread "main" com.caucho.hessian.client.HessianRuntimeException: com.caucho.hessian.io.HessianProtocolException: expected binary at 0x41 [B ([B@1ac1fe4) at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:258) at $Proxy0.createPackage(Unknown Source) at com.company.packager.testing.client.HessianDownloadClient.main(HessianDownloadClient.java:37) Caused by: com.caucho.hessian.io.HessianProtocolException: expected binary at 0x41 [B ([B@1ac1fe4) at com.caucho.hessian.io.Hessian2Input.error(Hessian2Input.java:2714) at com.caucho.hessian.io.Hessian2Input.expect(Hessian2Input.java:2685) at com.caucho.hessian.io.Hessian2Input.readInputStream(Hessian2Input.java:2556) at com.caucho.hessian.io.InputStreamDeserializer.readObject(InputStreamDeserializer.java:65) at com.caucho.hessian.io.Hessian2Input.readObject(Hessian2Input.java:1696) at com.caucho.hessian.io.Hessian2Input.readReply(Hessian2Input.java:328) at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:236) ... 2 more |
||||
Steps To Reproduce: | |||||
Additional Information: |
The following [hessian-interest] mailing list thread seems to describe the exactly same problem - with no helpful answer so far: http://maillist.caucho.com/pipermail/hessian-interest/2009-February/000641.html [^] Hessian v4.x is not usable neither due to this bug: http://bugs.caucho.com/view.php?id=3655 [^] So we'd be forced to use Hessian v3.1.6, which will very soon celebrate its second anniversary. Since that release, two major versions (3.2.x and 4.0.x) were released, which sounds like I should not use such an "old" version anymore. Btw: I'd really like to use Hessian: it looks simple, light-weight and efficient. Keep up the good work, but improve on marketing/communications! |
||||
Relationships | |||||
Attached Files: |
There are no notes attached to this issue. |