Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003357 [Hessian] major always 02-26-09 07:31 12-16-09 16:36
Reporter oehmiche View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 3.2.1
Summary 0003357: NPE on deserialization if default constructor is missing
Description For classes without default constructor an arbitrary constructor is called with null-arguments when deserializing the class. The given properties will be set be introspection afterwards.

If the called constructor performs any actions with the given parameters a nullpointer may occur.

For an example see the attached java file.

Using the java deserializing mechanismen everything goes fine.



Additional Information
Attached Files  HessianExceptionTest.java [^] (1,286 bytes) 02-26-09 07:31

- Relationships

- Notes
(0004345)
ferg
12-16-09 16:36

hessian/3b4h
 

- Issue History
Date Modified Username Field Change
02-26-09 07:31 oehmiche New Issue
02-26-09 07:31 oehmiche File Added: HessianExceptionTest.java
12-16-09 16:36 ferg Note Added: 0004345
12-16-09 16:36 ferg Assigned To  => ferg
12-16-09 16:36 ferg Status new => closed
12-16-09 16:36 ferg Resolution open => fixed
12-16-09 16:36 ferg Fixed in Version  => 4.0.3


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