You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently explodes on foreign_key constraint if task doesn't exist (created with local server)
2017-01-24T03:32:51.040698+00:00 app[web.1]: 2017-01-24 03:32:51.040 ERROR --- --- [http-nio-40642-exec-4] c.b.r.e.m.GenericExceptionMapper : An internal server error occurred.
2017-01-24T03:32:51.040702+00:00 app[web.1]:
2017-01-24T03:32:51.040704+00:00 app[web.1]: org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint [activity_task_id_fkey]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement
2017-01-24T03:32:51.040720+00:00 app[web.1]: at org.springframework.orm.jpa.vendor.HibernateJpaDialect.convertHibernateAccessException(HibernateJpaDialect.java:259)
2017-01-24T03:32:51.040721+00:00 app[web.1]: at org.springframework.orm.jpa.vendor.HibernateJpaDialect.translateExceptionIfPossible(HibernateJpaDialect.java:225)
2017-01-24T03:32:51.040722+00:00 app[web.1]: at org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:521)
2017-01-24T03:32:51.040723+00:00 app[web.1]: at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:761)
2017-01-24T03:32:51.040724+00:00 app[web.1]: at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:730)
2017-01-24T03:32:51.040725+00:00 app[web.1]: at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:485)
2017-01-24T03:32:51.040725+00:00 app[web.1]: at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:291)
2017-01-24T03:32:51.040726+00:00 app[web.1]: at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
2017-01-24T03:32:51.040727+00:00 app[web.1]: at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
2017-01-24T03:32:51.040728+00:00 app[web.1]: at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208)
2017-01-24T03:32:51.040729+00:00 app[web.1]: at com.sun.proxy.$Proxy110.saveActivity(Unknown Source)
2017-01-24T03:32:51.040730+00:00 app[web.1]: at org.openmastery.publisher.core.IdeaFlowPersistenceService$saveActivity$4.call(Unknown Source)
2017-01-24T03:32:51.040731+00:00 app[web.1]: at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
2017-01-24T03:32:51.040732+00:00 app[web.1]: at org.openmastery.publisher.core.IdeaFlowPersistenceService$saveActivity$4.call(Unknown Source)
2017-01-24T03:32:51.040732+00:00 app[web.1]: at org.openmastery.publisher.core.IFMBatchService$_saveActivities_closure1.doCall(IFMBatchService.groovy:79)
2017-01-24T03:32:51.040733+00:00 app[web.1]: at sun.reflect.GeneratedMethodAccessor456.invoke(Unknown Source)
2017-01-24T03:32:51.040734+00:00 app[web.1]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2017-01-24T03:32:51.040735+00:00 app[web.1]: at java.lang.reflect.Method.invoke(Method.java:498)
2017-01-24T03:32:51.040736+00:00 app[web.1]: at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
2017-01-24T03:32:51.040736+00:00 app[web.1]: at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324)
2017-01-24T03:32:51.040737+00:00 app[web.1]: at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:292)
2017-01-24T03:32:51.040738+00:00 app[web.1]: at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016)
2017-01-24T03:32:51.040739+00:00 app[web.1]: at groovy.lang.Closure.call(Closure.java:423)
2017-01-24T03:32:51.040739+00:00 app[web.1]: at groovy.lang.Closure.call(Closure.java:439)
2017-01-24T03:32:51.040740+00:00 app[web.1]: at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2027)
2017-01-24T03:32:51.040741+00:00 app[web.1]: at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2012)
2017-01-24T03:32:51.040742+00:00 app[web.1]: at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2053)
2017-01-24T03:32:51.040742+00:00 app[web.1]: at org.codehaus.groovy.runtime.dgm$162.invoke(Unknown Source)
2017-01-24T03:32:51.040743+00:00 app[web.1]: at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:271)
2017-01-24T03:32:51.040744+00:00 app[web.1]: at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:53)
2017-01-24T03:32:51.040745+00:00 app[web.1]: at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:122)
2017-01-24T03:32:51.040745+00:00 app[web.1]: at org.openmastery.publisher.core.IFMBatchService.saveActivities(IFMBatchService.groovy:78)
2017-01-24T03:32:51.040746+00:00 app[web.1]: at sun.reflect.GeneratedMethodAccessor447.invoke(Unknown Source)
2017-01-24T03:32:51.040747+00:00 app[web.1]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2017-01-24T03:32:51.040748+00:00 app[web.1]: at java.lang.reflect.Method.invoke(Method.java:498)
2017-01-24T03:32:51.040749+00:00 app[web.1]: at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:207)
2017-01-24T03:32:51.040749+00:00 app[web.1]: at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:56)
2017-01-24T03:32:51.040750+00:00 app[web.1]: at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:163)
2017-01-24T03:32:51.040751+00:00 app[web.1]: at org.openmastery.publisher.core.IFMBatchService.addIFMBatch(IFMBatchService.groovy:67)
2017-01-24T03:32:51.040752+00:00 app[web.1]: at org.openmastery.publisher.resources.BatchResource.addIFMBatch(BatchResource.java:46)
2017-01-24T03:32:51.040758+00:00 app[web.1]: at sun.reflect.GeneratedMethodAccessor438.invoke(Unknown Source)
2017-01-24T03:32:51.040759+00:00 app[web.1]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2017-01-24T03:32:51.040760+00:00 app[web.1]: at java.lang.reflect.Method.invoke(Method.java:498)
2017-01-24T03:32:51.040760+00:00 app[web.1]: at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)
2017-01-24T03:32:51.040761+00:00 app[web.1]: at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)
2017-01-24T03:32:51.040762+00:00 app[web.1]: at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)
2017-01-24T03:32:51.040763+00:00 app[web.1]: at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$VoidOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:143)
2017-01-24T03:32:51.040764+00:00 app[web.1]: at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)
2017-01-24T03:32:51.040764+00:00 app[web.1]: at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)
2017-01-24T03:32:51.040765+00:00 app[web.1]: at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)
2017-01-24T03:32:51.040766+00:00 app[web.1]: at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)
2017-01-24T03:32:51.040766+00:00 app[web.1]: at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)
2017-01-24T03:32:51.040767+00:00 app[web.1]: at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)
2017-01-24T03:32:51.040768+00:00 app[web.1]: at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)
2017-01-24T03:32:51.040768+00:00 app[web.1]: at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
2017-01-24T03:32:51.040769+00:00 app[web.1]: at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
2017-01-24T03:32:51.040770+00:00 app[web.1]: at org.glassfish.jersey.internal.Errors.process(Errors.java:267)
2017-01-24T03:32:51.040771+00:00 app[web.1]: at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)
2017-01-24T03:32:51.040771+00:00 app[web.1]: at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)
2017-01-24T03:32:51.040772+00:00 app[web.1]: at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)
2017-01-24T03:32:51.040773+00:00 app[web.1]: at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:473)
2017-01-24T03:32:51.040774+00:00 app[web.1]: at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427)
2017-01-24T03:32:51.040775+00:00 app[web.1]: at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388)
2017-01-24T03:32:51.040775+00:00 app[web.1]: at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341)
2017-01-24T03:32:51.040776+00:00 app[web.1]: at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228)
2017-01-24T03:32:51.040777+00:00 app[web.1]: at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
2017-01-24T03:32:51.040778+00:00 app[web.1]: at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
2017-01-24T03:32:51.040779+00:00 app[web.1]: at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
2017-01-24T03:32:51.040779+00:00 app[web.1]: at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
2017-01-24T03:32:51.040780+00:00 app[web.1]: at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
2017-01-24T03:32:51.040781+00:00 app[web.1]: at org.springframework.boot.actuate.autoconfigure.EndpointWebMvcAutoConfiguration$ApplicationContextHeaderFilter.doFilterInternal(EndpointWebMvcAutoConfiguration.java:261)
2017-01-24T03:32:51.040782+00:00 app[web.1]: at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
2017-01-24T03:32:51.040783+00:00 app[web.1]: at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
2017-01-24T03:32:51.040783+00:00 app[web.1]: at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
2017-01-24T03:32:51.040784+00:00 app[web.1]: at org.springframework.boot.actuate.trace.WebRequestTraceFilter.doFilterInternal(WebRequestTraceFilter.java:115)
2017-01-24T03:32:51.040785+00:00 app[web.1]: at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
2017-01-24T03:32:51.040786+00:00 app[web.1]: at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
2017-01-24T03:32:51.040788+00:00 app[web.1]: at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
2017-01-24T03:32:51.040789+00:00 app[web.1]: at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
2017-01-24T03:32:51.040790+00:00 app[web.1]: at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
2017-01-24T03:32:51.040791+00:00 app[web.1]: at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
2017-01-24T03:32:51.040791+00:00 app[web.1]: at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
2017-01-24T03:32:51.040796+00:00 app[web.1]: at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:87)
2017-01-24T03:32:51.040797+00:00 app[web.1]: at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
2017-01-24T03:32:51.040797+00:00 app[web.1]: at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
2017-01-24T03:32:51.040798+00:00 app[web.1]: at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
2017-01-24T03:32:51.040799+00:00 app[web.1]: at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77)
2017-01-24T03:32:51.040800+00:00 app[web.1]: at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
2017-01-24T03:32:51.040801+00:00 app[web.1]: at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
2017-01-24T03:32:51.040801+00:00 app[web.1]: at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
2017-01-24T03:32:51.040802+00:00 app[web.1]: at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:121)
2017-01-24T03:32:51.040803+00:00 app[web.1]: at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
2017-01-24T03:32:51.040804+00:00 app[web.1]: at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
2017-01-24T03:32:51.040805+00:00 app[web.1]: at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
2017-01-24T03:32:51.040806+00:00 app[web.1]: at org.springframework.boot.actuate.autoconfigure.MetricsFilter.doFilterInternal(MetricsFilter.java:103)
2017-01-24T03:32:51.040807+00:00 app[web.1]: at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
2017-01-24T03:32:51.040807+00:00 app[web.1]: at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
2017-01-24T03:32:51.040808+00:00 app[web.1]: at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
2017-01-24T03:32:51.040809+00:00 app[web.1]: at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
2017-01-24T03:32:51.040810+00:00 app[web.1]: at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
2017-01-24T03:32:51.040811+00:00 app[web.1]: at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
2017-01-24T03:32:51.040812+00:00 app[web.1]: at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:676)
2017-01-24T03:32:51.040812+00:00 app[web.1]: at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
2017-01-24T03:32:51.040813+00:00 app[web.1]: at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
2017-01-24T03:32:51.040814+00:00 app[web.1]: at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
2017-01-24T03:32:51.040815+00:00 app[web.1]: at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522)
2017-01-24T03:32:51.040816+00:00 app[web.1]: at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095)
2017-01-24T03:32:51.040816+00:00 app[web.1]: at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)
2017-01-24T03:32:51.040817+00:00 app[web.1]: at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1502)
2017-01-24T03:32:51.040818+00:00 app[web.1]: at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1458)
2017-01-24T03:32:51.040819+00:00 app[web.1]: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
2017-01-24T03:32:51.040820+00:00 app[web.1]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
2017-01-24T03:32:51.040821+00:00 app[web.1]: at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
2017-01-24T03:32:51.040821+00:00 app[web.1]: at java.lang.Thread.run(Thread.java:745)
2017-01-24T03:32:51.040822+00:00 app[web.1]: Caused by: org.hibernate.exception.ConstraintViolationException: could not execute statement
2017-01-24T03:32:51.040823+00:00 app[web.1]: at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:129)
2017-01-24T03:32:51.040824+00:00 app[web.1]: at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:49)
2017-01-24T03:32:51.040825+00:00 app[web.1]: at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:126)
2017-01-24T03:32:51.040825+00:00 app[web.1]: at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:112)
2017-01-24T03:32:51.040826+00:00 app[web.1]: at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:211)
2017-01-24T03:32:51.040827+00:00 app[web.1]: at org.hibernate.engine.jdbc.batch.internal.NonBatchingBatch.addToBatch(NonBatchingBatch.java:62)
2017-01-24T03:32:51.040828+00:00 app[web.1]: at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3124)
2017-01-24T03:32:51.040828+00:00 app[web.1]: at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3581)
2017-01-24T03:32:51.040829+00:00 app[web.1]: at org.hibernate.action.internal.EntityInsertAction.execute(EntityInsertAction.java:104)
2017-01-24T03:32:51.040830+00:00 app[web.1]: at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:465)
2017-01-24T03:32:51.040830+00:00 app[web.1]: at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:351)
2017-01-24T03:32:51.040834+00:00 app[web.1]: at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:350)
2017-01-24T03:32:51.040835+00:00 app[web.1]: at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:56)
2017-01-24T03:32:51.040836+00:00 app[web.1]: at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1258)
2017-01-24T03:32:51.040837+00:00 app[web.1]: at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:425)
2017-01-24T03:32:51.040837+00:00 app[web.1]: at org.hibernate.engine.transaction.internal.jdbc.JdbcTransaction.beforeTransactionCommit(JdbcTransaction.java:101)
2017-01-24T03:32:51.040838+00:00 app[web.1]: at org.hibernate.engine.transaction.spi.AbstractTransactionImpl.commit(AbstractTransactionImpl.java:177)
2017-01-24T03:32:51.040839+00:00 app[web.1]: at org.hibernate.jpa.internal.TransactionImpl.commit(TransactionImpl.java:77)
2017-01-24T03:32:51.040840+00:00 app[web.1]: at org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:517)
2017-01-24T03:32:51.040841+00:00 app[web.1]: ... 111 common frames omitted
2017-01-24T03:32:51.040842+00:00 app[web.1]: Caused by: org.postgresql.util.PSQLException: ERROR: insert or update on table "activity" violates foreign key constraint "activity_task_id_fkey"
2017-01-24T03:32:51.040842+00:00 app[web.1]: Detail: Key (task_id)=(44) is not present in table "task".
2017-01-24T03:32:51.040843+00:00 app[web.1]: at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2102)
2017-01-24T03:32:51.040844+00:00 app[web.1]: at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1835)
2017-01-24T03:32:51.040845+00:00 app[web.1]: at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)
2017-01-24T03:32:51.040845+00:00 app[web.1]: at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:500)
2017-01-24T03:32:51.040846+00:00 app[web.1]: at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:388)
2017-01-24T03:32:51.040847+00:00 app[web.1]: at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:334)
2017-01-24T03:32:51.040848+00:00 app[web.1]: at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:208)
2017-01-24T03:32:51.040848+00:00 app[web.1]: ... 125 common frames omitted
2017-01-24T03:32:51.040849+00:00 app[web.1]:
2017-01-24T03:32:51.042930+00:00 app[web.1]: 2017-01-24 03:32:51.042 INFO --- --- [http-nio-40642-exec-4] o.o.l.LoggingFilter : Server response: POST http://om-ideaflow.herokuapp.com/ideaflow/publisher/batch < 500
The text was updated successfully, but these errors were encountered:
Currently explodes on foreign_key constraint if task doesn't exist (created with local server)
2017-01-24T03:32:51.040698+00:00 app[web.1]: 2017-01-24 03:32:51.040 ERROR --- --- [http-nio-40642-exec-4] c.b.r.e.m.GenericExceptionMapper : An internal server error occurred.
2017-01-24T03:32:51.040702+00:00 app[web.1]:
2017-01-24T03:32:51.040704+00:00 app[web.1]: org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint [activity_task_id_fkey]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement
2017-01-24T03:32:51.040720+00:00 app[web.1]: at org.springframework.orm.jpa.vendor.HibernateJpaDialect.convertHibernateAccessException(HibernateJpaDialect.java:259)
2017-01-24T03:32:51.040721+00:00 app[web.1]: at org.springframework.orm.jpa.vendor.HibernateJpaDialect.translateExceptionIfPossible(HibernateJpaDialect.java:225)
2017-01-24T03:32:51.040722+00:00 app[web.1]: at org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:521)
2017-01-24T03:32:51.040723+00:00 app[web.1]: at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:761)
2017-01-24T03:32:51.040724+00:00 app[web.1]: at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:730)
2017-01-24T03:32:51.040725+00:00 app[web.1]: at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:485)
2017-01-24T03:32:51.040725+00:00 app[web.1]: at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:291)
2017-01-24T03:32:51.040726+00:00 app[web.1]: at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
2017-01-24T03:32:51.040727+00:00 app[web.1]: at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
2017-01-24T03:32:51.040728+00:00 app[web.1]: at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208)
2017-01-24T03:32:51.040729+00:00 app[web.1]: at com.sun.proxy.$Proxy110.saveActivity(Unknown Source)
2017-01-24T03:32:51.040730+00:00 app[web.1]: at org.openmastery.publisher.core.IdeaFlowPersistenceService$saveActivity$4.call(Unknown Source)
2017-01-24T03:32:51.040731+00:00 app[web.1]: at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
2017-01-24T03:32:51.040732+00:00 app[web.1]: at org.openmastery.publisher.core.IdeaFlowPersistenceService$saveActivity$4.call(Unknown Source)
2017-01-24T03:32:51.040732+00:00 app[web.1]: at org.openmastery.publisher.core.IFMBatchService$_saveActivities_closure1.doCall(IFMBatchService.groovy:79)
2017-01-24T03:32:51.040733+00:00 app[web.1]: at sun.reflect.GeneratedMethodAccessor456.invoke(Unknown Source)
2017-01-24T03:32:51.040734+00:00 app[web.1]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2017-01-24T03:32:51.040735+00:00 app[web.1]: at java.lang.reflect.Method.invoke(Method.java:498)
2017-01-24T03:32:51.040736+00:00 app[web.1]: at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
2017-01-24T03:32:51.040736+00:00 app[web.1]: at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324)
2017-01-24T03:32:51.040737+00:00 app[web.1]: at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:292)
2017-01-24T03:32:51.040738+00:00 app[web.1]: at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016)
2017-01-24T03:32:51.040739+00:00 app[web.1]: at groovy.lang.Closure.call(Closure.java:423)
2017-01-24T03:32:51.040739+00:00 app[web.1]: at groovy.lang.Closure.call(Closure.java:439)
2017-01-24T03:32:51.040740+00:00 app[web.1]: at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2027)
2017-01-24T03:32:51.040741+00:00 app[web.1]: at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2012)
2017-01-24T03:32:51.040742+00:00 app[web.1]: at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2053)
2017-01-24T03:32:51.040742+00:00 app[web.1]: at org.codehaus.groovy.runtime.dgm$162.invoke(Unknown Source)
2017-01-24T03:32:51.040743+00:00 app[web.1]: at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:271)
2017-01-24T03:32:51.040744+00:00 app[web.1]: at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:53)
2017-01-24T03:32:51.040745+00:00 app[web.1]: at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:122)
2017-01-24T03:32:51.040745+00:00 app[web.1]: at org.openmastery.publisher.core.IFMBatchService.saveActivities(IFMBatchService.groovy:78)
2017-01-24T03:32:51.040746+00:00 app[web.1]: at sun.reflect.GeneratedMethodAccessor447.invoke(Unknown Source)
2017-01-24T03:32:51.040747+00:00 app[web.1]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2017-01-24T03:32:51.040748+00:00 app[web.1]: at java.lang.reflect.Method.invoke(Method.java:498)
2017-01-24T03:32:51.040749+00:00 app[web.1]: at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:207)
2017-01-24T03:32:51.040749+00:00 app[web.1]: at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:56)
2017-01-24T03:32:51.040750+00:00 app[web.1]: at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:163)
2017-01-24T03:32:51.040751+00:00 app[web.1]: at org.openmastery.publisher.core.IFMBatchService.addIFMBatch(IFMBatchService.groovy:67)
2017-01-24T03:32:51.040752+00:00 app[web.1]: at org.openmastery.publisher.resources.BatchResource.addIFMBatch(BatchResource.java:46)
2017-01-24T03:32:51.040758+00:00 app[web.1]: at sun.reflect.GeneratedMethodAccessor438.invoke(Unknown Source)
2017-01-24T03:32:51.040759+00:00 app[web.1]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2017-01-24T03:32:51.040760+00:00 app[web.1]: at java.lang.reflect.Method.invoke(Method.java:498)
2017-01-24T03:32:51.040760+00:00 app[web.1]: at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)
2017-01-24T03:32:51.040761+00:00 app[web.1]: at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)
2017-01-24T03:32:51.040762+00:00 app[web.1]: at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)
2017-01-24T03:32:51.040763+00:00 app[web.1]: at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$VoidOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:143)
2017-01-24T03:32:51.040764+00:00 app[web.1]: at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)
2017-01-24T03:32:51.040764+00:00 app[web.1]: at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)
2017-01-24T03:32:51.040765+00:00 app[web.1]: at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)
2017-01-24T03:32:51.040766+00:00 app[web.1]: at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)
2017-01-24T03:32:51.040766+00:00 app[web.1]: at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)
2017-01-24T03:32:51.040767+00:00 app[web.1]: at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)
2017-01-24T03:32:51.040768+00:00 app[web.1]: at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)
2017-01-24T03:32:51.040768+00:00 app[web.1]: at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
2017-01-24T03:32:51.040769+00:00 app[web.1]: at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
2017-01-24T03:32:51.040770+00:00 app[web.1]: at org.glassfish.jersey.internal.Errors.process(Errors.java:267)
2017-01-24T03:32:51.040771+00:00 app[web.1]: at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)
2017-01-24T03:32:51.040771+00:00 app[web.1]: at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)
2017-01-24T03:32:51.040772+00:00 app[web.1]: at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)
2017-01-24T03:32:51.040773+00:00 app[web.1]: at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:473)
2017-01-24T03:32:51.040774+00:00 app[web.1]: at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427)
2017-01-24T03:32:51.040775+00:00 app[web.1]: at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388)
2017-01-24T03:32:51.040775+00:00 app[web.1]: at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341)
2017-01-24T03:32:51.040776+00:00 app[web.1]: at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228)
2017-01-24T03:32:51.040777+00:00 app[web.1]: at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
2017-01-24T03:32:51.040778+00:00 app[web.1]: at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
2017-01-24T03:32:51.040779+00:00 app[web.1]: at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
2017-01-24T03:32:51.040779+00:00 app[web.1]: at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
2017-01-24T03:32:51.040780+00:00 app[web.1]: at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
2017-01-24T03:32:51.040781+00:00 app[web.1]: at org.springframework.boot.actuate.autoconfigure.EndpointWebMvcAutoConfiguration$ApplicationContextHeaderFilter.doFilterInternal(EndpointWebMvcAutoConfiguration.java:261)
2017-01-24T03:32:51.040782+00:00 app[web.1]: at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
2017-01-24T03:32:51.040783+00:00 app[web.1]: at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
2017-01-24T03:32:51.040783+00:00 app[web.1]: at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
2017-01-24T03:32:51.040784+00:00 app[web.1]: at org.springframework.boot.actuate.trace.WebRequestTraceFilter.doFilterInternal(WebRequestTraceFilter.java:115)
2017-01-24T03:32:51.040785+00:00 app[web.1]: at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
2017-01-24T03:32:51.040786+00:00 app[web.1]: at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
2017-01-24T03:32:51.040788+00:00 app[web.1]: at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
2017-01-24T03:32:51.040789+00:00 app[web.1]: at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
2017-01-24T03:32:51.040790+00:00 app[web.1]: at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
2017-01-24T03:32:51.040791+00:00 app[web.1]: at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
2017-01-24T03:32:51.040791+00:00 app[web.1]: at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
2017-01-24T03:32:51.040796+00:00 app[web.1]: at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:87)
2017-01-24T03:32:51.040797+00:00 app[web.1]: at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
2017-01-24T03:32:51.040797+00:00 app[web.1]: at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
2017-01-24T03:32:51.040798+00:00 app[web.1]: at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
2017-01-24T03:32:51.040799+00:00 app[web.1]: at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77)
2017-01-24T03:32:51.040800+00:00 app[web.1]: at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
2017-01-24T03:32:51.040801+00:00 app[web.1]: at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
2017-01-24T03:32:51.040801+00:00 app[web.1]: at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
2017-01-24T03:32:51.040802+00:00 app[web.1]: at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:121)
2017-01-24T03:32:51.040803+00:00 app[web.1]: at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
2017-01-24T03:32:51.040804+00:00 app[web.1]: at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
2017-01-24T03:32:51.040805+00:00 app[web.1]: at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
2017-01-24T03:32:51.040806+00:00 app[web.1]: at org.springframework.boot.actuate.autoconfigure.MetricsFilter.doFilterInternal(MetricsFilter.java:103)
2017-01-24T03:32:51.040807+00:00 app[web.1]: at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
2017-01-24T03:32:51.040807+00:00 app[web.1]: at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
2017-01-24T03:32:51.040808+00:00 app[web.1]: at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
2017-01-24T03:32:51.040809+00:00 app[web.1]: at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
2017-01-24T03:32:51.040810+00:00 app[web.1]: at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
2017-01-24T03:32:51.040811+00:00 app[web.1]: at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
2017-01-24T03:32:51.040812+00:00 app[web.1]: at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:676)
2017-01-24T03:32:51.040812+00:00 app[web.1]: at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
2017-01-24T03:32:51.040813+00:00 app[web.1]: at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
2017-01-24T03:32:51.040814+00:00 app[web.1]: at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
2017-01-24T03:32:51.040815+00:00 app[web.1]: at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522)
2017-01-24T03:32:51.040816+00:00 app[web.1]: at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095)
2017-01-24T03:32:51.040816+00:00 app[web.1]: at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)
2017-01-24T03:32:51.040817+00:00 app[web.1]: at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1502)
2017-01-24T03:32:51.040818+00:00 app[web.1]: at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1458)
2017-01-24T03:32:51.040819+00:00 app[web.1]: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
2017-01-24T03:32:51.040820+00:00 app[web.1]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
2017-01-24T03:32:51.040821+00:00 app[web.1]: at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
2017-01-24T03:32:51.040821+00:00 app[web.1]: at java.lang.Thread.run(Thread.java:745)
2017-01-24T03:32:51.040822+00:00 app[web.1]: Caused by: org.hibernate.exception.ConstraintViolationException: could not execute statement
2017-01-24T03:32:51.040823+00:00 app[web.1]: at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:129)
2017-01-24T03:32:51.040824+00:00 app[web.1]: at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:49)
2017-01-24T03:32:51.040825+00:00 app[web.1]: at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:126)
2017-01-24T03:32:51.040825+00:00 app[web.1]: at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:112)
2017-01-24T03:32:51.040826+00:00 app[web.1]: at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:211)
2017-01-24T03:32:51.040827+00:00 app[web.1]: at org.hibernate.engine.jdbc.batch.internal.NonBatchingBatch.addToBatch(NonBatchingBatch.java:62)
2017-01-24T03:32:51.040828+00:00 app[web.1]: at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3124)
2017-01-24T03:32:51.040828+00:00 app[web.1]: at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3581)
2017-01-24T03:32:51.040829+00:00 app[web.1]: at org.hibernate.action.internal.EntityInsertAction.execute(EntityInsertAction.java:104)
2017-01-24T03:32:51.040830+00:00 app[web.1]: at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:465)
2017-01-24T03:32:51.040830+00:00 app[web.1]: at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:351)
2017-01-24T03:32:51.040834+00:00 app[web.1]: at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:350)
2017-01-24T03:32:51.040835+00:00 app[web.1]: at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:56)
2017-01-24T03:32:51.040836+00:00 app[web.1]: at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1258)
2017-01-24T03:32:51.040837+00:00 app[web.1]: at org.hibernate.internal.SessionImpl.managedFlush(SessionImpl.java:425)
2017-01-24T03:32:51.040837+00:00 app[web.1]: at org.hibernate.engine.transaction.internal.jdbc.JdbcTransaction.beforeTransactionCommit(JdbcTransaction.java:101)
2017-01-24T03:32:51.040838+00:00 app[web.1]: at org.hibernate.engine.transaction.spi.AbstractTransactionImpl.commit(AbstractTransactionImpl.java:177)
2017-01-24T03:32:51.040839+00:00 app[web.1]: at org.hibernate.jpa.internal.TransactionImpl.commit(TransactionImpl.java:77)
2017-01-24T03:32:51.040840+00:00 app[web.1]: at org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:517)
2017-01-24T03:32:51.040841+00:00 app[web.1]: ... 111 common frames omitted
2017-01-24T03:32:51.040842+00:00 app[web.1]: Caused by: org.postgresql.util.PSQLException: ERROR: insert or update on table "activity" violates foreign key constraint "activity_task_id_fkey"
2017-01-24T03:32:51.040842+00:00 app[web.1]: Detail: Key (task_id)=(44) is not present in table "task".
2017-01-24T03:32:51.040843+00:00 app[web.1]: at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2102)
2017-01-24T03:32:51.040844+00:00 app[web.1]: at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1835)
2017-01-24T03:32:51.040845+00:00 app[web.1]: at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)
2017-01-24T03:32:51.040845+00:00 app[web.1]: at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:500)
2017-01-24T03:32:51.040846+00:00 app[web.1]: at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:388)
2017-01-24T03:32:51.040847+00:00 app[web.1]: at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:334)
2017-01-24T03:32:51.040848+00:00 app[web.1]: at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:208)
2017-01-24T03:32:51.040848+00:00 app[web.1]: ... 125 common frames omitted
2017-01-24T03:32:51.040849+00:00 app[web.1]:
2017-01-24T03:32:51.042930+00:00 app[web.1]: 2017-01-24 03:32:51.042 INFO --- --- [http-nio-40642-exec-4] o.o.l.LoggingFilter : Server response: POST http://om-ideaflow.herokuapp.com/ideaflow/publisher/batch < 500
The text was updated successfully, but these errors were encountered: