javax.validation.ConstraintViolationException

Stack Overflow | Maboi | 2 months ago
  1. 0

    Ignore javax validation in REST Response

    Stack Overflow | 7 months ago | Don Nitke
    javax.validation.ConstraintViolationException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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