SHARE
TWEET

Untitled

a guest Sep 23rd, 2019 105 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {
  2. error: "ERROR: duplicate key value violates unique constraint "t_node_id_back_node_key"↵  Подробности: Key (id_back_node)=(1) already exists.",
  3. stackTrace: "org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "t_node_id_back_node_key"↵  Подробности: Key (id_back_node)=(1) already exists.↵   at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)↵    at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)↵  at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)↵  at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)↵ at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)↵ at org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:143)↵    at org.postgresql.jdbc.PgPreparedStatement.execute(PgPreparedStatement.java:132)↵ at com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44)↵ at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute(HikariProxyPreparedStatement.java)↵    at org.jdbi.v3.core.statement.SqlLoggerUtil.wrap(SqlLoggerUtil.java:31)↵  at org.jdbi.v3.core.statement.SqlStatement.internalExecute(SqlStatement.java:1560)↵   at org.jdbi.v3.core.result.ResultProducers.lambda$returningUpdateCount$0(ResultProducers.java:48)↵    at org.jdbi.v3.core.statement.Update.execute(Update.java:53)↵ at org.jdbi.v3.core.statement.Update.execute(Update.java:41)↵ at org.jdbi.v3.sqlobject.statement.internal.SqlUpdateHandler.lambda$new$1(SqlUpdateHandler.java:64)↵  at org.jdbi.v3.sqlobject.statement.internal.SqlUpdateHandler.lambda$configureReturner$3(SqlUpdateHandler.java:79)↵    at org.jdbi.v3.sqlobject.statement.internal.CustomizingStatementHandler.invoke(CustomizingStatementHandler.java:155)↵ at org.jdbi.v3.sqlobject.statement.internal.SqlUpdateHandler.invoke(SqlUpdateHandler.java:32)↵    at org.jdbi.v3.sqlobject.SqlObjectFactory.lambda$null$14(SqlObjectFactory.java:172)↵  at org.jdbi.v3.core.internal.JdbiThreadLocals.invokeInContext(JdbiThreadLocals.java:27)↵  at org.jdbi.v3.core.LazyHandleSupplier.lambda$invokeInContext$1(LazyHandleSupplier.java:72)↵  at org.jdbi.v3.core.internal.JdbiThreadLocals.invokeInContext(JdbiThreadLocals.java:27)↵  at org.jdbi.v3.core.LazyHandleSupplier.invokeInContext(LazyHandleSupplier.java:71)↵   at org.jdbi.v3.sqlobject.SqlObjectFactory.lambda$createInvocationHandler$15(SqlObjectFactory.java:169)↵   at com.sun.proxy.$Proxy217.insert(Unknown Source)↵    at com.abmcloud.abmpos.common.catalog.repository.node.NodeRepository.lambda$merge$1(NodeRepository.java:56)↵  at org.jdbi.v3.core.Jdbi.withExtension(Jdbi.java:451)↵    at com.abmcloud.abmpos.common.catalog.repository.node.NodeRepository.merge(NodeRepository.java:46)↵   at com.abmcloud.abmpos.common.catalog.repository.node.NodeRepository$$FastClassBySpringCGLIB$$c776887e.invoke(<generated>)↵   at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)↵  at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)↵ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)↵ at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139)↵    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)↵ at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)↵   at com.abmcloud.abmpos.common.catalog.repository.node.NodeRepository$$EnhancerBySpringCGLIB$$2408fede.merge(<generated>)↵ at com.abmcloud.abmpos.common.catalog.service.NodeCatalogService.mergeNode(NodeCatalogService.java:80)↵   at com.abmcloud.abmpos.common.catalog.service.NodeCatalogService$$FastClassBySpringCGLIB$$9741a0a1.invoke(<generated>)↵   at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)↵  at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)↵ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)↵ at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:294)↵   at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)↵ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)↵ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93)↵   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)↵ at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:100)↵ at com.abmcloud.abmpos.common.catalog.aspect.ProcessWithRevisionAspect.processWithRevision(ProcessWithRevisionAspect.java:58)↵    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)↵   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)↵ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)↵ at java.lang.reflect.Method.invoke(Method.java:498)↵  at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644)↵ at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633)↵  at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70)↵   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)↵ at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)↵   at com.abmcloud.abmpos.common.catalog.service.NodeCatalogService$$EnhancerBySpringCGLIB$$79ba561b.mergeNode(<generated>)↵ at com.abmcloud.abmpos.master.service.admin.NodeAdminService.mergeNodeEntry(NodeAdminService.java:93)↵    at com.abmcloud.abmpos.master.service.admin.NodeAdminService.createNodeEntry(NodeAdminService.java:70)↵   at com.abmcloud.abmpos.master.controller.api.NodeAdminController.createNode(NodeAdminController.java:44)↵ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)↵   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)↵ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)↵ at java.lang.reflect.Method.invoke(Method.java:498)↵  at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189)↵   at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138)↵   at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102)↵   at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895)↵ at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:800)↵  at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)↵  at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038)↵ at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942)↵   at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005)↵   at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:908)↵    at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)↵  at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882)↵   at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)↵  at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:867)↵    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1623)↵   at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:214)↵   at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)↵   at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:101)↵   at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)↵   at org.springframework.boot.actuate.web.trace.servlet.HttpTraceFilter.doFilterInternal(HttpTraceFilter.java:90)↵  at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)↵   at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)↵   at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320)↵  at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127)↵    at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91)↵   at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)↵  at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:119)↵  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)↵  at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137)↵   at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)↵  at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111)↵    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)↵  at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:170)↵    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)↵  at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63)↵   at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)↵  at com.abmcloud.abmpos.common.server.security.JwtAuthenticationFilter.doFilterInternal(JwtAuthenticationFilter.java:48)↵  at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)↵   at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)↵  at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116)↵   at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)↵  at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:96)↵    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)↵   at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)↵  at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:74)↵   at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)↵   at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)↵  at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105)↵ at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)↵  at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)↵    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)↵   at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)↵  at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215)↵ at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178)↵ at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:357)↵   at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:270)↵ at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)↵   at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)↵    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)↵   at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)↵   at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92)↵  at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)↵   at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)↵   at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93)↵    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)↵   at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)↵   at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.filterAndRecordMetrics(WebMvcMetricsFilter.java:117)↵ at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:106)↵   at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)↵   at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)↵   at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200)↵ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)↵   at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)↵   at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:540)↵    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146)↵ at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)↵   at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)↵   at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257)↵ at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1588)↵    at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255)↵ at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345)↵    at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203)↵  at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480)↵ at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1557)↵ at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201)↵  at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247)↵ at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144)↵ at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)↵   at org.eclipse.jetty.server.Server.handle(Server.java:502)↵   at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:364)↵ at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260)↵   at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305)↵   at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)↵ at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118)↵  at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333)↵    at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310)↵  at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168)↵ at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126)↵    at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366)↵  at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765)↵  at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683)↵   at java.lang.Thread.run(Thread.java:748)↵"
  4.  
  5. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top