javax.ejb.EJBException

GitHub | kcondon | 3 months ago

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. javax.validation.ConstraintViolationException

    Bean Validation constraint(s) violated while executing Automatic Bean Validation on callback event:'prePersist'. Please refer to embedded ConstraintViolations for details.

    at org.eclipse.persistence.internal.jpa.metadata.listeners.BeanValidationListener.validateOnCallbackEvent()
  2. EclipseLink (non-OSGi)
    EntityManagerImpl.merge
    1. org.eclipse.persistence.internal.jpa.metadata.listeners.BeanValidationListener.validateOnCallbackEvent(BeanValidationListener.java:90)
    2. org.eclipse.persistence.internal.jpa.metadata.listeners.BeanValidationListener.prePersist(BeanValidationListener.java:62)
    3. org.eclipse.persistence.descriptors.DescriptorEventManager.notifyListener(DescriptorEventManager.java:748)
    4. org.eclipse.persistence.descriptors.DescriptorEventManager.notifyEJB30Listeners(DescriptorEventManager.java:691)
    5. org.eclipse.persistence.descriptors.DescriptorEventManager.executeEvent(DescriptorEventManager.java:229)
    6. org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.registerNewObjectClone(UnitOfWorkImpl.java:4316)
    7. org.eclipse.persistence.internal.sessions.RepeatableWriteUnitOfWork.cloneAndRegisterNewObject(RepeatableWriteUnitOfWork.java:608)
    8. org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.internalRegisterObject(UnitOfWorkImpl.java:2937)
    9. org.eclipse.persistence.internal.sessions.MergeManager.registerObjectForMergeCloneIntoWorkingCopy(MergeManager.java:1087)
    10. org.eclipse.persistence.internal.sessions.MergeManager.mergeChangesOfCloneIntoWorkingCopy(MergeManager.java:557)
    11. org.eclipse.persistence.internal.sessions.MergeManager.mergeChanges(MergeManager.java:313)
    12. org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.mergeCloneWithReferences(UnitOfWorkImpl.java:3521)
    13. org.eclipse.persistence.internal.sessions.RepeatableWriteUnitOfWork.mergeCloneWithReferences(RepeatableWriteUnitOfWork.java:384)
    14. org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.mergeCloneWithReferences(UnitOfWorkImpl.java:3481)
    15. org.eclipse.persistence.internal.jpa.EntityManagerImpl.mergeInternal(EntityManagerImpl.java:542)
    16. org.eclipse.persistence.internal.jpa.EntityManagerImpl.merge(EntityManagerImpl.java:519)
    16 frames
  3. Container Common
    EntityManagerWrapper.merge
    1. com.sun.enterprise.container.common.impl.EntityManagerWrapper.merge(EntityManagerWrapper.java:305)
    1 frame
  4. edu.harvard.iq
    OAISetServiceBean.save
    1. edu.harvard.iq.dataverse.harvest.server.OAISetServiceBean.save(OAISetServiceBean.java:310)
    1 frame
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  6. Embedded GlassFish Web
    EjbInvocation.proceed
    1. org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1081)
    2. org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1153)
    3. com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:4786)
    4. com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:656)
    5. com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:822)
    6. com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:608)
    6 frames
  7. Weld Implementation
    SessionBeanInterceptor.aroundInvoke
    1. org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:64)
    2. org.jboss.weld.ejb.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:52)
    2 frames
  8. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor123.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    3. java.lang.reflect.Method.invoke(Method.java:498)
    3 frames
  9. Embedded GlassFish Web
    SystemInterceptorProxy.aroundInvoke
    1. com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:883)
    2. com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:822)
    3. com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:608)
    4. com.sun.ejb.containers.interceptors.SystemInterceptorProxy.doCall(SystemInterceptorProxy.java:163)
    5. com.sun.ejb.containers.interceptors.SystemInterceptorProxy.aroundInvoke(SystemInterceptorProxy.java:140)
    5 frames
  10. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor110.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    3. java.lang.reflect.Method.invoke(Method.java:498)
    3 frames
  11. Embedded GlassFish Web
    EJBLocalObjectInvocationHandlerDelegate.invoke
    1. com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:883)
    2. com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:822)
    3. com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:369)
    4. com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:4758)
    5. com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:4746)
    6. com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:212)
    7. com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:88)
    7 frames
  12. com.sun.proxy
    $Proxy869.save
    1. com.sun.proxy.$Proxy869.save(Unknown Source)
    1 frame
  13. edu.harvard.iq
    HarvestingSetsPage.createSet
    1. edu.harvard.iq.dataverse.harvest.server.__EJB31_Generated__OAISetServiceBean__Intf____Bean__.save(Unknown Source)
    2. edu.harvard.iq.dataverse.HarvestingSetsPage.createSet(HarvestingSetsPage.java:234)
    2 frames
  14. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  15. EL
    MethodExpressionImpl.invoke
    1. com.sun.el.parser.AstValue.invoke(AstValue.java:289)
    2. com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:304)
    2 frames
  16. Weld Implementation
    WeldMethodExpression.invoke
    1. org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:40)
    2. org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:50)
    2 frames
  17. JSF
    TagMethodExpression.invoke
    1. com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)
    1 frame
  18. JavaEE 7
    UIViewRoot.processApplication
    1. javax.faces.event.MethodExpressionActionListener.processAction(MethodExpressionActionListener.java:147)
    2. javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)
    3. javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:813)
    4. javax.faces.component.UICommand.broadcast(UICommand.java:300)
    5. javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:790)
    6. javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1282)
    6 frames
  19. JSF
    LifecycleImpl.execute
    1. com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)
    2. com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
    3. com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:198)
    3 frames
  20. JavaEE 7
    FacesServlet.service
    1. javax.faces.webapp.FacesServlet.service(FacesServlet.java:646)
    1 frame
  21. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1682)
    2. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:344)
    3. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
    3 frames
  22. Tyrus Servlet Bundle
    TyrusServletFilter.doFilter
    1. org.glassfish.tyrus.servlet.TyrusServletFilter.doFilter(TyrusServletFilter.java:295)
    1 frame
  23. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
    2 frames
  24. org.ocpsoft.rewrite
    RewriteFilter.doFilter
    1. org.ocpsoft.rewrite.servlet.RewriteFilter.doFilter(RewriteFilter.java:205)
    1 frame
  25. Glassfish Core
    StandardPipeline.invoke
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:316)
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:160)
    5. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:734)
    6. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:673)
    6 frames
  26. Glassfish
    WebPipeline.invoke
    1. com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:99)
    1 frame
  27. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:174)
    2. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:734)
    3. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:673)
    4. org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:412)
    5. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:282)
    5 frames
  28. Kernel Classes
    ContainerMapper.service
    1. com.sun.enterprise.v3.services.impl.ContainerMapper$HttpHandlerCallable.call(ContainerMapper.java:459)
    2. com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:167)
    2 frames
  29. Grizzly Server
    HttpServerFilter.handleRead
    1. org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:201)
    2. org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:175)
    3. org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:235)
    3 frames
  30. Grizzly
    AbstractThreadPool$Worker.run
    1. org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
    2. org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:284)
    3. org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:201)
    4. org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:133)
    5. org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)
    6. org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
    7. org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:561)
    8. org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)
    9. org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:117)
    10. org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:56)
    11. org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:137)
    12. org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:565)
    13. org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:545)
    13 frames
  31. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame