Skip to content

Cause exception is lost for IllegalAnnotationsException #1803

@PavelTurk

Description

@PavelTurk

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions