You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR c.g.d.core.MappingProcessor - Field mapping error -->
MapId: null
Type: null
Source parent class: A
Source field name: $jacocoData
Source field type: class [Z
Source field value: [Z@16be6b36
Dest parent class: B
Dest field name: $jacocoData
Dest field type: [Z
java.lang.OutOfMemoryError: Java heap space
Expected Results:
Dozer should ignore the synthetic jacoco fields. From jacoco FAQ:
My code uses reflection. Why does it fail when I execute it with JaCoCo?
To collect execution data JaCoCo instruments the classes under test which adds two members to the classes: A private static field $jacocoData and a private static method $jacocoInit(). Both members are marked as synthetic.
Please change your code to ignore synthetic members. This is a good practice anyways as also the Java compiler creates synthetic members in certain situation.
The text was updated successfully, but these errors were encountered:
@garethahealy Has this been fixed or is this a not a dozer issue? We're currently seeing excessive memory (OOM) usage after upgrading to dozer 6.5.0 when jacoco is enabled. Thanks!
@johannschenkl ; no, I've not had time to investigate (and won't have any in the coming months). if you want to investigate/raise a PR, happy to review/merge.
Steps to reproduce:
Observed Results:
Expected Results:
Dozer should ignore the synthetic jacoco fields. From jacoco FAQ:
The text was updated successfully, but these errors were encountered: