jaxb-ri icon indicating copy to clipboard operation
jaxb-ri copied to clipboard

Cause exception is lost for IllegalAnnotationsException

Open PavelTurk opened this issue 8 months ago • 1 comments

This is what I have in log file:

org.glassfish.jaxb.runtime.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions
	at [email protected]/org.glassfish.jaxb.runtime.v2.runtime.IllegalAnnotationsException$Builder.check(IllegalAnnotationsException.java:83) ~[jaxb-runtime-4.0.2.jar:?]
	at [email protected]/org.glassfish.jaxb.runtime.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:421) ~[jaxb-runtime-4.0.2.jar:?]
	at [email protected]/org.glassfish.jaxb.runtime.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:255) ~[jaxb-runtime-4.0.2.jar:?]
	at [email protected]/org.glassfish.jaxb.runtime.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1115) ~[jaxb-runtime-4.0.2.jar:?]
	at [email protected]/org.glassfish.jaxb.runtime.v2.ContextFactory.createContext(ContextFactory.java:144) ~[jaxb-runtime-4.0.2.jar:?]
	at [email protected]/org.glassfish.jaxb.runtime.v2.JAXBContextFactory.createContext(JAXBContextFactory.java:44) ~[jaxb-runtime-4.0.2.jar:?]
	at [email protected]/jakarta.xml.bind.ContextFinder.find(ContextFinder.java:368) ~[jakarta.xml.bind-api-4.0.0.jar:?]
	at [email protected]/jakarta.xml.bind.JAXBContext.newInstance(JAXBContext.java:605) ~[jakarta.xml.bind-api-4.0.0.jar:?]
	at [email protected]/jakarta.xml.bind.JAXBContext.newInstance(JAXBContext.java:546) ~[jakarta.xml.bind-api-4.0.0.jar:?]

However, it gives me nothing. So, I have to add breakpoint to line 81 of IllegalAnnotationsException and check list field, to understand what is going on: Screenshot from 2024-06-14 12-02-48

PavelTurk avatar Jun 14 '24 09:06 PavelTurk