ZUGFeRD / mustangproject

Open Source Java e-Invoicing library, validator and tool (Factur-X/ZUGFeRD, UNCEFACT/CII XRechnung)
http://www.mustangproject.org
Apache License 2.0
168 stars 99 forks source link

Prevent NPE #302

Closed weclapp-dev closed 1 year ago

weclapp-dev commented 1 year ago

Maybe a null check before calling this method is the better way to prevent this exception? But in my opinion it is good enough.

jstaerk commented 1 year ago

thank you, good enough and already better than my code