Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NPE in ComplexContentDiffGenerator #285

Closed
ff-wl opened this issue Apr 27, 2022 · 1 comment · Fixed by #286
Closed

NPE in ComplexContentDiffGenerator #285

ff-wl opened this issue Apr 27, 2022 · 1 comment · Fixed by #286

Comments

@ff-wl
Copy link
Contributor

ff-wl commented Apr 27, 2022

I've encountered a NullPointerException in ComplexContentDiffGenerator:

a.derivation was null.

derivation is not mandatory in ComplexContent, if this branch is taken while creating:

} else {
// It is a build in type from XML Schema
restriction = RestrictionUtil.getRestriction(type, [base: base])
restriction.schema = schema
break;
}

@rrayst
Copy link
Contributor

rrayst commented Apr 27, 2022

Thanks for reporting the issue! We happily accept pull requests. :)

predic8 added a commit that referenced this issue Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants