-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ReflectionException when running tests several times #95
Comments
possible fix for issue OpenPojo#95
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: The test for the DTO: 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. |
Fixed in version 0.8.10. |
If I run my tests several times without changing code I sometimes get the following Exception:
The text was updated successfully, but these errors were encountered: