Closed izaera closed 8 years ago
What exactly did you do to get this NPE? For me just a @Metat.OCD didn't cause problems, I had to also use a @XMLAttribute-annotated annotation as well. See the pull request.
@djencks I think @rotty3000 was talking yesterday with some people from your team (I don't know if you were involved) and they came to the conclusion that XMLAttribute annotations don't work with BND metatype annotations which is what you are saying.
I forgot to mention that in the issue description :-(. Sorry.
The XMLAttribute meta-annotation definitely does not work with the BND metatype annotations and no one has any plans to add support, since you should use the spec annotations instead. The test I came up with that pre-fix produced an NPE involved using both an XMLAttributed annotation and the BND metatype annotations; since the fix eliminated the NPE I think the pull request fixes this issue.
I'm getting the following exception when using BND3 (this used to work in 2.4.1):
If I switch from @Meta.OCD to @ObjectClassDefinition everything works fine.