404-not-find / orika

Automatically exported from code.google.com/p/orika
2 stars 0 forks source link

Mapping the two objects of the same class which include a method that calls a new instance of that class results in a stackoverflow exception #163

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.See attached test cases
2.
3.

What is the expected output? What do you see instead?
The objects should map

What version of the product are you using? On what operating system?
Latest version, linux, sun 1.6 jkk

Please provide any additional information below.
Whilst there is a workaround in the attached test class, we have 100's of 
classes that we would like to use orica mapping for that some methods will 
return new instances of the same class.

Original issue reported on code.google.com by chris.hu...@evalueis.com on 16 May 2014 at 4:36

Attachments:

GoogleCodeExporter commented 8 years ago
Hi,  The test was knocked up quickly, it needs the DateTest Class to be public 
for the test to run correctly.  I have back tested this and it works correctly 
with 1.3.5.  I upgraded to make use of the mapNulls functionality.  Which isn't 
in 1.3.5, I'll have a go a debugging this to see if I can work out what the 
issue is.  

Original comment by chris.hu...@evalueis.com on 18 May 2014 at 1:54