-
Bug
-
Resolution: Fixed
-
Major
-
5.4
When Jimmy creates a new empty file on the file system, or a new resource in JCR (no text property nor binary node yet), Map2BeanTransformer currently explicitly throws an NPE.
This should not be considered an invalid behavior, we don't want Jimmy to get puzzled at that cryptic stack trace.
YamlReader currently reads null out of such empty file/node, but regardless of where the map comes from, Map2Bean should be supportive, and eventually treat null as an empty map (which actually works).
Acceptance criteria