Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004015 [Hessian] major always 04-26-10 06:00 04-26-10 06:00
Reporter stefanthurnherr View Status public  
Assigned To
Priority normal Resolution open  
Status new   Product Version 3.2.1
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: expected binary at 0x41 [B ([B@1ac1fe4)
    at com.caucho.hessian.client.HessianProxy.invoke(
    at $Proxy0.createPackage(Unknown Source)
Caused by: expected binary at 0x41 [B ([B@1ac1fe4)
    at com.caucho.hessian.client.HessianProxy.invoke(
    ... 2 more
Additional Information The following [hessian-interest] mailing list thread seems to describe the exactly same problem - with no helpful answer so far: [^]

Hessian v4.x is not usable neither due to this bug: [^]

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!
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
04-26-10 06:00 stefanthurnherr New Issue
04-26-10 06:01 stefanthurnherr Issue Monitored: stefanthurnherr

Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
27 total queries executed.
24 unique queries executed.
Powered by Mantis Bugtracker