Details
-
Bug
-
Status: Resolved
-
Resolution: Done
-
None
-
None
-
None
-
None
-
Operating System: Windows
Platform: PC
-
1130
Description
TypeDefinitionAwareCodec contains class StringCodecStringImpl where deserialize method is implemented like this:
public String deserialize(String stringRepresentation)
{ return stringRepresentation; }It cause NullPointerException when trying parse from composite node to normalized node (if there is node with null value).
Could it be like this?
public String deserialize(String stringRepresentation)
{ return stringRepresentation == null ? "" : stringRepresentation; }