soa-model
soa-model copied to clipboard
NPE in ComplexContentDiffGenerator
I've encountered a NullPointerException in ComplexContentDiffGenerator: https://github.com/membrane/soa-model/blob/9e7acdfb205fddc60bdd44fcfc4940f4f386ca7d/core/src/main/groovy/com/predic8/schema/diff/ComplexContentDiffGenerator.groovy#L61
a.derivation was null.
derivation is not mandatory in ComplexContent, if this branch is taken while creating:
https://github.com/membrane/soa-model/blob/9e7acdfb205fddc60bdd44fcfc4940f4f386ca7d/core/src/main/groovy/com/predic8/schema/ComplexContent.groovy#L58-L63
Thanks for reporting the issue! We happily accept pull requests. :)