java.lang.IllegalStateException: xava.failing.messages.added

openxava | jegomez | 1 year ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.IllegalStateException

    xava.failing.messages.added

    at org.openxava.validators.hibernate.FailingMessages.add()
  2. org.openxava.validators
    FailingMessages.add
    1. org.openxava.validators.hibernate.FailingMessages.add(FailingMessages.java:35)
    1 frame
  3. com.openxava.oxsigo
    ValidadorDocumentoContable.validate
    1. com.openxava.oxsigo.validadores.ValidadorDocumentoContable.validate(ValidadorDocumentoContable.java:72)
    1 frame
  4. org.openxava.validators
    EntityValidatorValidator.isValid
    1. org.openxava.validators.hibernate.EntityValidatorValidator.isValid(EntityValidatorValidator.java:41)
    1 frame
  5. Hibernate Validator Engine
    ValidatorImpl.validate
    1. org.hibernate.validator.internal.engine.constraintvalidation.ConstraintTree.validateSingleConstraint(ConstraintTree.java:283)
    2. org.hibernate.validator.internal.engine.constraintvalidation.ConstraintTree.validateConstraints(ConstraintTree.java:133)
    3. org.hibernate.validator.internal.engine.constraintvalidation.ConstraintTree.validateConstraints(ConstraintTree.java:91)
    4. org.hibernate.validator.internal.metadata.core.MetaConstraint.validateConstraint(MetaConstraint.java:83)
    5. org.hibernate.validator.internal.engine.ValidatorImpl.validateConstraint(ValidatorImpl.java:547)
    6. org.hibernate.validator.internal.engine.ValidatorImpl.validateConstraintsForDefaultGroup(ValidatorImpl.java:487)
    7. org.hibernate.validator.internal.engine.ValidatorImpl.validateConstraintsForCurrentGroup(ValidatorImpl.java:451)
    8. org.hibernate.validator.internal.engine.ValidatorImpl.validateInContext(ValidatorImpl.java:403)
    9. org.hibernate.validator.internal.engine.ValidatorImpl.validate(ValidatorImpl.java:206)
    9 frames
  6. Hibernate
    QueryImpl.list
    1. org.hibernate.cfg.beanvalidation.BeanValidationEventListener.validate(BeanValidationEventListener.java:137)
    2. org.hibernate.cfg.beanvalidation.BeanValidationEventListener.onPreUpdate(BeanValidationEventListener.java:103)
    3. org.hibernate.action.internal.EntityUpdateAction.preUpdate(EntityUpdateAction.java:257)
    4. org.hibernate.action.internal.EntityUpdateAction.execute(EntityUpdateAction.java:134)
    5. org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:465)
    6. org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:351)
    7. org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:350)
    8. org.hibernate.event.internal.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:67)
    9. org.hibernate.internal.SessionImpl.autoFlushIfRequired(SessionImpl.java:1227)
    10. org.hibernate.internal.SessionImpl.list(SessionImpl.java:1293)
    11. org.hibernate.internal.QueryImpl.list(QueryImpl.java:103)
    11 frames
  7. org.hibernate.jpa
    QueryImpl.getSingleResult
    1. org.hibernate.jpa.internal.QueryImpl.list(QueryImpl.java:573)
    2. org.hibernate.jpa.internal.QueryImpl.getSingleResult(QueryImpl.java:495)
    2 frames
  8. com.openxava.oxsigo
    SaveParteSatInstalacion.execute
    1. com.openxava.oxsigo.modelo.DocumentoContable.CalcularSiguienteNumero(DocumentoContable.java:277)
    2. com.openxava.oxsigo.modelo.DocumentoContable.setContabilizacionPrevia(DocumentoContable.java:337)
    3. com.openxava.oxsigo.acciones.SaveParteSatInstalacion.execute(SaveParteSatInstalacion.java:201)
    3 frames
  9. org.openxava.controller
    ModuleManager.execute
    1. org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:494)
    2. org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:402)
    3. org.openxava.controller.ModuleManager.execute(ModuleManager.java:359)
    3 frames
  10. org.apache.jsp
    execute_jsp._jspService
    1. org.apache.jsp.xava.execute_jsp._jspService(execute_jsp.java:196)
    1 frame
  11. GWT dev
    HttpJspBase.service
    1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    1 frame
  12. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
    1 frame
  13. GWT dev
    JspServlet.service
    1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:439)
    2. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
    3. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
    3 frames
  14. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
    1 frame
  15. Glassfish Core
    ApplicationDispatcher.include
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
    4. org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:604)
    5. org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:543)
    5 frames
  16. org.openxava.web
    Module.request
    1. org.openxava.web.servlets.Servlets.getURIAsStream(Servlets.java:66)
    2. org.openxava.web.dwr.Module.getURIAsStream(Module.java:202)
    3. org.openxava.web.dwr.Module.request(Module.java:61)
    3 frames
  17. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  18. Direct Web Remoting
    DwrServlet.doPost
    1. org.directwebremoting.impl.ExecuteAjaxFilter.doFilter(ExecuteAjaxFilter.java:34)
    2. org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428)
    3. org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:431)
    4. org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:283)
    5. org.directwebremoting.servlet.PlainCallHandler.handle(PlainCallHandler.java:52)
    6. org.directwebremoting.servlet.UrlProcessor.handle(UrlProcessor.java:101)
    7. org.directwebremoting.servlet.DwrServlet.doPost(DwrServlet.java:146)
    7 frames
  19. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:650)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
    2 frames
  20. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    2 frames
  21. Tomcat WS
    WsFilter.doFilter
    1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    1 frame
  22. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
    5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
    6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
    7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
    8. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:957)
    9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
    10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)
    10 frames
  23. Grizzly HTTP
    JIoEndpoint$SocketProcessor.run
    1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079)
    2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:620)
    3. org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
    3 frames
  24. Java RT
    ThreadPoolExecutor$Worker.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    2 frames
  25. Tomcat Util
    TaskThread$WrappingRunnable.run
    1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    1 frame
  26. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame