Closed Yky closed 6 years ago
Ignore the commit on my fork, I overlooked something.
The cause of the problem seems to be ConcurrentSkipListSet that has an instance variable named "m". This is causing a conflict when checking for a registered field prefix m. I wonder why the field names of a generated class are checked? I would assume only non-openpojo and non-openpojo-generated code should be checked?
I still get this error with 0.8.5
Could you please submit a code sample demonstrating the error?
Sure.
The DTO to be tested: https://gist.github.com/Yky/2e22f0e00109edc13dc3740808a35937
The test for the DTO: https://gist.github.com/Yky/a334568ea379854558ef376aeea4c3bd
Since there is a random element in OpenPojo you might need to run the test several times to get the exception with the ConcurrentSkipListSet.
@oshoukry Have you been able to reproduce this error with my samples?
I am able to generate the error. Thank you for reporting, update soon.
Fixed in version 0.8.10.
If I run my tests several times without changing code I sometimes get the following Exception: