<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"> 
    <head> 
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" /> <base href="https://issues.jboss.org" /> 
        <title>Message Title</title> 
    </head> 
    <body class="jira" style="color: #333; font-family: Arial, sans-serif; font-size: 14px; line-height: 1.429"> 
        <table id="background-table" cellpadding="0" cellspacing="0" width="100%" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; background-color: #f5f5f5; border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt"> 
            <!-- header here --> 
            <tr> 
                <td id="header-pattern-container" style="padding: 0px; border-collapse: collapse; padding: 10px 20px"> 
                    <table id="header-pattern" cellspacing="0" cellpadding="0" border="0" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt"> 
                        <tr> 
                            <td id="header-avatar-image-container" valign="top" style="padding: 0px; border-collapse: collapse; vertical-align: top; width: 32px; padding-right: 8px"> <img id="header-avatar-image" class="image_fix" src="cid:jira-generated-image-avatar-16e9b264-26fe-4c04-b5ae-156c858cdca3" height="32" width="32" border="0" style="border-radius: 3px; vertical-align: top" /> 
                            </td> 
                            <td id="header-text-container" valign="middle" style="padding: 0px; border-collapse: collapse; vertical-align: middle; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; mso-line-height-rule: exactly; mso-text-raise: 1px"> <a class="user-hover" rel="yoann08" id="email_yoann08" href="https://issues.jboss.org/secure/ViewProfile.jspa?name=yoann08" style="color:#3b73af;; color: #3b73af; text-decoration: none">Yoann Archambault</a> <strong>created</strong> an issue 
                            </td> 
                        </tr> 
                    </table> 
                </td> 
            </tr> 
            <tr> 
                <td id="email-content-container" style="padding: 0px; border-collapse: collapse; padding: 0 20px"> 
                    <table id="email-content-table" cellspacing="0" cellpadding="0" border="0" width="100%" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-spacing: 0; border-collapse: separate"> 
                        <tr> 
                            <!-- there needs to be content in the cell for it to render in some clients --> 
                            <td class="email-content-rounded-top mobile-expand" style="padding: 0px; border-collapse: collapse; color: #fff; padding: 0 15px 0 16px; height: 15px; background-color: #fff; border-left: 1px solid #ccc; border-top: 1px solid #ccc; border-right: 1px solid #ccc; border-bottom: 0; border-top-right-radius: 5px; border-top-left-radius: 5px; height: 10px; line-height: 10px; padding: 0 15px 0 16px; mso-line-height-rule: exactly">
                                &nbsp;
                            </td> 
                        </tr> 
                        <tr> 
                            <td class="email-content-main mobile-expand " style="padding: 0px; border-collapse: collapse; border-left: 1px solid #ccc; border-right: 1px solid #ccc; border-top: 0; border-bottom: 0; padding: 0 15px 0 16px; background-color: #fff"> 
                                <table class="page-title-pattern" cellspacing="0" cellpadding="0" border="0" width="100%" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt"> 
                                    <tr> 
                                        <td class="page-title-pattern-first-line " style="padding: 0px; border-collapse: collapse; font-family: Arial, sans-serif; font-size: 14px; padding-top: 10px"> <a href="https://issues.jboss.org/browse/AGPUSH" style="color: #3b73af; text-decoration: none">AeroGear Push</a> / <a href="https://issues.jboss.org/browse/AGPUSH-1891" style="color: #3b73af; text-decoration: none"><img src="cid:jira-generated-image-static-bug-934cea5a-0ce6-4b06-84b1-498ad964d0c5" height="16" width="16" border="0" align="absmiddle" alt="Bug" style="vertical-align: text-bottom" /></a> <a href="https://issues.jboss.org/browse/AGPUSH-1891" style="color: #3b73af; text-decoration: none">AGPUSH-1891</a> 
                                        </td> 
                                    </tr> 
                                    <tr> 
                                        <td style="vertical-align: top;; padding: 0px; border-collapse: collapse; padding-right: 5px; font-size: 20px; line-height: 30px; mso-line-height-rule: exactly" class="page-title-pattern-header-container"> <span class="page-title-pattern-header" style="font-family: Arial, sans-serif; padding: 0; font-size: 20px; line-height: 30px; mso-text-raise: 2px; mso-line-height-rule: exactly; vertical-align: middle"> <a href="https://issues.jboss.org/browse/AGPUSH-1891" style="color: #3b73af; text-decoration: none">Duplicate key value violates unique constraint &quot;installation_category_pkey&quot;</a> </span> 
                                        </td> 
                                    </tr> 
                                </table> 
                            </td> 
                        </tr> 
                        <tr> 
                            <td class="email-content-main mobile-expand  wrapper-special-margin" style="padding: 0px; border-collapse: collapse; border-left: 1px solid #ccc; border-right: 1px solid #ccc; border-top: 0; border-bottom: 0; padding: 0 15px 0 16px; background-color: #fff; padding-top: 10px; padding-bottom: 5px"> 
                                <table class="keyvalue-table" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt"> 
                                    <tr> 
                                        <th style="color: #707070; font: normal 14px/20px Arial, sans-serif; text-align: left; vertical-align: top; padding: 2px 0">
                                            Issue Type:
                                        </th> 
                                        <td class="has-icon" style="padding: 0px; border-collapse: collapse; font: normal 14px/20px Arial, sans-serif; padding: 2px 0 2px 5px; vertical-align: top"> <img src="cid:jira-generated-image-static-bug-934cea5a-0ce6-4b06-84b1-498ad964d0c5" height="16" width="16" border="0" align="absmiddle" alt="Bug" style="vertical-align: text-bottom" /> Bug 
                                        </td> 
                                    </tr> 
                                    <tr> 
                                        <th style="color: #707070; font: normal 14px/20px Arial, sans-serif; text-align: left; vertical-align: top; padding: 2px 0">
                                            Affects Versions:
                                        </th> 
                                        <td style="padding: 0px; border-collapse: collapse; font: normal 14px/20px Arial, sans-serif; padding: 2px 0 2px 5px; vertical-align: top">
                                             ups-1.1.3 
                                        </td> 
                                    </tr> 
                                    <tr> 
                                        <th style="color: #707070; font: normal 14px/20px Arial, sans-serif; text-align: left; vertical-align: top; padding: 2px 0">
                                            Assignee:
                                        </th> 
                                        <td style="padding: 0px; border-collapse: collapse; font: normal 14px/20px Arial, sans-serif; padding: 2px 0 2px 5px; vertical-align: top">
                                             Unassigned 
                                        </td> 
                                    </tr> 
                                    <tr> 
                                        <th style="color: #707070; font: normal 14px/20px Arial, sans-serif; text-align: left; vertical-align: top; padding: 2px 0">
                                            Components:
                                        </th> 
                                        <td style="padding: 0px; border-collapse: collapse; font: normal 14px/20px Arial, sans-serif; padding: 2px 0 2px 5px; vertical-align: top">
                                             UnifiedPush-server 
                                        </td> 
                                    </tr> 
                                    <tr> 
                                        <th style="color: #707070; font: normal 14px/20px Arial, sans-serif; text-align: left; vertical-align: top; padding: 2px 0">
                                            Created:
                                        </th> 
                                        <td style="padding: 0px; border-collapse: collapse; font: normal 14px/20px Arial, sans-serif; padding: 2px 0 2px 5px; vertical-align: top">
                                             08/Sep/16 1:42 PM 
                                        </td> 
                                    </tr> 
                                    <tr> 
                                        <th style="color: #707070; font: normal 14px/20px Arial, sans-serif; text-align: left; vertical-align: top; padding: 2px 0">
                                            Priority:
                                        </th> 
                                        <td class="has-icon" style="padding: 0px; border-collapse: collapse; font: normal 14px/20px Arial, sans-serif; padding: 2px 0 2px 5px; vertical-align: top"> <img src="cid:jira-generated-image-static-major-0ada10de-0a79-45b7-ac7c-6a8be6afb235" height="16" width="16" border="0" align="absmiddle" alt="Major" style="vertical-align: text-bottom" /> Major 
                                        </td> 
                                    </tr> 
                                    <tr> 
                                        <th style="color: #707070; font: normal 14px/20px Arial, sans-serif; text-align: left; vertical-align: top; padding: 2px 0">
                                            Reporter:
                                        </th> 
                                        <td style="padding: 0px; border-collapse: collapse; font: normal 14px/20px Arial, sans-serif; padding: 2px 0 2px 5px; vertical-align: top"> <a class="user-hover" rel="yoann08" id="email_yoann08" href="https://issues.jboss.org/secure/ViewProfile.jspa?name=yoann08" style="color:#3b73af;; color: #3b73af; text-decoration: none">Yoann Archambault</a> 
                                        </td> 
                                    </tr> 
                                </table> 
                            </td> 
                        </tr> 
                        <tr> 
                            <td class="email-content-main mobile-expand  issue-description-container" style="padding: 0px; border-collapse: collapse; border-left: 1px solid #ccc; border-right: 1px solid #ccc; border-top: 0; border-bottom: 0; padding: 0 15px 0 16px; background-color: #fff; padding-top: 5px; padding-bottom: 10px"> 
                                <table class="text-paragraph-pattern" cellspacing="0" cellpadding="0" border="0" width="100%" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; mso-line-height-rule: exactly; mso-text-raise: 2px"> 
                                    <tr> 
                                        <td class="text-paragraph-pattern-container mobile-resize-text " style="padding: 0px; border-collapse: collapse; padding: 0 0 10px 0"> 
                                            <p style="margin-top:0;margin-bottom:10px;; margin: 10px 0 0 0">Happens for a small percentage of the registrations. Our installations have between 3 and 6 categories each, and this error seems to happen on a registration update.</p> 
                                            <p style="margin-top:0;margin-bottom:10px;; margin: 10px 0 0 0">2016-09-08 10:35:07,230 WARN <span class="error">[org.hibernate.engine.jdbc.spi.SqlExceptionHelper]</span> (EJB default - 10) SQL Error: 0, SQLState: 23505<br /> 2016-09-08 10:35:07,231 ERROR <span class="error">[org.hibernate.engine.jdbc.spi.SqlExceptionHelper]</span> (EJB default - 10) ERROR: duplicate key value violates unique constraint &quot;installation_category_pkey&quot;<br /> Detail: Key (installation_id, category_id)=(78bf2331-2ce6-400b-a4cd-7a770c9598c5, 55) already exists.<br /> 2016-09-08 10:35:07,231 INFO <span class="error">[org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl]</span> (EJB default - 10) HHH000010: On release of batch it still contained JDBC statements<br /> 2016-09-08 10:35:07,263 ERROR <span class="error">[org.jboss.as.ejb3.invocation]</span> (EJB default - 10) JBAS014134: EJB Invocation failed on component ClientInstallationServiceImpl for method public abstract void org.jboss.aerogear.unifiedpush.service.ClientInstallationService.addInstallation(org.jboss.aerogear.unifiedpush.api.Variant,org.jboss.aerogear.unifiedpush.api.Installation): javax.ejb.EJBException: javax.persistence.PersistenceException: org.hibernate.exception.ConstraintViolationException: could not execute statement<br /> at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleExceptionInOurTx(CMTTxInterceptor.java:190) <span class="error">[wildfly-ejb3-8.2.1.Final.jar:8.2.1.Final]</span><br /> at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:275) <span class="error">[wildfly-ejb3-8.2.1.Final.jar:8.2.1.Final]</span><br /> at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:340) <span class="error">[wildfly-ejb3-8.2.1.Final.jar:8.2.1.Final]</span><br /> at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:239) <span class="error">[wildfly-ejb3-8.2.1.Final.jar:8.2.1.Final]</span><br /> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)<br /> at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41) <span class="error">[wildfly-ejb3-8.2.1.Final.jar:8.2.1.Final]</span><br /> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)<br /> at org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:43) <span class="error">[wildfly-ejb3-8.2.1.Final.jar:8.2.1.Final]</span><br /> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)<br /> at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:95) <span class="error">[wildfly-ejb3-8.2.1.Final.jar:8.2.1.Final]</span><br /> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)<br /> at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64) <span class="error">[wildfly-ejb3-8.2.1.Final.jar:8.2.1.Final]</span><br /> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)<br /> at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59) <span class="error">[wildfly-ejb3-8.2.1.Final.jar:8.2.1.Final]</span><br /> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)<br /> at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)<br /> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)<br /> at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:55) <span class="error">[wildfly-ejb3-8.2.1.Final.jar:8.2.1.Final]</span><br /> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)<br /> at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64)<br /> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)<br /> at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:326)<br /> at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:448)<br /> at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61)<br /> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)<br /> at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:326)<br /> at org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80)<br /> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)<br /> at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)<br /> at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:185)<br /> at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:182)<br /> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)<br /> at org.jboss.as.ejb3.component.interceptors.LogDiagnosticContextRecoveryInterceptor.processInvocation(LogDiagnosticContextRecoveryInterceptor.java:79) <span class="error">[wildfly-ejb3-8.2.1.Final.jar:8.2.1.Final]</span><br /> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)<br /> at org.jboss.as.ejb3.component.interceptors.AsyncFutureInterceptorFactory$1$2.runInvocation(AsyncFutureInterceptorFactory.java:97) <span class="error">[wildfly-ejb3-8.2.1.Final.jar:8.2.1.Final]</span><br /> at org.jboss.as.ejb3.component.interceptors.AsyncInvocationTask.run(AsyncInvocationTask.java:73) <span class="error">[wildfly-ejb3-8.2.1.Final.jar:8.2.1.Final]</span><br /> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) <span class="error">[rt.jar:1.7.0_10]</span><br /> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) <span class="error">[rt.jar:1.7.0_10]</span><br /> at java.lang.Thread.run(Thread.java:722) <span class="error">[rt.jar:1.7.0_10]</span><br /> at org.jboss.threads.JBossThread.run(JBossThread.java:122)<br /> Caused by: javax.persistence.PersistenceException: org.hibernate.exception.ConstraintViolationException: could not execute statement<br /> at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1763) <span class="error">[hibernate-entitymanager-4.3.7.Final.jar:4.3.7.Final]</span><br /> at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1677) <span class="error">[hibernate-entitymanager-4.3.7.Final.jar:4.3.7.Final]</span><br /> at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1683) <span class="error">[hibernate-entitymanager-4.3.7.Final.jar:4.3.7.Final]</span><br /> at org.hibernate.jpa.spi.AbstractEntityManagerImpl.flush(AbstractEntityManagerImpl.java:1338) <span class="error">[hibernate-entitymanager-4.3.7.Final.jar:4.3.7.Final]</span><br /> at org.jboss.as.jpa.container.AbstractEntityManager.flush(AbstractEntityManager.java:457) <span class="error">[wildfly-jpa-8.2.1.Final.jar:8.2.1.Final]</span><br /> at sun.reflect.GeneratedMethodAccessor314.invoke(Unknown Source) <span class="error">[:1.7.0_10]</span><br /> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) <span class="error">[rt.jar:1.7.0_10]</span><br /> at java.lang.reflect.Method.invoke(Method.java:601) <span class="error">[rt.jar:1.7.0_10]</span><br /> at org.jboss.weld.util.reflection.Reflections.invokeAndUnwrap(Reflections.java:414) <span class="error">[weld-core-impl-2.2.6.Final.jar:2014-10-03 10:05]</span><br /> at org.jboss.weld.bean.builtin.CallableMethodHandler.invoke(CallableMethodHandler.java:42) <span class="error">[weld-core-impl-2.2.6.Final.jar:2014-10-03 10:05]</span><br /> at org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.invoke(EnterpriseTargetBeanInstance.java:56) <span class="error">[weld-core-impl-2.2.6.Final.jar:2014-10-03 10:05]</span><br /> at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:100) <span class="error">[weld-core-impl-2.2.6.Final.jar:2014-10-03 10:05]</span><br /> at org.jboss.weldx.persistence.EntityManager$1916316266$Proxy$_$$_Weld$Proxy$.flush(Unknown Source) <span class="error">[hibernate-jpa-2.1-api-1.0.0.Final.jar:]</span><br /> at org.jboss.aerogear.unifiedpush.jpa.dao.impl.JPABaseDao.update(JPABaseDao.java:75) <span class="error">[unifiedpush-model-jpa-1.1.3.Final.jar:1.1.3.Final]</span><br /> at org.jboss.aerogear.unifiedpush.service.impl.ClientInstallationServiceImpl.updateInstallation(ClientInstallationServiceImpl.java:139) <span class="error">[unifiedpush-service-1.1.3.Final.jar:1.1.3.Final]</span><br /> at org.jboss.aerogear.unifiedpush.service.impl.ClientInstallationServiceImpl.updateInstallation(ClientInstallationServiceImpl.java:157) <span class="error">[unifiedpush-service-1.1.3.Final.jar:1.1.3.Final]</span><br /> at org.jboss.aerogear.unifiedpush.service.impl.ClientInstallationServiceImpl.addInstallation(ClientInstallationServiceImpl.java:79) <span class="error">[unifiedpush-service-1.1.3.Final.jar:1.1.3.Final]</span><br /> at sun.reflect.GeneratedMethodAccessor302.invoke(Unknown Source) <span class="error">[:1.7.0_10]</span><br /> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) <span class="error">[rt.jar:1.7.0_10]</span><br /> at java.lang.reflect.Method.invoke(Method.java:601) <span class="error">[rt.jar:1.7.0_10]</span><br /> at org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52)<br /> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)<br /> at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)<br /> at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)<br /> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)<br /> at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:407)<br /> at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:82) <span class="error">[wildfly-weld-8.2.1.Final.jar:8.2.1.Final]</span><br /> at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:93) <span class="error">[wildfly-weld-8.2.1.Final.jar:8.2.1.Final]</span><br /> at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)<br /> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)<br /> at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)<br /> at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)<br /> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)<br /> at org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43) <span class="error">[wildfly-ejb3-8.2.1.Final.jar:8.2.1.Final]</span><br /> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)<br /> at org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47) <span class="error">[wildfly-jpa-8.2.1.Final.jar:8.2.1.Final]</span><br /> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)<br /> at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:407)<br /> at org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:55) <span class="error">[weld-core-impl-2.2.6.Final.jar:2014-10-03 10:05]</span><br /> at org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:83) <span class="error">[wildfly-weld-8.2.1.Final.jar:8.2.1.Final]</span><br /> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)<br /> at org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45) <span class="error">[wildfly-ee-8.2.1.Final.jar:8.2.1.Final]</span><br /> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)<br /> at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21)<br /> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)<br /> at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)<br /> at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:53)<br /> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)<br /> at org.jboss.as.ejb3.component.interceptors.NonPooledEJBComponentInstanceAssociatingInterceptor.processInvocation(NonPooledEJBComponentInstanceAssociatingInterceptor.java:59) <span class="error">[wildfly-ejb3-8.2.1.Final.jar:8.2.1.Final]</span><br /> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)<br /> at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:273) <span class="error">[wildfly-ejb3-8.2.1.Final.jar:8.2.1.Final]</span><br /> ... 38 more<br /> Caused by: org.hibernate.exception.ConstraintViolationException: could not execute statement<br /> at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:129) <span class="error">[hibernate-core-4.3.7.Final.jar:4.3.7.Final]</span><br /> at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:49) <span class="error">[hibernate-core-4.3.7.Final.jar:4.3.7.Final]</span><br /> at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:126) <span class="error">[hibernate-core-4.3.7.Final.jar:4.3.7.Final]</span><br /> at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:112) <span class="error">[hibernate-core-4.3.7.Final.jar:4.3.7.Final]</span><br /> at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:211) <span class="error">[hibernate-core-4.3.7.Final.jar:4.3.7.Final]</span><br /> at org.hibernate.engine.jdbc.batch.internal.NonBatchingBatch.addToBatch(NonBatchingBatch.java:62) <span class="error">[hibernate-core-4.3.7.Final.jar:4.3.7.Final]</span><br /> at org.hibernate.persister.collection.AbstractCollectionPersister.recreate(AbstractCollectionPersister.java:1311) <span class="error">[hibernate-core-4.3.7.Final.jar:4.3.7.Final]</span><br /> at org.hibernate.action.internal.CollectionRecreateAction.execute(CollectionRecreateAction.java:67) <span class="error">[hibernate-core-4.3.7.Final.jar:4.3.7.Final]</span><br /> at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:463) <span class="error">[hibernate-core-4.3.7.Final.jar:4.3.7.Final]</span><br /> at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:349) <span class="error">[hibernate-core-4.3.7.Final.jar:4.3.7.Final]</span><br /> at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:350) <span class="error">[hibernate-core-4.3.7.Final.jar:4.3.7.Final]</span><br /> at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:56) <span class="error">[hibernate-core-4.3.7.Final.jar:4.3.7.Final]</span><br /> at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1222) <span class="error">[hibernate-core-4.3.7.Final.jar:4.3.7.Final]</span><br /> at org.hibernate.jpa.spi.AbstractEntityManagerImpl.flush(AbstractEntityManagerImpl.java:1335) <span class="error">[hibernate-entitymanager-4.3.7.Final.jar:4.3.7.Final]</span><br /> ... 85 more<br /> Caused by: org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint &quot;installation_category_pkey&quot;<br /> Detail: Key (installation_id, category_id)=(78bf2331-2ce6-400b-a4cd-7a770c9598c5, 55) already exists.<br /> at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2157)<br /> at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1886)<br /> at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255)<br /> at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:559)<br /> at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:417)<br /> at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:363)<br /> at org.jboss.jca.adapters.jdbc.WrappedPreparedStatement.executeUpdate(WrappedPreparedStatement.java:493)<br /> at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:208) <span class="error">[hibernate-core-4.3.7.Final.jar:4.3.7.Final]</span><br /> ... 94 more</p> 
                                        </td> 
                                    </tr> 
                                </table> 
                            </td> 
                        </tr> 
                        <tr> 
                            <td class="email-content-main mobile-expand " style="padding: 0px; border-collapse: collapse; border-left: 1px solid #ccc; border-right: 1px solid #ccc; border-top: 0; border-bottom: 0; padding: 0 15px 0 16px; background-color: #fff"> 
                                <table id="actions-pattern" cellspacing="0" cellpadding="0" border="0" width="100%" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; mso-line-height-rule: exactly; mso-text-raise: 1px"> 
                                    <tr> 
                                        <td id="actions-pattern-container" valign="middle" style="padding: 0px; border-collapse: collapse; padding: 10px 0 10px 24px; vertical-align: middle; padding-left: 0"> 
                                            <table align="left" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt"> 
                                                <tr> 
                                                    <td class="actions-pattern-action-icon-container" style="padding: 0px; border-collapse: collapse; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; mso-line-height-rule: exactly; mso-text-raise: 0px; vertical-align: middle"> <a href="https://issues.jboss.org/browse/AGPUSH-1891#add-comment" target="_blank" title="Add Comment" style="color: #3b73af; text-decoration: none"> <img class="actions-pattern-action-icon-image" src="cid:jira-generated-image-static-comment-icon-3d915ce7-d652-4c37-8e31-26a747417cd7" alt="Add Comment" title="Add Comment" height="16" width="16" border="0" style="vertical-align: middle" /> </a> 
                                                    </td> 
                                                    <td class="actions-pattern-action-text-container" style="padding: 0px; border-collapse: collapse; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; mso-line-height-rule: exactly; mso-text-raise: 4px; padding-left: 5px"> <a href="https://issues.jboss.org/browse/AGPUSH-1891#add-comment" target="_blank" title="Add Comment" style="color: #3b73af; text-decoration: none">Add Comment</a> 
                                                    </td> 
                                                </tr> 
                                            </table> 
                                        </td> 
                                    </tr> 
                                </table> 
                            </td> 
                        </tr> 
                        <!-- there needs to be content in the cell for it to render in some clients --> 
                        <tr> 
                            <td class="email-content-rounded-bottom mobile-expand" style="padding: 0px; border-collapse: collapse; color: #fff; padding: 0 15px 0 16px; height: 5px; line-height: 5px; background-color: #fff; border-top: 0; border-left: 1px solid #ccc; border-bottom: 1px solid #ccc; border-right: 1px solid #ccc; border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; mso-line-height-rule: exactly">
                                &nbsp;
                            </td> 
                        </tr> 
                    </table> 
                </td> 
            </tr> 
            <tr> 
                <td id="footer-pattern" style="padding: 0px; border-collapse: collapse; padding: 12px 20px"> 
                    <table id="footer-pattern-container" cellspacing="0" cellpadding="0" border="0" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt"> 
                        <tr> 
                            <td id="footer-pattern-text" class="mobile-resize-text" width="100%" style="padding: 0px; border-collapse: collapse; color: #999; font-size: 12px; line-height: 18px; font-family: Arial, sans-serif; mso-line-height-rule: exactly; mso-text-raise: 2px">
                                 This message was sent by Atlassian JIRA <span id="footer-build-information">(v6.4.11#64026-<span title="78f6ec473a3f058bd5d6c30e9319c7ab376bdb9c" data-commit-id="78f6ec473a3f058bd5d6c30e9319c7ab376bdb9c}">sha1:78f6ec4</span>)</span> 
                            </td> 
                            <td id="footer-pattern-logo-desktop-container" valign="top" style="padding: 0px; border-collapse: collapse; padding-left: 20px; vertical-align: top"> 
                                <table style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt"> 
                                    <tr> 
                                        <td id="footer-pattern-logo-desktop-padding" style="padding: 0px; border-collapse: collapse; padding-top: 3px"> <img id="footer-pattern-logo-desktop" src="cid:jira-generated-image-static-footer-desktop-logo-93e03f70-474e-4528-a0f2-8e77563b0399" alt="Atlassian logo" title="Atlassian logo" width="169" height="36" class="image_fix" /> 
                                        </td> 
                                    </tr> 
                                </table> 
                            </td> 
                        </tr> 
                    </table> 
                </td> 
            </tr> 
        </table>   
    </body>
</html>