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

Open
ff-wl opened this issue Apr 27, 2022 · 1 comment · May be fixed by #286
Open

NPE in ComplexContentDiffGenerator #285

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

Comments

@ff-wl
Copy link

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. :)

@ff-wl ff-wl linked a pull request Apr 27, 2022 that will close this issue
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