javax.validation.ConstraintViolationException

Stack Overflow | Maboi | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

Root Cause Analysis

  1. javax.validation.ConstraintViolationException

    No message provided

    at org.eclipse.persistence.jaxb.JAXBBeanValidator.buildConstraintViolationException()
  2. EclipseLink
    JAXBBeanValidator.buildConstraintViolationException
    1. org.eclipse.persistence.jaxb.JAXBBeanValidator.buildConstraintViolationException(JAXBBeanValidator.java:383)
    1 frame
  3. EclipseLink (non-OSGi)
    BeanValidationException.constraintViolation
    1. org.eclipse.persistence.exceptions.BeanValidationException.constraintViolation(BeanValidationException.java:53)
    1 frame
  4. EclipseLink
    MOXyJsonProvider.writeTo
    1. org.eclipse.persistence.jaxb.JAXBBeanValidator.buildConstraintViolationException(JAXBBeanValidator.java:385)
    2. org.eclipse.persistence.jaxb.JAXBBeanValidator.validate(JAXBBeanValidator.java:273)
    3. org.eclipse.persistence.jaxb.JAXBMarshaller.validateAndTransformIfNeeded(JAXBMarshaller.java:588)
    4. org.eclipse.persistence.jaxb.JAXBMarshaller.marshal(JAXBMarshaller.java:481)
    5. org.eclipse.persistence.jaxb.rs.MOXyJsonProvider.writeTo(MOXyJsonProvider.java:949)
    5 frames
  5. Jersey Core
    MessageBodyFactory.writeTo
    1. org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.invokeWriteTo(WriterInterceptorExecutor.java:265)
    2. org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.aroundWriteTo(WriterInterceptorExecutor.java:250)
    3. org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:162)
    4. org.glassfish.jersey.message.internal.MessageBodyFactory.writeTo(MessageBodyFactory.java:1130)
    4 frames
  6. jersey-core-client
    ClientRuntime.invoke
    1. org.glassfish.jersey.client.ClientRequest.doWriteEntity(ClientRequest.java:517)
    2. org.glassfish.jersey.client.ClientRequest.writeEntity(ClientRequest.java:499)
    3. org.glassfish.jersey.client.internal.HttpUrlConnector._apply(HttpUrlConnector.java:388)
    4. org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:285)
    5. org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:252)
    5 frames