org.postgresql.util.PSQLException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 225#23790468
    via GitHub by fxaeberhard
    ,
  • PMG - Unable to duplicate Task
    via GitHub by fxaeberhard
    ,
  • EntityManager not persisting in JavaFx
    via Stack Overflow by AymenDaoudi
    ,
  • GitHub comment 2460#146322512
    via GitHub by pdurbin
    ,
    • org.postgresql.util.PSQLException: ERREUR: la valeur d'une cl? dupliqu?e rompt la contrainte unique ? wrequirement_pkey ? Detail: La cl? ? (wrequirement_id)=(43642) ? existe d?j?. Error Code: 0 Call: INSERT INTO WREQUIREMENT (wrequirement_id, COMPLETENESS, wlevel, wlimit, QUALITY, QUANTITY, wwork) VALUES (?, ?, ?, ?, ?, ?, ?) bind => [7 parameters bound] Query: InsertObjectQuery(WRequirement( 43642 )) at org.eclipse.persistence.internal.jpa.EntityManagerImpl.flush(EntityManagerImpl.java:786)[org.eclipse.persistence.jpa.jar:2.3.2.v20111125-r10461] at org.eclipse.persistence.internal.jpa.EJBQueryImpl.performPreQueryFlush(EJBQueryImpl.java:1298)[org.eclipse.persistence.jpa.jar:2.3.2.v20111125-r10461] at org.eclipse.persistence.internal.jpa.EJBQueryImpl.executeReadQuery(EJBQueryImpl.java:434)[org.eclipse.persistence.jpa.jar:2.3.2.v20111125-r10461] at org.eclipse.persistence.internal.jpa.EJBQueryImpl.getSingleResult(EJBQueryImpl.java:773)[org.eclipse.persistence.jpa.jar:2.3.2.v20111125-r10461] at com.wegas.core.ejb.VariableDescriptorFacade.findByLabel(VariableDescriptorFacade.java:302)[wegas-core-1.0-SNAPSHOT.jar:na] at com.wegas.core.ejb.VariableDescriptorFacade.findUniqueLabel(VariableDescriptorFacade.java:214)[wegas-core-1.0-SNAPSHOT.jar:na] at com.wegas.core.ejb.VariableDescriptorFacade.createChild(VariableDescriptorFacade.java:101)[wegas-core-1.0-SNAPSHOT.jar:na] at com.wegas.core.ejb.VariableDescriptorFacade.duplicate(VariableDescriptorFacade.java:163)[wegas-core-1.0-SNAPSHOT.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.7.0_03] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[na:1.7.0_03] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.7.0_03] at java.lang.reflect.Method.invoke(Method.java:601)[na:1.7.0_03] at org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1052)[na:na] at org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1124)[na:na] at com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:5388)[ejb-container.jar:3.1.2] at com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:619)[ejb-container.jar:3.1.2] at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)[na:na] at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:571)[ejb-container.jar:3.1.2] at com.wegas.core.ejb.AbstractFacadeImpl.interceptor(AbstractFacadeImpl.java:185)[wegas-core-1.0-SNAPSHOT.jar:na] at sun.reflect.GeneratedMethodAccessor237.invoke(Unknown Source)[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.7.0_03] at java.lang.reflect.Method.invoke(Method.java:601)[na:1.7.0_03] at com.sun.ejb.containers.interceptors.BeanAroundInvokeInterceptor.intercept(InterceptorManager.java:902)[na:na] at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)[na:na] at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:571)[ejb-container.jar:3.1.2] at org.jboss.weld.ejb.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:42)[weld-osgi-bundle.jar:20111122-2001] at sun.reflect.GeneratedMethodAccessor231.invoke(Unknown Source)[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.7.0_03] at java.lang.reflect.Method.invoke(Method.java:601)[na:1.7.0_03] at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:861)[na:na] at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)[na:na] at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:571)[ejb-container.jar:3.1.2] at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.doAround(SystemInterceptorProxy.java:162)[na:na] at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.aroundInvoke(SystemInterceptorProxy.java:144)[na:na] at sun.reflect.GeneratedMethodAccessor217.invoke(Unknown Source)[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.7.0_03] at java.lang.reflect.Method.invoke(Method.java:601)[na:1.7.0_03] at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:861)[na:na] at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)[na:na] at com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:370)[na:na] at com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:5360)[ejb-container.jar:3.1.2] at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:5348)[ejb-container.jar:3.1.2] at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:214)[ejb-container.jar:3.1.2] at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:88)[ejb-container.jar:3.1.2] at $Proxy331.duplicate(Unknown Source)[na:na] at com.wegas.core.ejb.__EJB31_Generated__VariableDescriptorFacade__Intf____Bean__.duplicate(Unknown Source)[wegas-core-1.0-SNAPSHOT.jar:na] at com.wegas.core.rest.VariableDescriptorController.duplicate(VariableDescriptorController.java:155)[wegas-core-1.0-SNAPSHOT.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.7.0_03] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[na:1.7.0_03] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.7.0_03] at java.lang.reflect.Method.invoke(Method.java:601)[na:1.7.0_03] at org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1052)[na:na] at org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1124)[na:na] at com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:5388)[ejb-container.jar:3.1.2] at com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:619)[ejb-container.jar:3.1.2] at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)[na:na] at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:571)[ejb-container.jar:3.1.2] at org.jboss.weld.ejb.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:42)[weld-osgi-bundle.jar:20111122-2001] at sun.reflect.GeneratedMethodAccessor231.invoke(Unknown Source)[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.7.0_03] at java.lang.reflect.Method.invoke(Method.java:601)[na:1.7.0_03] at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:861)[na:na] at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)[na:na] at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:571)[ejb-container.jar:3.1.2] at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.doAround(SystemInterceptorProxy.java:162)[na:na] at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.aroundInvoke(SystemInterceptorProxy.java:144)[na:na] at sun.reflect.GeneratedMethodAccessor217.invoke(Unknown Source)[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.7.0_03] at java.lang.reflect.Method.invoke(Method.java:601)[na:1.7.0_03] at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:861)[na:na] at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)[na:na] at com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:370)[na:na] at com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:5360)[ejb-container.jar:3.1.2] at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:5348)[ejb-container.jar:3.1.2] at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:214)[ejb-container.jar:3.1.2] at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:88)[ejb-container.jar:3.1.2] at $Proxy341.duplicate(Unknown Source)[na:na] at com.wegas.core.rest.__EJB31_Generated__VariableDescriptorController__Intf____Bean__.duplicate(Unknown Source)[wegas-core-1.0-SNAPSHOT.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.7.0_03] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[na:1.7.0_03] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.7.0_03] at java.lang.reflect.Method.invoke(Method.java:601)[na:1.7.0_03] at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)[jersey-gf-server.jar:1.11] at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185)[jersey-gf-server.jar:1.11] at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)[jersey-gf-server.jar:1.11] at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)[jersey-gf-server.jar:1.11] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)[jersey-gf-server.jar:1.11] at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)[jersey-gf-server.jar:1.11] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)[jersey-gf-server.jar:1.11] at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)[jersey-gf-server.jar:1.11] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469)[jersey-gf-server.jar:1.11] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400)[jersey-gf-server.jar:1.11] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)[jersey-gf-server.jar:1.11] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)[jersey-gf-server.jar:1.11] at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)[jersey-gf-servlet.jar:1.11] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537)[jersey-gf-servlet.jar:1.11] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:708)[jersey-gf-servlet.jar:1.11] at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)[javax.servlet-api.jar:3.0.1] at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1542)[web-core.jar:3.1.2] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)[web-core.jar:3.1.2] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)[web-core.jar:3.1.2] at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)[shiro-web-1.2.1.jar:1.2.1] at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)[shiro-web-1.2.1.jar:1.2.1] at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)[shiro-core-1.2.1.jar:1.2.1] at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)[shiro-core-1.2.1.jar:1.2.1] at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)[shiro-core-1.2.1.jar:1.2.1] at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)[shiro-web-1.2.1.jar:1.2.1] at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)[shiro-web-1.2.1.jar:1.2.1] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)[web-core.jar:3.1.2] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)[web-core.jar:3.1.2] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)[web-core.jar:3.1.2] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)[web-core.jar:3.1.2] at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)[web-core.jar:3.1.2] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)[web-core.jar:3.1.2] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)[web-core.jar:3.1.2] at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331)[web-core.jar:3.1.2] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)[web-core.jar:3.1.2] at com.sun.enterprise.v3.services.impl.ContainerMapper$AdapterCallable.call(ContainerMapper.java:317)[kernel.jar:3.1.2] at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)[kernel.jar:3.1.2] at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:849)[grizzly-http.jar:1.9.46] at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:746)[grizzly-http.jar:1.9.46] at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1045)[grizzly-http.jar:1.9.46] at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:228)[grizzly-http.jar:1.9.46] at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)[grizzly-framework.jar:1.9.46] at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)[grizzly-framework.jar:1.9.46] at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)[grizzly-framework.jar:1.9.46] at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)[grizzly-http.jar:1.9.46] at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)[grizzly-framework.jar:1.9.46] at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)[grizzly-framework.jar:1.9.46] at com.sun.grizzly.ContextTask.run(ContextTask.java:71)[grizzly-framework.jar:1.9.46] at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)[grizzly-utils.jar:1.9.46] at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)[grizzly-utils.jar:1.9.46] at java.lang.Thread.run(Thread.java:722)[na:1.7.0_03]
    No Bugmate found.