JsonToBean has code to map from Bundle Job, Coordinator Job, etc JSON into the associated BundleJob, CoordinatorJob, etc classes.
If a mapping is missing, and you try to call a getter, the code will compile but you'll get a RuntimeException. For example; the mapping for BundleJob.getAcl() is missing. Specifically, when you use this code:
you get this exception:
There are a few inconsistencies including extra mappings, missing mappings, and missing information from the server.
- Fix these inconsistencies.
- Write tests to prevent this sort of thing from happening in the future.