Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Coderanch by Maria Michael, 1 year ago
via com.br by Unknown author, 2 years ago
via hibernate.org by Unknown author, 1 year ago
via Oracle Community by mr_z_m_wu, 1 year ago
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(BeanValidationListener.java:90)	at org.eclipse.persistence.internal.jpa.metadata.listeners.BeanValidationListener.prePersist(BeanValidationListener.java:62)	at org.eclipse.persistence.descriptors.DescriptorEventManager.notifyListener(DescriptorEventManager.java:698)	at org.eclipse.persistence.descriptors.DescriptorEventManager.notifyEJB30Listeners(DescriptorEventManager.java:641)	at org.eclipse.persistence.descriptors.DescriptorEventManager.executeEvent(DescriptorEventManager.java:200)	at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.registerNewObjectClone(UnitOfWorkImpl.java:4246)	at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.registerNotRegisteredNewObjectForPersist(UnitOfWorkImpl.java:4223)	at org.eclipse.persistence.internal.sessions.RepeatableWriteUnitOfWork.registerNotRegisteredNewObjectForPersist(RepeatableWriteUnitOfWork.java:511)	at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.registerNewObjectForPersist(UnitOfWorkImpl.java:4165)	at org.eclipse.persistence.internal.jpa.EntityManagerImpl.persist(EntityManagerImpl.java:440)	at com.sun.enterprise.container.common.impl.EntityManagerWrapper.persist(EntityManagerWrapper.java:269)	at myapp.control.AbstractFacade.create(AbstractFacade.java:24)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:601)	at org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1052)	at org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1124)	at com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:5366)	at com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:619)	at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)	at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:571)	at org.jboss.weld.ejb.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:46)	at sun.reflect.GeneratedMethodAccessor253.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:601)	at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:861)	at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)	at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:571)	at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.doAround(SystemInterceptorProxy.java:162)	at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.aroundInvoke(SystemInterceptorProxy.java:144)	at sun.reflect.GeneratedMethodAccessor252.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:601)	at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:861)	at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)	at com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:370)	at com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:5338)	at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:5326)	at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:214)	at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:88)	at $Proxy319.create(Unknown Source)	at myapp.control.__EJB31_Generated__ActiontypeFacade__Intf____Bean__.create(Unknown Source)	at myapp.jsf.ActiontypeController.create(ActiontypeController.java:84)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:601)	at com.sun.el.parser.AstValue.invoke(AstValue.java:234)	at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297)	at org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:43)	at org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:56)	at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)	at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)	at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)	at javax.faces.component.UICommand.broadcast(UICommand.java:315)	at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794)	at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1259)	at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)	at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)	at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1539)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:281)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)	at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)	at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)	at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:330)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)	at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:174)	at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)	at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)	at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)	at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)	at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)	at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)	at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)	at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)	at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)	at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)	at com.sun.grizzly.ContextTask.run(ContextTask.java:71)	at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)	at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)	at java.lang.Thread.run(Thread.java:722)