Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002273 [Resin] crash always 12-26-07 01:15 12-01-07 11:52
Reporter kitepad View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 3.1.5 Product Version 3.1.5
  Product Build
Summary 0002273: StackTraceElementDeserializer is not correct in Hessian2Input
Description When deserialize any subclass of Throwable, a exception is reported by Hessian.

You can reproduce this problem using following code:
 Exception e = new Exception("Hessian");
 ByteArrayOutputStream baos = new ByteArrayOutputStream();
 Hessian2Output hout = new Hessian2Output(baos);
 hout.writeObject(e);
 hout.close();
 Hessian2Input hin = new Hessian2Input(new ByteArrayInputStream(baos.toByteArray()));
 hin.readObject();
Steps To Reproduce
Additional Information I have checked StackTraceElementDeserializer class, if removed statement - "in.readMapEnd();", it's work correct.
Attached Files

- Relationships

- Notes
(0002601)
ferg
12-01-07 11:52

hessian/3bb5
 

- Issue History
Date Modified Username Field Change
12-26-07 01:15 kitepad New Issue
12-01-07 11:52 ferg Note Added: 0002601
12-01-07 11:52 ferg Assigned To  => ferg
12-01-07 11:52 ferg Status new => closed
12-01-07 11:52 ferg Resolution open => fixed
12-01-07 11:52 ferg Fixed in Version  => 3.1.5


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