While having a non default profile selected (One I generated) and converting an HL7 message to ER7 from XML, the message changes to "null" and the program throws a Null Pointer Exception.
It works with the provided ADT profile from the hapi validation page, but when I use any one of my profiles (even though they work with the parser) the message changes to Null.
Please add a piece of code or a small unit test that demonstrates the issue. Thanks..