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

Issues due to #1734 #1746 #1756

Closed
laurentschoelens opened this issue Oct 7, 2023 · 1 comment · Fixed by #1766
Closed

Issues due to #1734 #1746 #1756

laurentschoelens opened this issue Oct 7, 2023 · 1 comment · Fixed by #1766

Comments

@laurentschoelens
Copy link
Contributor

laurentschoelens commented Oct 7, 2023

I've seen NPE in XJC due to #1734 (fix for #1708)
I've also seen NPE in XJC due to #1746 and errors

@laurentschoelens
Copy link
Contributor Author

java.lang.NullPointerException: Cannot invoke "String.trim()" because the return value of "com.sun.tools.xjc.reader.xmlschema.bindinfo.BindInfo.getDocumentation()" is null
	at com.sun.tools.xjc.reader.xmlschema.SimpleTypeBuilder.buildCEnumConstants(SimpleTypeBuilder.java:651)
	at com.sun.tools.xjc.reader.xmlschema.SimpleTypeBuilder.bindToTypeSafeEnum(SimpleTypeBuilder.java:584)
java.lang.NullPointerException: Cannot invoke "com.sun.tools.xjc.reader.xmlschema.bindinfo.BIProperty.getOptionalPropertyMode()" because the return value of "com.sun.tools.xjc.reader.xmlschema.bindinfo.BIProperty.getDefault()" is null
	at com.sun.tools.xjc.reader.xmlschema.bindinfo.BIProperty.getOptionalPropertyMode(BIProperty.java:223)
	at com.sun.tools.xjc.reader.xmlschema.bindinfo.BIProperty.wrapUp(BIProperty.java:454)

@laurentschoelens laurentschoelens changed the title NPE in fix for #1708 Issues due to #1734 #1746 Oct 9, 2023
laurentschoelens added a commit to laurentschoelens/jaxb-ri that referenced this issue Oct 9, 2023
lukasj pushed a commit that referenced this issue Oct 9, 2023
* Fixes issues introduced in #1734 (NPE / auto-ack on non wanted classes)
* Fixing issues #1756 (for #1734 PR)
lukasj pushed a commit to lukasj/jaxb-ri that referenced this issue Oct 9, 2023
* Fixes issues introduced in eclipse-ee4j#1734 (NPE / auto-ack on non wanted classes)
* Fixing issues eclipse-ee4j#1756 (for eclipse-ee4j#1734 PR)

(cherry picked from commit 731a5f0)
lukasj pushed a commit that referenced this issue Oct 13, 2023
* Fixes issues introduced in #1734 (NPE / auto-ack on non wanted classes)
* Fixing issues #1756 (for #1734 PR)

(cherry picked from commit 731a5f0)
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.

1 participant