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
Multiple entries with same key: ProductId(repoId=2001343)=BPartnerProductStats(repoId=1000002, bpartnerId=BPartnerId(repoId=2156425), productId=ProductId(repoId=2001343), lastShipmentDate=2019-03-16T23:59:59+01:00[Europe/Berlin], lastReceiptDate=null, lastSalesInvoice=null) and ProductId(repoId=2001343)=BPartnerProductStats(repoId=1000000, bpartnerId=BPartnerId(repoId=2156425), productId=ProductId(repoId=2001343), lastShipmentDate=2019-03-16T23:59:59+01:00[Europe/Berlin], lastReceiptDate=null, lastSalesInvoice=null)"
Which are the steps to reproduce?
Create a Sales Order with 1 Businesspartner and the same Product on 1 Day. Then Open the customer proposal action.
What is the expected or desired behavior?
Shall work.
Stacktrace:
trace: [,…]
[0 … 99]
0: "org.adempiere.exceptions.AdempiereException: IllegalArgumentException: Multiple entries with same key: ProductId(repoId=2001343)=BPartnerProductStats(repoId=1000002, bpartnerId=BPartnerId(repoId=2156425), productId=ProductId(repoId=2001343), lastShipmentDate=2019-03-16T23:59:59+01:00[Europe/Berlin], lastReceiptDate=null, lastSalesInvoice=null) and ProductId(repoId=2001343)=BPartnerProductStats(repoId=1000000, bpartnerId=BPartnerId(repoId=2156425), productId=ProductId(repoId=2001343), lastShipmentDate=2019-03-16T23:59:59+01:00[Europe/Berlin], lastReceiptDate=null, lastSalesInvoice=null)"
1: " at org.adempiere.exceptions.AdempiereException.wrapIfNeeded(AdempiereException.java:89)"
2: " at de.metas.process.ProcessExecutionResult.propagateErrorIfAny(ProcessExecutionResult.java:717)"
3: " at de.metas.process.JavaProcess.startProcess(JavaProcess.java:326)"
4: " at de.metas.process.ProcessExecutor.startJavaProcess(ProcessExecutor.java:565)"
5: " at de.metas.process.ProcessExecutor.startJavaOrScriptProcess(ProcessExecutor.java:461)"
6: " at de.metas.process.ProcessExecutor.access$700(ProcessExecutor.java:51)"
7: " at de.metas.process.ProcessExecutor$1.run(ProcessExecutor.java:225)"
8: " at org.adempiere.ad.trx.api.impl.TrxCallableWrappers$3.call(TrxCallableWrappers.java:145)"
9: " at org.adempiere.ad.trx.api.impl.TrxCallableWrappers$3.call(TrxCallableWrappers.java:135)"
10: " at org.adempiere.ad.trx.api.impl.AbstractTrxManager.call0(AbstractTrxManager.java:776)"
11: " at org.adempiere.ad.trx.api.impl.AbstractTrxManager.call(AbstractTrxManager.java:689)"
12: " at org.adempiere.ad.trx.api.impl.AbstractTrxManager.call(AbstractTrxManager.java:590)"
13: " at org.adempiere.ad.trx.api.impl.AbstractTrxManager.call(AbstractTrxManager.java:521)"
14: " at org.adempiere.ad.trx.api.impl.AbstractTrxManager.run(AbstractTrxManager.java:507)"
15: " at de.metas.process.ProcessExecutor.executeNow(ProcessExecutor.java:287)"
16: " at de.metas.process.ProcessExecutor.executeSync(ProcessExecutor.java:172)"
17: " at de.metas.process.ProcessExecutor.access$1100(ProcessExecutor.java:51)"
18: " at de.metas.process.ProcessExecutor$Builder.executeSync(ProcessExecutor.java:652)"
19: " at de.metas.ui.web.process.adprocess.ADProcessInstanceController.executeADProcess(ADProcessInstanceController.java:331)"
20: " at de.metas.ui.web.process.adprocess.ADProcessInstanceController.startProcess(ADProcessInstanceController.java:308)"
21: " at de.metas.ui.web.process.ProcessRestController.lambda$null$7(ProcessRestController.java:259)"
22: " at de.metas.ui.web.process.adprocess.ADProcessInstancesRepository.forProcessInstanceWritable(ADProcessInstancesRepository.java:422)"
23: " at de.metas.ui.web.process.ProcessRestController.lambda$startProcess$8(ProcessRestController.java:258)"
24: " at de.metas.ui.web.window.controller.Execution$ExecutionBuilder.lambda$execute$2(Execution.java:237)"
25: " at de.metas.ui.web.window.controller.Execution$ExecutionBuilder.execute(Execution.java:260)"
26: " at de.metas.ui.web.process.ProcessRestController.startProcess(ProcessRestController.java:257)"
27: " at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)"
28: " at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)"
29: " at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)"
30: " at java.lang.reflect.Method.invoke(Method.java:498)"
31: " at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)"
32: " at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133)"
33: " at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97)"
34: " at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)"
35: " at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)"
36: " at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)"
37: " at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:963)"
38: " at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:897)"
39: " at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)"
40: " at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861)"
41: " at javax.servlet.http.HttpServlet.service(HttpServlet.java:635)"
42: " at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)"
43: " at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)"
44: " at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)"
45: " at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)"
46: " at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)"
47: " at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)"
48: " at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)"
49: " at org.springframework.boot.web.filter.ApplicationContextHeaderFilter.doFilterInternal(ApplicationContextHeaderFilter.java:55)"
50: " at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)"
51: " at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)"
52: " at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)"
53: " at de.metas.ui.web.config.WebConfig$1.doFilter(WebConfig.java:82)"
54: " at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)"
55: " at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)"
56: " at de.metas.ui.web.config.ServletLoggingFilter.doFilter(ServletLoggingFilter.java:89)"
57: " at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)"
58: " at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)"
59: " at de.metas.ui.web.config.CORSFilter.doFilter(CORSFilter.java:79)"
60: " at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)"
61: " at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)"
62: " at org.springframework.boot.actuate.trace.WebRequestTraceFilter.doFilterInternal(WebRequestTraceFilter.java:110)"
63: " at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)"
64: " at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)"
65: " at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)"
66: " at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)"
67: " at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)"
68: " at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)"
69: " at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)"
70: " at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:105)"
71: " at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)"
72: " at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)"
73: " at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)"
74: " at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:81)"
75: " at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)"
76: " at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)"
77: " at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)"
78: " at org.springframework.session.web.http.SessionRepositoryFilter.doFilterInternal(SessionRepositoryFilter.java:167)"
79: " at org.springframework.session.web.http.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:80)"
80: " at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)"
81: " at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)"
82: " at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)"
83: " at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)"
84: " at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)"
85: " at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)"
86: " at org.springframework.boot.actuate.autoconfigure.MetricsFilter.doFilterInternal(MetricsFilter.java:106)"
87: " at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)"
88: " at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)"
89: " at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)"
90: " at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)"
91: " at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)"
92: " at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478)"
93: " at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)"
94: " at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80)"
95: " at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)"
96: " at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)"
97: " at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:799)"
98: " at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)"
99: " at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:861)"
[100 … 141]
100: " at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1455)"
101: " at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)"
102: " at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)"
103: " at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)"
104: " at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)"
105: " at java.lang.Thread.run(Thread.java:748)"
106: "Caused by: java.lang.IllegalArgumentException: Multiple entries with same key: ProductId(repoId=2001343)=BPartnerProductStats(repoId=1000002, bpartnerId=BPartnerId(repoId=2156425), productId=ProductId(repoId=2001343), lastShipmentDate=2019-03-16T23:59:59+01:00[Europe/Berlin], lastReceiptDate=null, lastSalesInvoice=null) and ProductId(repoId=2001343)=BPartnerProductStats(repoId=1000000, bpartnerId=BPartnerId(repoId=2156425), productId=ProductId(repoId=2001343), lastShipmentDate=2019-03-16T23:59:59+01:00[Europe/Berlin], lastReceiptDate=null, lastSalesInvoice=null)"
107: " at com.google.common.collect.ImmutableMap.checkNoConflict(ImmutableMap.java:186)"
108: " at com.google.common.collect.RegularImmutableMap.checkNoConflictInKeyBucket(RegularImmutableMap.java:102)"
109: " at com.google.common.collect.RegularImmutableMap.fromEntryArray(RegularImmutableMap.java:88)"
110: " at com.google.common.collect.ImmutableMap$Builder.build(ImmutableMap.java:359)"
111: " at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:503)"
112: " at de.metas.bpartner.product.stats.BPartnerProductStatsRepository.getByPartnerAndProducts(BPartnerProductStatsRepository.java:80)"
113: " at de.metas.bpartner.product.stats.BPartnerProductStatsRepository$$FastClassBySpringCGLIB$$1420cee9.invoke()"
114: " at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)"
115: " at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:738)"
116: " at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)"
117: " at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:136)"
118: " at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)"
119: " at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:673)"
120: " at de.metas.bpartner.product.stats.BPartnerProductStatsRepository$$EnhancerBySpringCGLIB$$29191ed1.getByPartnerAndProducts()"
121: " at de.metas.bpartner.product.stats.BPartnerProductStatsService.getByPartnerAndProducts(BPartnerProductStatsService.java:54)"
122: " at de.metas.ui.web.order.products_proposal.model.ProductsProposalRowsLoader.updateLastShipmentDays(ProductsProposalRowsLoader.java:219)"
123: " at de.metas.ui.web.order.products_proposal.model.ProductsProposalRowsLoader.load(ProductsProposalRowsLoader.java:115)"
124: " at de.metas.ui.web.order.products_proposal.view.ProductsProposalViewFactoryTemplate.loadRowsData(ProductsProposalViewFactoryTemplate.java:130)"
125: " at de.metas.ui.web.order.products_proposal.view.ProductsProposalViewFactoryTemplate.createView(ProductsProposalViewFactoryTemplate.java:116)"
126: " at de.metas.ui.web.order.products_proposal.view.ProductsProposalViewFactoryTemplate.createView(ProductsProposalViewFactoryTemplate.java:60)"
127: " at de.metas.ui.web.view.ViewsRepository.createView(ViewsRepository.java:257)"
128: " at sun.reflect.GeneratedMethodAccessor343.invoke(Unknown Source)"
129: " at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)"
130: " at java.lang.reflect.Method.invoke(Method.java:498)"
131: " at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)"
132: " at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)"
133: " at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)"
134: " at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:136)"
135: " at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)"
136: " at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)"
137: " at com.sun.proxy.$Proxy123.createView(Unknown Source)"
138: " at de.metas.ui.web.order.products_proposal.process.WEBUI_ProductsProposal_Launcher_Template.doIt(WEBUI_ProductsProposal_Launcher_Template.java:52)"
139: " at de.metas.process.JavaProcess.startProcess(JavaProcess.java:296)"
140: " ... 102 more"
141: ""
The text was updated successfully, but these errors were encountered:
Is this a bug or feature request?
Bug
What is the current behavior?
Multiple entries with same key: ProductId(repoId=2001343)=BPartnerProductStats(repoId=1000002, bpartnerId=BPartnerId(repoId=2156425), productId=ProductId(repoId=2001343), lastShipmentDate=2019-03-16T23:59:59+01:00[Europe/Berlin], lastReceiptDate=null, lastSalesInvoice=null) and ProductId(repoId=2001343)=BPartnerProductStats(repoId=1000000, bpartnerId=BPartnerId(repoId=2156425), productId=ProductId(repoId=2001343), lastShipmentDate=2019-03-16T23:59:59+01:00[Europe/Berlin], lastReceiptDate=null, lastSalesInvoice=null)"
Which are the steps to reproduce?
Create a Sales Order with 1 Businesspartner and the same Product on 1 Day. Then Open the customer proposal action.
What is the expected or desired behavior?
Shall work.
Stacktrace:
trace: [,…]
[0 … 99]
0: "org.adempiere.exceptions.AdempiereException: IllegalArgumentException: Multiple entries with same key: ProductId(repoId=2001343)=BPartnerProductStats(repoId=1000002, bpartnerId=BPartnerId(repoId=2156425), productId=ProductId(repoId=2001343), lastShipmentDate=2019-03-16T23:59:59+01:00[Europe/Berlin], lastReceiptDate=null, lastSalesInvoice=null) and ProductId(repoId=2001343)=BPartnerProductStats(repoId=1000000, bpartnerId=BPartnerId(repoId=2156425), productId=ProductId(repoId=2001343), lastShipmentDate=2019-03-16T23:59:59+01:00[Europe/Berlin], lastReceiptDate=null, lastSalesInvoice=null)"
1: " at org.adempiere.exceptions.AdempiereException.wrapIfNeeded(AdempiereException.java:89)"
2: " at de.metas.process.ProcessExecutionResult.propagateErrorIfAny(ProcessExecutionResult.java:717)"
3: " at de.metas.process.JavaProcess.startProcess(JavaProcess.java:326)"
4: " at de.metas.process.ProcessExecutor.startJavaProcess(ProcessExecutor.java:565)"
5: " at de.metas.process.ProcessExecutor.startJavaOrScriptProcess(ProcessExecutor.java:461)"
6: " at de.metas.process.ProcessExecutor.access$700(ProcessExecutor.java:51)"
7: " at de.metas.process.ProcessExecutor$1.run(ProcessExecutor.java:225)"
8: " at org.adempiere.ad.trx.api.impl.TrxCallableWrappers$3.call(TrxCallableWrappers.java:145)"
9: " at org.adempiere.ad.trx.api.impl.TrxCallableWrappers$3.call(TrxCallableWrappers.java:135)"
10: " at org.adempiere.ad.trx.api.impl.AbstractTrxManager.call0(AbstractTrxManager.java:776)"
11: " at org.adempiere.ad.trx.api.impl.AbstractTrxManager.call(AbstractTrxManager.java:689)"
12: " at org.adempiere.ad.trx.api.impl.AbstractTrxManager.call(AbstractTrxManager.java:590)"
13: " at org.adempiere.ad.trx.api.impl.AbstractTrxManager.call(AbstractTrxManager.java:521)"
14: " at org.adempiere.ad.trx.api.impl.AbstractTrxManager.run(AbstractTrxManager.java:507)"
15: " at de.metas.process.ProcessExecutor.executeNow(ProcessExecutor.java:287)"
16: " at de.metas.process.ProcessExecutor.executeSync(ProcessExecutor.java:172)"
17: " at de.metas.process.ProcessExecutor.access$1100(ProcessExecutor.java:51)"
18: " at de.metas.process.ProcessExecutor$Builder.executeSync(ProcessExecutor.java:652)"
19: " at de.metas.ui.web.process.adprocess.ADProcessInstanceController.executeADProcess(ADProcessInstanceController.java:331)"
20: " at de.metas.ui.web.process.adprocess.ADProcessInstanceController.startProcess(ADProcessInstanceController.java:308)"
21: " at de.metas.ui.web.process.ProcessRestController.lambda$null$7(ProcessRestController.java:259)"
22: " at de.metas.ui.web.process.adprocess.ADProcessInstancesRepository.forProcessInstanceWritable(ADProcessInstancesRepository.java:422)"
23: " at de.metas.ui.web.process.ProcessRestController.lambda$startProcess$8(ProcessRestController.java:258)"
24: " at de.metas.ui.web.window.controller.Execution$ExecutionBuilder.lambda$execute$2(Execution.java:237)"
25: " at de.metas.ui.web.window.controller.Execution$ExecutionBuilder.execute(Execution.java:260)"
26: " at de.metas.ui.web.process.ProcessRestController.startProcess(ProcessRestController.java:257)"
27: " at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)"
28: " at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)"
29: " at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)"
30: " at java.lang.reflect.Method.invoke(Method.java:498)"
31: " at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)"
32: " at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133)"
33: " at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97)"
34: " at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)"
35: " at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)"
36: " at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)"
37: " at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:963)"
38: " at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:897)"
39: " at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)"
40: " at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861)"
41: " at javax.servlet.http.HttpServlet.service(HttpServlet.java:635)"
42: " at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)"
43: " at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)"
44: " at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)"
45: " at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)"
46: " at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)"
47: " at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)"
48: " at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)"
49: " at org.springframework.boot.web.filter.ApplicationContextHeaderFilter.doFilterInternal(ApplicationContextHeaderFilter.java:55)"
50: " at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)"
51: " at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)"
52: " at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)"
53: " at de.metas.ui.web.config.WebConfig$1.doFilter(WebConfig.java:82)"
54: " at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)"
55: " at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)"
56: " at de.metas.ui.web.config.ServletLoggingFilter.doFilter(ServletLoggingFilter.java:89)"
57: " at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)"
58: " at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)"
59: " at de.metas.ui.web.config.CORSFilter.doFilter(CORSFilter.java:79)"
60: " at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)"
61: " at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)"
62: " at org.springframework.boot.actuate.trace.WebRequestTraceFilter.doFilterInternal(WebRequestTraceFilter.java:110)"
63: " at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)"
64: " at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)"
65: " at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)"
66: " at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)"
67: " at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)"
68: " at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)"
69: " at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)"
70: " at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:105)"
71: " at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)"
72: " at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)"
73: " at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)"
74: " at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:81)"
75: " at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)"
76: " at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)"
77: " at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)"
78: " at org.springframework.session.web.http.SessionRepositoryFilter.doFilterInternal(SessionRepositoryFilter.java:167)"
79: " at org.springframework.session.web.http.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:80)"
80: " at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)"
81: " at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)"
82: " at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)"
83: " at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)"
84: " at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)"
85: " at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)"
86: " at org.springframework.boot.actuate.autoconfigure.MetricsFilter.doFilterInternal(MetricsFilter.java:106)"
87: " at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)"
88: " at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)"
89: " at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)"
90: " at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)"
91: " at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)"
92: " at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478)"
93: " at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)"
94: " at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80)"
95: " at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)"
96: " at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)"
97: " at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:799)"
98: " at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)"
99: " at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:861)"
[100 … 141]
100: " at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1455)"
101: " at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)"
102: " at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)"
103: " at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)"
104: " at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)"
105: " at java.lang.Thread.run(Thread.java:748)"
106: "Caused by: java.lang.IllegalArgumentException: Multiple entries with same key: ProductId(repoId=2001343)=BPartnerProductStats(repoId=1000002, bpartnerId=BPartnerId(repoId=2156425), productId=ProductId(repoId=2001343), lastShipmentDate=2019-03-16T23:59:59+01:00[Europe/Berlin], lastReceiptDate=null, lastSalesInvoice=null) and ProductId(repoId=2001343)=BPartnerProductStats(repoId=1000000, bpartnerId=BPartnerId(repoId=2156425), productId=ProductId(repoId=2001343), lastShipmentDate=2019-03-16T23:59:59+01:00[Europe/Berlin], lastReceiptDate=null, lastSalesInvoice=null)"
107: " at com.google.common.collect.ImmutableMap.checkNoConflict(ImmutableMap.java:186)"
108: " at com.google.common.collect.RegularImmutableMap.checkNoConflictInKeyBucket(RegularImmutableMap.java:102)"
109: " at com.google.common.collect.RegularImmutableMap.fromEntryArray(RegularImmutableMap.java:88)"
110: " at com.google.common.collect.ImmutableMap$Builder.build(ImmutableMap.java:359)"
111: " at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:503)"
112: " at de.metas.bpartner.product.stats.BPartnerProductStatsRepository.getByPartnerAndProducts(BPartnerProductStatsRepository.java:80)"
113: " at de.metas.bpartner.product.stats.BPartnerProductStatsRepository$$FastClassBySpringCGLIB$$1420cee9.invoke()"
114: " at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)"
115: " at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:738)"
116: " at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)"
117: " at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:136)"
118: " at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)"
119: " at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:673)"
120: " at de.metas.bpartner.product.stats.BPartnerProductStatsRepository$$EnhancerBySpringCGLIB$$29191ed1.getByPartnerAndProducts()"
121: " at de.metas.bpartner.product.stats.BPartnerProductStatsService.getByPartnerAndProducts(BPartnerProductStatsService.java:54)"
122: " at de.metas.ui.web.order.products_proposal.model.ProductsProposalRowsLoader.updateLastShipmentDays(ProductsProposalRowsLoader.java:219)"
123: " at de.metas.ui.web.order.products_proposal.model.ProductsProposalRowsLoader.load(ProductsProposalRowsLoader.java:115)"
124: " at de.metas.ui.web.order.products_proposal.view.ProductsProposalViewFactoryTemplate.loadRowsData(ProductsProposalViewFactoryTemplate.java:130)"
125: " at de.metas.ui.web.order.products_proposal.view.ProductsProposalViewFactoryTemplate.createView(ProductsProposalViewFactoryTemplate.java:116)"
126: " at de.metas.ui.web.order.products_proposal.view.ProductsProposalViewFactoryTemplate.createView(ProductsProposalViewFactoryTemplate.java:60)"
127: " at de.metas.ui.web.view.ViewsRepository.createView(ViewsRepository.java:257)"
128: " at sun.reflect.GeneratedMethodAccessor343.invoke(Unknown Source)"
129: " at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)"
130: " at java.lang.reflect.Method.invoke(Method.java:498)"
131: " at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)"
132: " at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)"
133: " at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)"
134: " at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:136)"
135: " at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)"
136: " at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)"
137: " at com.sun.proxy.$Proxy123.createView(Unknown Source)"
138: " at de.metas.ui.web.order.products_proposal.process.WEBUI_ProductsProposal_Launcher_Template.doIt(WEBUI_ProductsProposal_Launcher_Template.java:52)"
139: " at de.metas.process.JavaProcess.startProcess(JavaProcess.java:296)"
140: " ... 102 more"
141: ""
The text was updated successfully, but these errors were encountered: