[JAVA-3364] PojoCodecImpl specializedPojoCodec race condition causes NPE Created: 26/Jul/19 Updated: 08/Oct/19 Resolved: 08/Oct/19 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | POJO |
| Affects Version/s: | 3.10.2 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Kieron Edwards | Assignee: | John Stewart (Inactive) |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
| Comments |
| Comment by John Stewart (Inactive) [ 08/Oct/19 ] |
|
We were unable to reproduce the issue. If an example POJO is provided that reproduces the issue, we will reopen the investigation. The ticket |
| Comment by John Stewart (Inactive) [ 11/Sep/19 ] |
|
kieron.edwards@me.com We would like to fully understand the issue causing this bug, and providing the POJO you used to generate this issue would help us greatly. Any information you can provide would be appreciated. Cheers! |
| Comment by John Stewart (Inactive) [ 12/Aug/19 ] |
|
kieron.edwards@me.com Thanks for reporting this. While investigating this ticket, I found that I do not have a full grasp of the problem, and therefore my attempt at a fix may not cover this ticket in its entirety. Would you be able to share the POJO that you are using? It would help me better understand the issue and create a reproducible test case. Thanks. |
| Comment by John Stewart (Inactive) [ 06/Aug/19 ] |
|
The map and list fields in `ClassModel` need to be initialized with defensive copies and then be made unmodifiable. Reopening the ticket to address this. |
| Comment by Githook User [ 06/Aug/19 ] |
|
Author: {'name': 'John Stewart', 'username': 'jstewart-mongo', 'email': 'john.stewart@mongodb.com'}Message: Make ClassModel immutable
|