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 Java.net JIRA by Kim Haase, 1 year ago
via Stack Overflow by Zookey
, 1 year ago
via GitHub by mortoza
, 2 years ago
This exception has no message.
via Stack Overflow by Luis Medrano
, 2 years 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:748)	at org.eclipse.persistence.descriptors.DescriptorEventManager.notifyEJB30Listeners(DescriptorEventManager.java:691)	at org.eclipse.persistence.descriptors.DescriptorEventManager.executeEvent(DescriptorEventManager.java:229)	at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.registerNewObjectClone(UnitOfWorkImpl.java:4310)	at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.registerNotRegisteredNewObjectForPersist(UnitOfWorkImpl.java:4287)	at org.eclipse.persistence.internal.sessions.RepeatableWriteUnitOfWork.registerNotRegisteredNewObjectForPersist(RepeatableWriteUnitOfWork.java:518)	at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.registerNewObjectForPersist(UnitOfWorkImpl.java:4229)	at org.eclipse.persistence.internal.jpa.EntityManagerImpl.persist(EntityManagerImpl.java:496)	at com.sun.enterprise.container.common.impl.EntityManagerWrapper.persist(EntityManagerWrapper.java:287)	at validationtest.ejb.PersonFacade.create(PersonFacade.java:46)	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:1081)	at org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1153)	at com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:4695)	at com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:630)	at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:822)	at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:582)	at org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:46)	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.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:883)	at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:822)	at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:582)	at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.doCall(SystemInterceptorProxy.java:163)	at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.aroundInvoke(SystemInterceptorProxy.java:140)	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.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:883)	at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:822)	at com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:369)	at com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:4667)	at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:4655)	at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:212)	at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:88)	at com.sun.proxy.$Proxy238.create(Unknown Source)	at validationtest.ejb.__EJB31_Generated__PersonFacade__Intf____Bean__.create(Unknown Source)	at validationtest.web.PersonController.create(PersonController.java:84)	at validationtest.web.PersonController$Proxy$_$$_WeldClientProxy.create(Unknown Source)	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:275)	at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:304)	at org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:40)	at org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:50)	at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)	at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:87)	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:790)	at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1282)	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:198)	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:646)	at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1682)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:318)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:160)	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:734)	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:673)	at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:99)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:174)	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:734)	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:673)	at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:354)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:260)	at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:188)	at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:191)	at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:168)	at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:189)	at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)	at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:288)	at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:206)	at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:136)	at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:114)	at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)	at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:838)	at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:113)	at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:115)	at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:55)	at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:135)	at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:564)	at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:544)	at java.lang.Thread.run(Thread.java:722)