daily pastebin goal
16%
SHARE
TWEET

Untitled

a guest Jun 19th, 2017 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 2017-06-19 13:27:00,505 ERROR [stderr] (default task-904) Exception in thread "default task-904" java.lang.NullPointerException
  2. 2017-06-19 13:27:00,506 ERROR [stderr] (default task-904)   at com.engagepoint.intake.websocket.sessions.UserWebSocketSessionManager.httpSessionClose(UserWebSocketSessionManager.java:60)
  3. 2017-06-19 13:27:00,506 ERROR [stderr] (default task-904)   at com.engagepoint.intake.websocket.sessions.UserWebSocketSessionManager$Proxy$_$$_WeldClientProxy.httpSessionClose(Unknown Source)
  4. 2017-06-19 13:27:00,506 ERROR [stderr] (default task-904)   at com.engagepoint.intake.rest.listener.HttpSessionInactiveIntervalListener.sessionDestroyed(HttpSessionInactiveIntervalListener.java:41)
  5. 2017-06-19 13:27:00,506 ERROR [stderr] (default task-904)   at io.undertow.servlet.core.ApplicationListeners.sessionDestroyed(ApplicationListeners.java:311)
  6. 2017-06-19 13:27:00,506 ERROR [stderr] (default task-904)   at io.undertow.servlet.core.SessionListenerBridge.sessionDestroyed(SessionListenerBridge.java:67)
  7. 2017-06-19 13:27:00,506 ERROR [stderr] (default task-904)   at io.undertow.server.session.SessionListeners.sessionDestroyed(SessionListeners.java:61)
  8. 2017-06-19 13:27:00,506 ERROR [stderr] (default task-904)   at io.undertow.server.session.InMemorySessionManager$SessionImpl.invalidate(InMemorySessionManager.java:528)
  9. 2017-06-19 13:27:00,506 ERROR [stderr] (default task-904)   at io.undertow.server.session.InMemorySessionManager$SessionImpl$2$1.run(InMemorySessionManager.java:357)
  10. 2017-06-19 13:27:00,506 ERROR [stderr] (default task-904)   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  11. 2017-06-19 13:27:00,507 ERROR [stderr] (default task-904)   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  12. 2017-06-19 13:27:00,507 ERROR [stderr] (default task-904)   at java.lang.Thread.run(Thread.java:745)
  13. 2017-06-19 13:27:14,095 INFO  [com.engagepoint.intake.application.beans.ApplicationBean] (default task-884) Deployment [App_xyE0G] was deployed successfully
  14. 2017-06-19 13:27:14,145 ERROR [org.jboss.as.ejb3.invocation] (default task-906) WFLYEJB0034: EJB Invocation failed on component SectionBean for method public abstract java.lang.Object com.engagepoint.intake.engine.external.api.CrudService.save(java.lang.Object): javax.ejb.EJBException: javax.persistence.PersistenceException: org.hibernate.PersistentObjectException: detached entity passed to persist: com.engagepoint.intake.engine.model.application.entities.properties.ExistenceConditionEntity
  15.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleExceptionInOurTx(CMTTxInterceptor.java:187)
  16.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:277)
  17.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:327)
  18.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:239)
  19.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  20.     at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
  21.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  22.     at org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:43)
  23.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  24.     at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:100)
  25.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  26.     at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64)
  27.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  28.     at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:66)
  29.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  30.     at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
  31.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  32.     at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:54)
  33.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  34.     at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64)
  35.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  36.     at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356)
  37.     at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:636)
  38.     at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61)
  39.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  40.     at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356)
  41.     at org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80)
  42.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  43.     at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
  44.     at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:195)
  45.     at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:185)
  46.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  47.     at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
  48.     at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:73)
  49.     at com.engagepoint.intake.application.SectionManager$$$view31.save(Unknown Source)
  50.     at sun.reflect.GeneratedMethodAccessor207.invoke(Unknown Source)
  51.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  52.     at java.lang.reflect.Method.invoke(Method.java:498)
  53.     at org.jboss.weld.util.reflection.Reflections.invokeAndUnwrap(Reflections.java:433)
  54.     at org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.invoke(EnterpriseBeanProxyMethodHandler.java:128)
  55.     at org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.invoke(EnterpriseTargetBeanInstance.java:56)
  56.     at org.jboss.weld.bean.proxy.InjectionPointPropagatingEnterpriseTargetBeanInstance.invoke(InjectionPointPropagatingEnterpriseTargetBeanInstance.java:67)
  57.     at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:100)
  58.     at com.engagepoint.intake.application.beans.CrudService$SectionManager$1055819900$Proxy$_$$_Weld$EnterpriseProxy$.save(Unknown Source)
  59.     at com.engagepoint.intake.rest.katharsis.repository.BaseRepository.create(BaseRepository.java:48)
  60.     at com.engagepoint.intake.rest.katharsis.repository.BaseRepository.create(BaseRepository.java:17)
  61.     at io.katharsis.core.internal.repository.adapter.ResourceRepositoryAdapter$4.invoke(ResourceRepositoryAdapter.java:131)
  62.     at io.katharsis.core.internal.repository.adapter.ResponseRepositoryAdapter$RepositoryRequestFilterChainImpl.doFilter(ResponseRepositoryAdapter.java:203)
  63.     at io.katharsis.core.internal.repository.adapter.ResourceRepositoryAdapter.save(ResourceRepositoryAdapter.java:145)
  64.     at io.katharsis.core.internal.repository.adapter.ResourceRepositoryAdapter.create(ResourceRepositoryAdapter.java:114)
  65.     at io.katharsis.core.internal.dispatcher.controller.FieldResourcePost.handle(FieldResourcePost.java:85)
  66.     at io.katharsis.core.internal.dispatcher.RequestDispatcher$DefaultFilterChain.doFilter(RequestDispatcher.java:126)
  67.     at io.katharsis.core.internal.dispatcher.RequestDispatcher.dispatchRequest(RequestDispatcher.java:80)
  68.     at io.katharsis.rs.KatharsisFilter.dispatchRequest(KatharsisFilter.java:151)
  69.     at io.katharsis.rs.KatharsisFilter.filter(KatharsisFilter.java:111)
  70.     at org.jboss.resteasy.core.SynchronousDispatcher.preprocess(SynchronousDispatcher.java:133)
  71.     at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:190)
  72.     at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:221)
  73.     at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56)
  74.     at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51)
  75.     at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
  76.     at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85)
  77.     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
  78.     at io.undertow.websockets.jsr.JsrWebSocketFilter.doFilter(JsrWebSocketFilter.java:130)
  79.     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
  80.     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  81.     at com.engagepoint.intake.engine.cdi.session.HttpSessionParametersFilter.doFilter(HttpSessionParametersFilter.java:44)
  82.     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
  83.     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  84.     at com.engagepoint.intake.rest.filter.HttpSessionFilter.doFilter(HttpSessionFilter.java:45)
  85.     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
  86.     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  87.     at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
  88.     at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
  89.     at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
  90.     at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
  91.     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  92.     at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
  93.     at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
  94.     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  95.     at io.undertow.security.handlers.AuthenticationConstraintHandler.handleRequest(AuthenticationConstraintHandler.java:51)
  96.     at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
  97.     at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
  98.     at io.undertow.servlet.handlers.security.ServletSecurityConstraintHandler.handleRequest(ServletSecurityConstraintHandler.java:56)
  99.     at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
  100.     at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
  101.     at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
  102.     at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
  103.     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  104.     at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
  105.     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  106.     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  107.     at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:285)
  108.     at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:264)
  109.     at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)
  110.     at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:175)
  111.     at io.undertow.server.Connectors.executeRootHandler(Connectors.java:202)
  112.     at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:792)
  113.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  114.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  115.     at java.lang.Thread.run(Thread.java:745)
  116. Caused by: javax.persistence.PersistenceException: org.hibernate.PersistentObjectException: detached entity passed to persist: com.engagepoint.intake.engine.model.application.entities.properties.ExistenceConditionEntity
  117.     at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1692)
  118.     at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1602)
  119.     at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1608)
  120.     at org.hibernate.jpa.spi.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:1152)
  121.     at sun.reflect.GeneratedMethodAccessor191.invoke(Unknown Source)
  122.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  123.     at java.lang.reflect.Method.invoke(Method.java:498)
  124.     at org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:38)
  125.     at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:100)
  126.     at org.jboss.weldx.persistence.EntityManager$542816626$Proxy$_$$_WeldClientProxy.persist(Unknown Source)
  127.     at com.engagepoint.intake.engine.datastorage.db.DbGenericApplicationDataStorage.persist(DbGenericApplicationDataStorage.java:25)
  128.     at com.engagepoint.intake.engine.datastorage.db.DbGenericApplicationDataStorage$Proxy$_$$_WeldSubclass.persist$$super(Unknown Source)
  129.     at sun.reflect.GeneratedMethodAccessor210.invoke(Unknown Source)
  130.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  131.     at java.lang.reflect.Method.invoke(Method.java:498)
  132.     at org.jboss.weld.interceptor.proxy.TerminalAroundInvokeInvocationContext.proceedInternal(TerminalAroundInvokeInvocationContext.java:49)
  133.     at org.jboss.weld.interceptor.proxy.AroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:77)
  134.     at org.apache.deltaspike.jpa.impl.transaction.ResourceLocalTransactionStrategy.execute(ResourceLocalTransactionStrategy.java:133)
  135.     at org.apache.deltaspike.jpa.impl.transaction.TransactionalInterceptor.executeInTransaction(TransactionalInterceptor.java:57)
  136.     at sun.reflect.GeneratedMethodAccessor121.invoke(Unknown Source)
  137.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  138.     at java.lang.reflect.Method.invoke(Method.java:498)
  139.     at org.jboss.weld.interceptor.reader.SimpleInterceptorInvocation$SimpleMethodInvocation.invoke(SimpleInterceptorInvocation.java:74)
  140.     at org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.executeAroundInvoke(InterceptorMethodHandler.java:84)
  141.     at org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.executeInterception(InterceptorMethodHandler.java:72)
  142.     at org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.invoke(InterceptorMethodHandler.java:56)
  143.     at org.jboss.weld.bean.proxy.CombinedInterceptorAndDecoratorStackMethodHandler.invoke(CombinedInterceptorAndDecoratorStackMethodHandler.java:79)
  144.     at org.jboss.weld.bean.proxy.CombinedInterceptorAndDecoratorStackMethodHandler.invoke(CombinedInterceptorAndDecoratorStackMethodHandler.java:68)
  145.     at com.engagepoint.intake.engine.datastorage.db.DbGenericApplicationDataStorage$Proxy$_$$_WeldSubclass.persist(Unknown Source)
  146.     at com.engagepoint.intake.application.beans.ApplicationFacadeBean.save(ApplicationFacadeBean.java:38)
  147.     at com.engagepoint.intake.application.beans.SectionBean.save(SectionBean.java:44)
  148.     at sun.reflect.GeneratedMethodAccessor273.invoke(Unknown Source)
  149.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  150.     at java.lang.reflect.Method.invoke(Method.java:498)
  151.     at org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52)
  152.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  153.     at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437)
  154.     at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:82)
  155.     at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:93)
  156.     at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)
  157.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  158.     at org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43)
  159.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  160.     at org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47)
  161.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  162.     at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437)
  163.     at org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:64)
  164.     at org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:83)
  165.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  166.     at org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45)
  167.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  168.     at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21)
  169.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  170.     at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
  171.     at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:52)
  172.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  173.     at org.jboss.as.ejb3.component.pool.PooledInstanceInterceptor.processInvocation(PooledInstanceInterceptor.java:51)
  174.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  175.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:275)
  176.     ... 99 more
  177. Caused by: org.hibernate.PersistentObjectException: detached entity passed to persist: com.engagepoint.intake.engine.model.application.entities.properties.ExistenceConditionEntity
  178.     at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:124)
  179.     at org.hibernate.internal.SessionImpl.firePersist(SessionImpl.java:765)
  180.     at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:758)
  181.     at org.hibernate.jpa.event.internal.core.JpaPersistEventListener$1.cascade(JpaPersistEventListener.java:80)
  182.     at org.hibernate.engine.internal.Cascade.cascadeToOne(Cascade.java:398)
  183.     at org.hibernate.engine.internal.Cascade.cascadeAssociation(Cascade.java:323)
  184.     at org.hibernate.engine.internal.Cascade.cascadeProperty(Cascade.java:162)
  185.     at org.hibernate.engine.internal.Cascade.cascadeCollectionElements(Cascade.java:431)
  186.     at org.hibernate.engine.internal.Cascade.cascadeCollection(Cascade.java:363)
  187.     at org.hibernate.engine.internal.Cascade.cascadeAssociation(Cascade.java:326)
  188.     at org.hibernate.engine.internal.Cascade.cascadeProperty(Cascade.java:162)
  189.     at org.hibernate.engine.internal.Cascade.cascade(Cascade.java:111)
  190.     at org.hibernate.event.internal.AbstractSaveEventListener.cascadeAfterSave(AbstractSaveEventListener.java:456)
  191.     at org.hibernate.event.internal.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:278)
  192.     at org.hibernate.event.internal.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:178)
  193.     at org.hibernate.event.internal.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:121)
  194.     at org.hibernate.jpa.event.internal.core.JpaPersistEventListener.saveWithGeneratedId(JpaPersistEventListener.java:67)
  195.     at org.hibernate.event.internal.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:189)
  196.     at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:132)
  197.     at org.hibernate.internal.SessionImpl.firePersist(SessionImpl.java:765)
  198.     at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:758)
  199.     at org.hibernate.jpa.event.internal.core.JpaPersistEventListener$1.cascade(JpaPersistEventListener.java:80)
  200.     at org.hibernate.engine.internal.Cascade.cascadeToOne(Cascade.java:398)
  201.     at org.hibernate.engine.internal.Cascade.cascadeAssociation(Cascade.java:323)
  202.     at org.hibernate.engine.internal.Cascade.cascadeProperty(Cascade.java:162)
  203.     at org.hibernate.engine.internal.Cascade.cascade(Cascade.java:111)
  204.     at org.hibernate.event.internal.AbstractSaveEventListener.cascadeBeforeSave(AbstractSaveEventListener.java:425)
  205.     at org.hibernate.event.internal.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:249)
  206.     at org.hibernate.event.internal.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:178)
  207.     at org.hibernate.event.internal.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:121)
  208.     at org.hibernate.jpa.event.internal.core.JpaPersistEventListener.saveWithGeneratedId(JpaPersistEventListener.java:67)
  209.     at org.hibernate.event.internal.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:189)
  210.     at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:132)
  211.     at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:58)
  212.     at org.hibernate.internal.SessionImpl.firePersist(SessionImpl.java:775)
  213.     at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:748)
  214.     at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:753)
  215.     at org.hibernate.jpa.spi.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:1146)
  216.     ... 154 more
  217.  
  218. 2017-06-19 13:27:14,148 ERROR [io.katharsis.core.internal.dispatcher.RequestDispatcher] (default task-906) failed to process request: javax.ejb.EJBException: javax.persistence.PersistenceException: org.hibernate.PersistentObjectException: detached entity passed to persist: com.engagepoint.intake.engine.model.application.entities.properties.ExistenceConditionEntity
  219.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleExceptionInOurTx(CMTTxInterceptor.java:187)
  220.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:277)
  221.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:327)
  222.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:239)
  223.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  224.     at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
  225.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  226.     at org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:43)
  227.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  228.     at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:100)
  229.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  230.     at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64)
  231.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  232.     at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:66)
  233.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  234.     at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
  235.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  236.     at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:54)
  237.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  238.     at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64)
  239.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  240.     at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356)
  241.     at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:636)
  242.     at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61)
  243.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  244.     at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356)
  245.     at org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80)
  246.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  247.     at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
  248.     at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:195)
  249.     at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:185)
  250.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  251.     at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
  252.     at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:73)
  253.     at com.engagepoint.intake.application.SectionManager$$$view31.save(Unknown Source)
  254.     at sun.reflect.GeneratedMethodAccessor207.invoke(Unknown Source)
  255.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  256.     at java.lang.reflect.Method.invoke(Method.java:498)
  257.     at org.jboss.weld.util.reflection.Reflections.invokeAndUnwrap(Reflections.java:433)
  258.     at org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.invoke(EnterpriseBeanProxyMethodHandler.java:128)
  259.     at org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.invoke(EnterpriseTargetBeanInstance.java:56)
  260.     at org.jboss.weld.bean.proxy.InjectionPointPropagatingEnterpriseTargetBeanInstance.invoke(InjectionPointPropagatingEnterpriseTargetBeanInstance.java:67)
  261.     at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:100)
  262.     at com.engagepoint.intake.application.beans.CrudService$SectionManager$1055819900$Proxy$_$$_Weld$EnterpriseProxy$.save(Unknown Source)
  263.     at com.engagepoint.intake.rest.katharsis.repository.BaseRepository.create(BaseRepository.java:48)
  264.     at com.engagepoint.intake.rest.katharsis.repository.BaseRepository.create(BaseRepository.java:17)
  265.     at io.katharsis.core.internal.repository.adapter.ResourceRepositoryAdapter$4.invoke(ResourceRepositoryAdapter.java:131)
  266.     at io.katharsis.core.internal.repository.adapter.ResponseRepositoryAdapter$RepositoryRequestFilterChainImpl.doFilter(ResponseRepositoryAdapter.java:203)
  267.     at io.katharsis.core.internal.repository.adapter.ResourceRepositoryAdapter.save(ResourceRepositoryAdapter.java:145)
  268.     at io.katharsis.core.internal.repository.adapter.ResourceRepositoryAdapter.create(ResourceRepositoryAdapter.java:114)
  269.     at io.katharsis.core.internal.dispatcher.controller.FieldResourcePost.handle(FieldResourcePost.java:85)
  270.     at io.katharsis.core.internal.dispatcher.RequestDispatcher$DefaultFilterChain.doFilter(RequestDispatcher.java:126)
  271.     at io.katharsis.core.internal.dispatcher.RequestDispatcher.dispatchRequest(RequestDispatcher.java:80)
  272.     at io.katharsis.rs.KatharsisFilter.dispatchRequest(KatharsisFilter.java:151)
  273.     at io.katharsis.rs.KatharsisFilter.filter(KatharsisFilter.java:111)
  274.     at org.jboss.resteasy.core.SynchronousDispatcher.preprocess(SynchronousDispatcher.java:133)
  275.     at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:190)
  276.     at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:221)
  277.     at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56)
  278.     at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51)
  279.     at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
  280.     at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85)
  281.     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
  282.     at io.undertow.websockets.jsr.JsrWebSocketFilter.doFilter(JsrWebSocketFilter.java:130)
  283.     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
  284.     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  285.     at com.engagepoint.intake.engine.cdi.session.HttpSessionParametersFilter.doFilter(HttpSessionParametersFilter.java:44)
  286.     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
  287.     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  288.     at com.engagepoint.intake.rest.filter.HttpSessionFilter.doFilter(HttpSessionFilter.java:45)
  289.     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
  290.     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  291.     at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
  292.     at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
  293.     at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
  294.     at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
  295.     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  296.     at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
  297.     at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
  298.     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  299.     at io.undertow.security.handlers.AuthenticationConstraintHandler.handleRequest(AuthenticationConstraintHandler.java:51)
  300.     at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
  301.     at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
  302.     at io.undertow.servlet.handlers.security.ServletSecurityConstraintHandler.handleRequest(ServletSecurityConstraintHandler.java:56)
  303.     at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
  304.     at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
  305.     at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
  306.     at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
  307.     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  308.     at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
  309.     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  310.     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  311.     at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:285)
  312.     at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:264)
  313.     at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)
  314.     at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:175)
  315.     at io.undertow.server.Connectors.executeRootHandler(Connectors.java:202)
  316.     at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:792)
  317.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  318.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  319.     at java.lang.Thread.run(Thread.java:745)
  320. Caused by: javax.persistence.PersistenceException: org.hibernate.PersistentObjectException: detached entity passed to persist: com.engagepoint.intake.engine.model.application.entities.properties.ExistenceConditionEntity
  321.     at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1692)
  322.     at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1602)
  323.     at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1608)
  324.     at org.hibernate.jpa.spi.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:1152)
  325.     at sun.reflect.GeneratedMethodAccessor191.invoke(Unknown Source)
  326.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  327.     at java.lang.reflect.Method.invoke(Method.java:498)
  328.     at org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:38)
  329.     at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:100)
  330.     at org.jboss.weldx.persistence.EntityManager$542816626$Proxy$_$$_WeldClientProxy.persist(Unknown Source)
  331.     at com.engagepoint.intake.engine.datastorage.db.DbGenericApplicationDataStorage.persist(DbGenericApplicationDataStorage.java:25)
  332.     at com.engagepoint.intake.engine.datastorage.db.DbGenericApplicationDataStorage$Proxy$_$$_WeldSubclass.persist$$super(Unknown Source)
  333.     at sun.reflect.GeneratedMethodAccessor210.invoke(Unknown Source)
  334.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  335.     at java.lang.reflect.Method.invoke(Method.java:498)
  336.     at org.jboss.weld.interceptor.proxy.TerminalAroundInvokeInvocationContext.proceedInternal(TerminalAroundInvokeInvocationContext.java:49)
  337.     at org.jboss.weld.interceptor.proxy.AroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:77)
  338.     at org.apache.deltaspike.jpa.impl.transaction.ResourceLocalTransactionStrategy.execute(ResourceLocalTransactionStrategy.java:133)
  339.     at org.apache.deltaspike.jpa.impl.transaction.TransactionalInterceptor.executeInTransaction(TransactionalInterceptor.java:57)
  340.     at sun.reflect.GeneratedMethodAccessor121.invoke(Unknown Source)
  341.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  342.     at java.lang.reflect.Method.invoke(Method.java:498)
  343.     at org.jboss.weld.interceptor.reader.SimpleInterceptorInvocation$SimpleMethodInvocation.invoke(SimpleInterceptorInvocation.java:74)
  344.     at org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.executeAroundInvoke(InterceptorMethodHandler.java:84)
  345.     at org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.executeInterception(InterceptorMethodHandler.java:72)
  346.     at org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.invoke(InterceptorMethodHandler.java:56)
  347.     at org.jboss.weld.bean.proxy.CombinedInterceptorAndDecoratorStackMethodHandler.invoke(CombinedInterceptorAndDecoratorStackMethodHandler.java:79)
  348.     at org.jboss.weld.bean.proxy.CombinedInterceptorAndDecoratorStackMethodHandler.invoke(CombinedInterceptorAndDecoratorStackMethodHandler.java:68)
  349.     at com.engagepoint.intake.engine.datastorage.db.DbGenericApplicationDataStorage$Proxy$_$$_WeldSubclass.persist(Unknown Source)
  350.     at com.engagepoint.intake.application.beans.ApplicationFacadeBean.save(ApplicationFacadeBean.java:38)
  351.     at com.engagepoint.intake.application.beans.SectionBean.save(SectionBean.java:44)
  352.     at sun.reflect.GeneratedMethodAccessor273.invoke(Unknown Source)
  353.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  354.     at java.lang.reflect.Method.invoke(Method.java:498)
  355.     at org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52)
  356.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  357.     at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437)
  358.     at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:82)
  359.     at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:93)
  360.     at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)
  361.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  362.     at org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43)
  363.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  364.     at org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47)
  365.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  366.     at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437)
  367.     at org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:64)
  368.     at org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:83)
  369.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  370.     at org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45)
  371.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  372.     at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21)
  373.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  374.     at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
  375.     at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:52)
  376.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  377.     at org.jboss.as.ejb3.component.pool.PooledInstanceInterceptor.processInvocation(PooledInstanceInterceptor.java:51)
  378.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  379.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:275)
  380.     ... 99 more
  381. Caused by: org.hibernate.PersistentObjectException: detached entity passed to persist: com.engagepoint.intake.engine.model.application.entities.properties.ExistenceConditionEntity
  382.     at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:124)
  383.     at org.hibernate.internal.SessionImpl.firePersist(SessionImpl.java:765)
  384.     at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:758)
  385.     at org.hibernate.jpa.event.internal.core.JpaPersistEventListener$1.cascade(JpaPersistEventListener.java:80)
  386.     at org.hibernate.engine.internal.Cascade.cascadeToOne(Cascade.java:398)
  387.     at org.hibernate.engine.internal.Cascade.cascadeAssociation(Cascade.java:323)
  388.     at org.hibernate.engine.internal.Cascade.cascadeProperty(Cascade.java:162)
  389.     at org.hibernate.engine.internal.Cascade.cascadeCollectionElements(Cascade.java:431)
  390.     at org.hibernate.engine.internal.Cascade.cascadeCollection(Cascade.java:363)
  391.     at org.hibernate.engine.internal.Cascade.cascadeAssociation(Cascade.java:326)
  392.     at org.hibernate.engine.internal.Cascade.cascadeProperty(Cascade.java:162)
  393.     at org.hibernate.engine.internal.Cascade.cascade(Cascade.java:111)
  394.     at org.hibernate.event.internal.AbstractSaveEventListener.cascadeAfterSave(AbstractSaveEventListener.java:456)
  395.     at org.hibernate.event.internal.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:278)
  396.     at org.hibernate.event.internal.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:178)
  397.     at org.hibernate.event.internal.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:121)
  398.     at org.hibernate.jpa.event.internal.core.JpaPersistEventListener.saveWithGeneratedId(JpaPersistEventListener.java:67)
  399.     at org.hibernate.event.internal.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:189)
  400.     at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:132)
  401.     at org.hibernate.internal.SessionImpl.firePersist(SessionImpl.java:765)
  402.     at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:758)
  403.     at org.hibernate.jpa.event.internal.core.JpaPersistEventListener$1.cascade(JpaPersistEventListener.java:80)
  404.     at org.hibernate.engine.internal.Cascade.cascadeToOne(Cascade.java:398)
  405.     at org.hibernate.engine.internal.Cascade.cascadeAssociation(Cascade.java:323)
  406.     at org.hibernate.engine.internal.Cascade.cascadeProperty(Cascade.java:162)
  407.     at org.hibernate.engine.internal.Cascade.cascade(Cascade.java:111)
  408.     at org.hibernate.event.internal.AbstractSaveEventListener.cascadeBeforeSave(AbstractSaveEventListener.java:425)
  409.     at org.hibernate.event.internal.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:249)
  410.     at org.hibernate.event.internal.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:178)
  411.     at org.hibernate.event.internal.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:121)
  412.     at org.hibernate.jpa.event.internal.core.JpaPersistEventListener.saveWithGeneratedId(JpaPersistEventListener.java:67)
  413.     at org.hibernate.event.internal.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:189)
  414.     at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:132)
  415.     at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:58)
  416.     at org.hibernate.internal.SessionImpl.firePersist(SessionImpl.java:775)
  417.     at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:748)
  418.     at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:753)
  419.     at org.hibernate.jpa.spi.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:1146)
  420.     ... 154 more
  421.  
  422. 2017-06-19 13:27:14,150 ERROR [io.katharsis.rs.KatharsisFilter] (default task-906) failed to dispatch request: javax.ejb.EJBException: javax.persistence.PersistenceException: org.hibernate.PersistentObjectException: detached entity passed to persist: com.engagepoint.intake.engine.model.application.entities.properties.ExistenceConditionEntity
  423.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleExceptionInOurTx(CMTTxInterceptor.java:187)
  424.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:277)
  425.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:327)
  426.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:239)
  427.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  428.     at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
  429.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  430.     at org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:43)
  431.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  432.     at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:100)
  433.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  434.     at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64)
  435.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  436.     at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:66)
  437.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  438.     at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
  439.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  440.     at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:54)
  441.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  442.     at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64)
  443.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  444.     at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356)
  445.     at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:636)
  446.     at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61)
  447.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  448.     at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356)
  449.     at org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80)
  450.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  451.     at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
  452.     at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:195)
  453.     at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:185)
  454.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  455.     at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
  456.     at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:73)
  457.     at com.engagepoint.intake.application.SectionManager$$$view31.save(Unknown Source)
  458.     at sun.reflect.GeneratedMethodAccessor207.invoke(Unknown Source)
  459.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  460.     at java.lang.reflect.Method.invoke(Method.java:498)
  461.     at org.jboss.weld.util.reflection.Reflections.invokeAndUnwrap(Reflections.java:433)
  462.     at org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.invoke(EnterpriseBeanProxyMethodHandler.java:128)
  463.     at org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.invoke(EnterpriseTargetBeanInstance.java:56)
  464.     at org.jboss.weld.bean.proxy.InjectionPointPropagatingEnterpriseTargetBeanInstance.invoke(InjectionPointPropagatingEnterpriseTargetBeanInstance.java:67)
  465.     at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:100)
  466.     at com.engagepoint.intake.application.beans.CrudService$SectionManager$1055819900$Proxy$_$$_Weld$EnterpriseProxy$.save(Unknown Source)
  467.     at com.engagepoint.intake.rest.katharsis.repository.BaseRepository.create(BaseRepository.java:48)
  468.     at com.engagepoint.intake.rest.katharsis.repository.BaseRepository.create(BaseRepository.java:17)
  469.     at io.katharsis.core.internal.repository.adapter.ResourceRepositoryAdapter$4.invoke(ResourceRepositoryAdapter.java:131)
  470.     at io.katharsis.core.internal.repository.adapter.ResponseRepositoryAdapter$RepositoryRequestFilterChainImpl.doFilter(ResponseRepositoryAdapter.java:203)
  471.     at io.katharsis.core.internal.repository.adapter.ResourceRepositoryAdapter.save(ResourceRepositoryAdapter.java:145)
  472.     at io.katharsis.core.internal.repository.adapter.ResourceRepositoryAdapter.create(ResourceRepositoryAdapter.java:114)
  473.     at io.katharsis.core.internal.dispatcher.controller.FieldResourcePost.handle(FieldResourcePost.java:85)
  474.     at io.katharsis.core.internal.dispatcher.RequestDispatcher$DefaultFilterChain.doFilter(RequestDispatcher.java:126)
  475.     at io.katharsis.core.internal.dispatcher.RequestDispatcher.dispatchRequest(RequestDispatcher.java:80)
  476.     at io.katharsis.rs.KatharsisFilter.dispatchRequest(KatharsisFilter.java:151)
  477.     at io.katharsis.rs.KatharsisFilter.filter(KatharsisFilter.java:111)
  478.     at org.jboss.resteasy.core.SynchronousDispatcher.preprocess(SynchronousDispatcher.java:133)
  479.     at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:190)
  480.     at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:221)
  481.     at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56)
  482.     at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51)
  483.     at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
  484.     at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85)
  485.     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
  486.     at io.undertow.websockets.jsr.JsrWebSocketFilter.doFilter(JsrWebSocketFilter.java:130)
  487.     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
  488.     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  489.     at com.engagepoint.intake.engine.cdi.session.HttpSessionParametersFilter.doFilter(HttpSessionParametersFilter.java:44)
  490.     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
  491.     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  492.     at com.engagepoint.intake.rest.filter.HttpSessionFilter.doFilter(HttpSessionFilter.java:45)
  493.     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
  494.     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  495.     at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
  496.     at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
  497.     at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
  498.     at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
  499.     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  500.     at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
  501.     at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
  502.     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  503.     at io.undertow.security.handlers.AuthenticationConstraintHandler.handleRequest(AuthenticationConstraintHandler.java:51)
  504.     at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
  505.     at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
  506.     at io.undertow.servlet.handlers.security.ServletSecurityConstraintHandler.handleRequest(ServletSecurityConstraintHandler.java:56)
  507.     at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
  508.     at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
  509.     at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
  510.     at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
  511.     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  512.     at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
  513.     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  514.     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  515.     at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:285)
  516.     at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:264)
  517.     at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)
  518.     at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:175)
  519.     at io.undertow.server.Connectors.executeRootHandler(Connectors.java:202)
  520.     at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:792)
  521.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  522.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  523.     at java.lang.Thread.run(Thread.java:745)
  524. Caused by: javax.persistence.PersistenceException: org.hibernate.PersistentObjectException: detached entity passed to persist: com.engagepoint.intake.engine.model.application.entities.properties.ExistenceConditionEntity
  525.     at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1692)
  526.     at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1602)
  527.     at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1608)
  528.     at org.hibernate.jpa.spi.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:1152)
  529.     at sun.reflect.GeneratedMethodAccessor191.invoke(Unknown Source)
  530.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  531.     at java.lang.reflect.Method.invoke(Method.java:498)
  532.     at org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:38)
  533.     at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:100)
  534.     at org.jboss.weldx.persistence.EntityManager$542816626$Proxy$_$$_WeldClientProxy.persist(Unknown Source)
  535.     at com.engagepoint.intake.engine.datastorage.db.DbGenericApplicationDataStorage.persist(DbGenericApplicationDataStorage.java:25)
  536.     at com.engagepoint.intake.engine.datastorage.db.DbGenericApplicationDataStorage$Proxy$_$$_WeldSubclass.persist$$super(Unknown Source)
  537.     at sun.reflect.GeneratedMethodAccessor210.invoke(Unknown Source)
  538.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  539.     at java.lang.reflect.Method.invoke(Method.java:498)
  540.     at org.jboss.weld.interceptor.proxy.TerminalAroundInvokeInvocationContext.proceedInternal(TerminalAroundInvokeInvocationContext.java:49)
  541.     at org.jboss.weld.interceptor.proxy.AroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:77)
  542.     at org.apache.deltaspike.jpa.impl.transaction.ResourceLocalTransactionStrategy.execute(ResourceLocalTransactionStrategy.java:133)
  543.     at org.apache.deltaspike.jpa.impl.transaction.TransactionalInterceptor.executeInTransaction(TransactionalInterceptor.java:57)
  544.     at sun.reflect.GeneratedMethodAccessor121.invoke(Unknown Source)
  545.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  546.     at java.lang.reflect.Method.invoke(Method.java:498)
  547.     at org.jboss.weld.interceptor.reader.SimpleInterceptorInvocation$SimpleMethodInvocation.invoke(SimpleInterceptorInvocation.java:74)
  548.     at org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.executeAroundInvoke(InterceptorMethodHandler.java:84)
  549.     at org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.executeInterception(InterceptorMethodHandler.java:72)
  550.     at org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.invoke(InterceptorMethodHandler.java:56)
  551.     at org.jboss.weld.bean.proxy.CombinedInterceptorAndDecoratorStackMethodHandler.invoke(CombinedInterceptorAndDecoratorStackMethodHandler.java:79)
  552.     at org.jboss.weld.bean.proxy.CombinedInterceptorAndDecoratorStackMethodHandler.invoke(CombinedInterceptorAndDecoratorStackMethodHandler.java:68)
  553.     at com.engagepoint.intake.engine.datastorage.db.DbGenericApplicationDataStorage$Proxy$_$$_WeldSubclass.persist(Unknown Source)
  554.     at com.engagepoint.intake.application.beans.ApplicationFacadeBean.save(ApplicationFacadeBean.java:38)
  555.     at com.engagepoint.intake.application.beans.SectionBean.save(SectionBean.java:44)
  556.     at sun.reflect.GeneratedMethodAccessor273.invoke(Unknown Source)
  557.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  558.     at java.lang.reflect.Method.invoke(Method.java:498)
  559.     at org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52)
  560.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  561.     at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437)
  562.     at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:82)
  563.     at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:93)
  564.     at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)
  565.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  566.     at org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43)
  567.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  568.     at org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47)
  569.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  570.     at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437)
  571.     at org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:64)
  572.     at org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:83)
  573.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  574.     at org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45)
  575.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  576.     at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21)
  577.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  578.     at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
  579.     at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:52)
  580.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  581.     at org.jboss.as.ejb3.component.pool.PooledInstanceInterceptor.processInvocation(PooledInstanceInterceptor.java:51)
  582.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  583.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:275)
  584.     ... 99 more
  585. Caused by: org.hibernate.PersistentObjectException: detached entity passed to persist: com.engagepoint.intake.engine.model.application.entities.properties.ExistenceConditionEntity
  586.     at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:124)
  587.     at org.hibernate.internal.SessionImpl.firePersist(SessionImpl.java:765)
  588.     at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:758)
  589.     at org.hibernate.jpa.event.internal.core.JpaPersistEventListener$1.cascade(JpaPersistEventListener.java:80)
  590.     at org.hibernate.engine.internal.Cascade.cascadeToOne(Cascade.java:398)
  591.     at org.hibernate.engine.internal.Cascade.cascadeAssociation(Cascade.java:323)
  592.     at org.hibernate.engine.internal.Cascade.cascadeProperty(Cascade.java:162)
  593.     at org.hibernate.engine.internal.Cascade.cascadeCollectionElements(Cascade.java:431)
  594.     at org.hibernate.engine.internal.Cascade.cascadeCollection(Cascade.java:363)
  595.     at org.hibernate.engine.internal.Cascade.cascadeAssociation(Cascade.java:326)
  596.     at org.hibernate.engine.internal.Cascade.cascadeProperty(Cascade.java:162)
  597.     at org.hibernate.engine.internal.Cascade.cascade(Cascade.java:111)
  598.     at org.hibernate.event.internal.AbstractSaveEventListener.cascadeAfterSave(AbstractSaveEventListener.java:456)
  599.     at org.hibernate.event.internal.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:278)
  600.     at org.hibernate.event.internal.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:178)
  601.     at org.hibernate.event.internal.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:121)
  602.     at org.hibernate.jpa.event.internal.core.JpaPersistEventListener.saveWithGeneratedId(JpaPersistEventListener.java:67)
  603.     at org.hibernate.event.internal.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:189)
  604.     at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:132)
  605.     at org.hibernate.internal.SessionImpl.firePersist(SessionImpl.java:765)
  606.     at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:758)
  607.     at org.hibernate.jpa.event.internal.core.JpaPersistEventListener$1.cascade(JpaPersistEventListener.java:80)
  608.     at org.hibernate.engine.internal.Cascade.cascadeToOne(Cascade.java:398)
  609.     at org.hibernate.engine.internal.Cascade.cascadeAssociation(Cascade.java:323)
  610.     at org.hibernate.engine.internal.Cascade.cascadeProperty(Cascade.java:162)
  611.     at org.hibernate.engine.internal.Cascade.cascade(Cascade.java:111)
  612.     at org.hibernate.event.internal.AbstractSaveEventListener.cascadeBeforeSave(AbstractSaveEventListener.java:425)
  613.     at org.hibernate.event.internal.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:249)
  614.     at org.hibernate.event.internal.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:178)
  615.     at org.hibernate.event.internal.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:121)
  616.     at org.hibernate.jpa.event.internal.core.JpaPersistEventListener.saveWithGeneratedId(JpaPersistEventListener.java:67)
  617.     at org.hibernate.event.internal.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:189)
  618.     at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:132)
  619.     at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:58)
  620.     at org.hibernate.internal.SessionImpl.firePersist(SessionImpl.java:775)
  621.     at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:748)
  622.     at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:753)
  623.     at org.hibernate.jpa.spi.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:1146)
  624.     ... 154 more
  625.  
  626. 2017-06-19 13:27:14,150 ERROR [com.engagepoint.intake.rest.exceptionHandlers.WebApplicationExceptionHandler] (default task-906) Web application error: javax.ws.rs.WebApplicationException: HTTP 500 Internal Server Error
  627.     at io.katharsis.rs.KatharsisFilter.filter(KatharsisFilter.java:117)
  628.     at org.jboss.resteasy.core.SynchronousDispatcher.preprocess(SynchronousDispatcher.java:133)
  629.     at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:190)
  630.     at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:221)
  631.     at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56)
  632.     at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51)
  633.     at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
  634.     at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85)
  635.     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
  636.     at io.undertow.websockets.jsr.JsrWebSocketFilter.doFilter(JsrWebSocketFilter.java:130)
  637.     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
  638.     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  639.     at com.engagepoint.intake.engine.cdi.session.HttpSessionParametersFilter.doFilter(HttpSessionParametersFilter.java:44)
  640.     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
  641.     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  642.     at com.engagepoint.intake.rest.filter.HttpSessionFilter.doFilter(HttpSessionFilter.java:45)
  643.     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
  644.     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
  645.     at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
  646.     at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
  647.     at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
  648.     at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
  649.     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  650.     at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
  651.     at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
  652.     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  653.     at io.undertow.security.handlers.AuthenticationConstraintHandler.handleRequest(AuthenticationConstraintHandler.java:51)
  654.     at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
  655.     at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
  656.     at io.undertow.servlet.handlers.security.ServletSecurityConstraintHandler.handleRequest(ServletSecurityConstraintHandler.java:56)
  657.     at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
  658.     at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
  659.     at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
  660.     at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
  661.     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  662.     at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
  663.     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  664.     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
  665.     at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:285)
  666.     at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:264)
  667.     at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)
  668.     at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:175)
  669.     at io.undertow.server.Connectors.executeRootHandler(Connectors.java:202)
  670.     at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:792)
  671.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  672.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  673.     at java.lang.Thread.run(Thread.java:745)
  674. Caused by: javax.ejb.EJBException: javax.persistence.PersistenceException: org.hibernate.PersistentObjectException: detached entity passed to persist: com.engagepoint.intake.engine.model.application.entities.properties.ExistenceConditionEntity
  675.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleExceptionInOurTx(CMTTxInterceptor.java:187)
  676.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:277)
  677.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:327)
  678.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:239)
  679.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  680.     at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
  681.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  682.     at org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:43)
  683.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  684.     at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:100)
  685.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  686.     at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64)
  687.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  688.     at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:66)
  689.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  690.     at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
  691.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  692.     at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:54)
  693.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  694.     at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64)
  695.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  696.     at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356)
  697.     at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:636)
  698.     at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61)
  699.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  700.     at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356)
  701.     at org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80)
  702.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  703.     at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
  704.     at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:195)
  705.     at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:185)
  706.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  707.     at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
  708.     at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:73)
  709.     at com.engagepoint.intake.application.SectionManager$$$view31.save(Unknown Source)
  710.     at sun.reflect.GeneratedMethodAccessor207.invoke(Unknown Source)
  711.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  712.     at java.lang.reflect.Method.invoke(Method.java:498)
  713.     at org.jboss.weld.util.reflection.Reflections.invokeAndUnwrap(Reflections.java:433)
  714.     at org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.invoke(EnterpriseBeanProxyMethodHandler.java:128)
  715.     at org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.invoke(EnterpriseTargetBeanInstance.java:56)
  716.     at org.jboss.weld.bean.proxy.InjectionPointPropagatingEnterpriseTargetBeanInstance.invoke(InjectionPointPropagatingEnterpriseTargetBeanInstance.java:67)
  717.     at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:100)
  718.     at com.engagepoint.intake.application.beans.CrudService$SectionManager$1055819900$Proxy$_$$_Weld$EnterpriseProxy$.save(Unknown Source)
  719.     at com.engagepoint.intake.rest.katharsis.repository.BaseRepository.create(BaseRepository.java:48)
  720.     at com.engagepoint.intake.rest.katharsis.repository.BaseRepository.create(BaseRepository.java:17)
  721.     at io.katharsis.core.internal.repository.adapter.ResourceRepositoryAdapter$4.invoke(ResourceRepositoryAdapter.java:131)
  722.     at io.katharsis.core.internal.repository.adapter.ResponseRepositoryAdapter$RepositoryRequestFilterChainImpl.doFilter(ResponseRepositoryAdapter.java:203)
  723.     at io.katharsis.core.internal.repository.adapter.ResourceRepositoryAdapter.save(ResourceRepositoryAdapter.java:145)
  724.     at io.katharsis.core.internal.repository.adapter.ResourceRepositoryAdapter.create(ResourceRepositoryAdapter.java:114)
  725.     at io.katharsis.core.internal.dispatcher.controller.FieldResourcePost.handle(FieldResourcePost.java:85)
  726.     at io.katharsis.core.internal.dispatcher.RequestDispatcher$DefaultFilterChain.doFilter(RequestDispatcher.java:126)
  727.     at io.katharsis.core.internal.dispatcher.RequestDispatcher.dispatchRequest(RequestDispatcher.java:80)
  728.     at io.katharsis.rs.KatharsisFilter.dispatchRequest(KatharsisFilter.java:151)
  729.     at io.katharsis.rs.KatharsisFilter.filter(KatharsisFilter.java:111)
  730.     ... 46 more
  731. Caused by: javax.persistence.PersistenceException: org.hibernate.PersistentObjectException: detached entity passed to persist: com.engagepoint.intake.engine.model.application.entities.properties.ExistenceConditionEntity
  732.     at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1692)
  733.     at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1602)
  734.     at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1608)
  735.     at org.hibernate.jpa.spi.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:1152)
  736.     at sun.reflect.GeneratedMethodAccessor191.invoke(Unknown Source)
  737.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  738.     at java.lang.reflect.Method.invoke(Method.java:498)
  739.     at org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:38)
  740.     at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:100)
  741.     at org.jboss.weldx.persistence.EntityManager$542816626$Proxy$_$$_WeldClientProxy.persist(Unknown Source)
  742.     at com.engagepoint.intake.engine.datastorage.db.DbGenericApplicationDataStorage.persist(DbGenericApplicationDataStorage.java:25)
  743.     at com.engagepoint.intake.engine.datastorage.db.DbGenericApplicationDataStorage$Proxy$_$$_WeldSubclass.persist$$super(Unknown Source)
  744.     at sun.reflect.GeneratedMethodAccessor210.invoke(Unknown Source)
  745.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  746.     at java.lang.reflect.Method.invoke(Method.java:498)
  747.     at org.jboss.weld.interceptor.proxy.TerminalAroundInvokeInvocationContext.proceedInternal(TerminalAroundInvokeInvocationContext.java:49)
  748.     at org.jboss.weld.interceptor.proxy.AroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:77)
  749.     at org.apache.deltaspike.jpa.impl.transaction.ResourceLocalTransactionStrategy.execute(ResourceLocalTransactionStrategy.java:133)
  750.     at org.apache.deltaspike.jpa.impl.transaction.TransactionalInterceptor.executeInTransaction(TransactionalInterceptor.java:57)
  751.     at sun.reflect.GeneratedMethodAccessor121.invoke(Unknown Source)
  752.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  753.     at java.lang.reflect.Method.invoke(Method.java:498)
  754.     at org.jboss.weld.interceptor.reader.SimpleInterceptorInvocation$SimpleMethodInvocation.invoke(SimpleInterceptorInvocation.java:74)
  755.     at org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.executeAroundInvoke(InterceptorMethodHandler.java:84)
  756.     at org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.executeInterception(InterceptorMethodHandler.java:72)
  757.     at org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.invoke(InterceptorMethodHandler.java:56)
  758.     at org.jboss.weld.bean.proxy.CombinedInterceptorAndDecoratorStackMethodHandler.invoke(CombinedInterceptorAndDecoratorStackMethodHandler.java:79)
  759.     at org.jboss.weld.bean.proxy.CombinedInterceptorAndDecoratorStackMethodHandler.invoke(CombinedInterceptorAndDecoratorStackMethodHandler.java:68)
  760.     at com.engagepoint.intake.engine.datastorage.db.DbGenericApplicationDataStorage$Proxy$_$$_WeldSubclass.persist(Unknown Source)
  761.     at com.engagepoint.intake.application.beans.ApplicationFacadeBean.save(ApplicationFacadeBean.java:38)
  762.     at com.engagepoint.intake.application.beans.SectionBean.save(SectionBean.java:44)
  763.     at sun.reflect.GeneratedMethodAccessor273.invoke(Unknown Source)
  764.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  765.     at java.lang.reflect.Method.invoke(Method.java:498)
  766.     at org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52)
  767.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  768.     at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437)
  769.     at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:82)
  770.     at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:93)
  771.     at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)
  772.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  773.     at org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43)
  774.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  775.     at org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47)
  776.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  777.     at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437)
  778.     at org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:64)
  779.     at org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:83)
  780.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  781.     at org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45)
  782.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  783.     at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21)
  784.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  785.     at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
  786.     at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:52)
  787.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  788.     at org.jboss.as.ejb3.component.pool.PooledInstanceInterceptor.processInvocation(PooledInstanceInterceptor.java:51)
  789.     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
  790.     at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:275)
  791.     ... 99 more
  792. Caused by: org.hibernate.PersistentObjectException: detached entity passed to persist: com.engagepoint.intake.engine.model.application.entities.properties.ExistenceConditionEntity
  793.     at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:124)
  794.     at org.hibernate.internal.SessionImpl.firePersist(SessionImpl.java:765)
  795.     at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:758)
  796.     at org.hibernate.jpa.event.internal.core.JpaPersistEventListener$1.cascade(JpaPersistEventListener.java:80)
  797.     at org.hibernate.engine.internal.Cascade.cascadeToOne(Cascade.java:398)
  798.     at org.hibernate.engine.internal.Cascade.cascadeAssociation(Cascade.java:323)
  799.     at org.hibernate.engine.internal.Cascade.cascadeProperty(Cascade.java:162)
  800.     at org.hibernate.engine.internal.Cascade.cascadeCollectionElements(Cascade.java:431)
  801.     at org.hibernate.engine.internal.Cascade.cascadeCollection(Cascade.java:363)
  802.     at org.hibernate.engine.internal.Cascade.cascadeAssociation(Cascade.java:326)
  803.     at org.hibernate.engine.internal.Cascade.cascadeProperty(Cascade.java:162)
  804.     at org.hibernate.engine.internal.Cascade.cascade(Cascade.java:111)
  805.     at org.hibernate.event.internal.AbstractSaveEventListener.cascadeAfterSave(AbstractSaveEventListener.java:456)
  806.     at org.hibernate.event.internal.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:278)
  807.     at org.hibernate.event.internal.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:178)
  808.     at org.hibernate.event.internal.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:121)
  809.     at org.hibernate.jpa.event.internal.core.JpaPersistEventListener.saveWithGeneratedId(JpaPersistEventListener.java:67)
  810.     at org.hibernate.event.internal.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:189)
  811.     at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:132)
  812.     at org.hibernate.internal.SessionImpl.firePersist(SessionImpl.java:765)
  813.     at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:758)
  814.     at org.hibernate.jpa.event.internal.core.JpaPersistEventListener$1.cascade(JpaPersistEventListener.java:80)
  815.     at org.hibernate.engine.internal.Cascade.cascadeToOne(Cascade.java:398)
  816.     at org.hibernate.engine.internal.Cascade.cascadeAssociation(Cascade.java:323)
  817.     at org.hibernate.engine.internal.Cascade.cascadeProperty(Cascade.java:162)
  818.     at org.hibernate.engine.internal.Cascade.cascade(Cascade.java:111)
  819.     at org.hibernate.event.internal.AbstractSaveEventListener.cascadeBeforeSave(AbstractSaveEventListener.java:425)
  820.     at org.hibernate.event.internal.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:249)
  821.     at org.hibernate.event.internal.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:178)
  822.     at org.hibernate.event.internal.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:121)
  823.     at org.hibernate.jpa.event.internal.core.JpaPersistEventListener.saveWithGeneratedId(JpaPersistEventListener.java:67)
  824.     at org.hibernate.event.internal.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:189)
  825.     at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:132)
  826.     at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:58)
  827.     at org.hibernate.internal.SessionImpl.firePersist(SessionImpl.java:775)
  828.     at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:748)
  829.     at org.hibernate.internal.SessionImpl.persist(SessionImpl.java:753)
  830.     at org.hibernate.jpa.spi.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:1146)
  831.     ... 154 more
RAW Paste Data
Top