Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when opening Picking Terminal prototype #5400

Closed
metas-dh opened this issue Jul 24, 2019 · 0 comments

Comments

@metas-dh
Copy link
Member

commented Jul 24, 2019

Is this a bug or feature request?

Bug

What is the current behavior?

When opening Picking Terminal prototype, you get

{timestamp: "2019-07-24T10:57:25.744+02:00[Europe/Berlin]", status: 500,…}
error: "Internal Server Error"
exception: "java.lang.ClassCastException"
message: "de.metas.ui.web.window.datatypes.LookupValue$IntegerLookupValue cannot be cast to de.metas.ui.web.window.datatypes.json.JSONLookupValue"
path: "/rest//api/documentView/540345/540345-By"
status: 500
timestamp: "2019-07-24T10:57:25.744+02:00[Europe/Berlin]"
trace: [,…]
0: "java.lang.ClassCastException: de.metas.ui.web.window.datatypes.LookupValue$IntegerLookupValue cannot be cast to de.metas.ui.web.window.datatypes.json.JSONLookupValue"
1: "    at de.metas.ui.web.picking.PickingTerminalByWarehouseAndProductViewCustomizer.createProductOrBPartnerFieldValue(PickingTerminalByWarehouseAndProductViewCustomizer.java:133)"
2: "    at de.metas.ui.web.picking.PickingTerminalByWarehouseAndProductViewCustomizer.customizeViewRow(PickingTerminalByWarehouseAndProductViewCustomizer.java:124)"
3: "    at de.metas.ui.web.view.SqlViewDataRepository.loadViewRow(SqlViewDataRepository.java:362)"
4: "    at de.metas.ui.web.view.SqlViewDataRepository.loadViewRows(SqlViewDataRepository.java:276)"
5: "    at de.metas.ui.web.view.SqlViewDataRepository.retrievePage(SqlViewDataRepository.java:510)"
6: "    at de.metas.ui.web.view.DefaultView.getPage(DefaultView.java:377)"
7: "    at de.metas.ui.web.view.ViewRestController.getViewData(ViewRestController.java:244)"
8: "    at sun.reflect.GeneratedMethodAccessor243.invoke(Unknown Source)"
9: "    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)"
10: "   at java.lang.reflect.Method.invoke(Method.java:498)"
11: "   at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)"
12: "   at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133)"
13: "   at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97)"
14: "   at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)"
15: "   at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)"
16: "   at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)"
17: "   at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:963)"
18: "   at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:897)"
19: "   at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)"
20: "   at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861)"
21: "   at javax.servlet.http.HttpServlet.service(HttpServlet.java:635)"
22: "   at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)"
23: "   at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)"
24: "   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)"
25: "   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)"
26: "   at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)"
27: "   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)"
28: "   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)"
29: "   at org.springframework.boot.web.filter.ApplicationContextHeaderFilter.doFilterInternal(ApplicationContextHeaderFilter.java:55)"
30: "   at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)"
31: "   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)"
32: "   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)"
33: "   at de.metas.ui.web.config.WebConfig$1.doFilter(WebConfig.java:82)"
34: "   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)"
35: "   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)"
36: "   at de.metas.ui.web.config.ServletLoggingFilter.doFilter(ServletLoggingFilter.java:89)"
37: "   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)"
38: "   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)"
39: "   at de.metas.ui.web.config.CORSFilter.doFilter(CORSFilter.java:79)"
40: "   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)"
41: "   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)"
42: "   at org.springframework.boot.actuate.trace.WebRequestTraceFilter.doFilterInternal(WebRequestTraceFilter.java:110)"
43: "   at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)"
44: "   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)"
45: "   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)"
46: "   at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)"
47: "   at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)"
48: "   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)"
49: "   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)"
50: "   at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:105)"
51: "   at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)"
52: "   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)"
53: "   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)"
54: "   at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:81)"
55: "   at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)"
56: "   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)"
57: "   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)"
58: "   at org.springframework.session.web.http.SessionRepositoryFilter.doFilterInternal(SessionRepositoryFilter.java:167)"
59: "   at org.springframework.session.web.http.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:80)"
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.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)"
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.boot.actuate.autoconfigure.MetricsFilter.doFilterInternal(MetricsFilter.java:106)"
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.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)"
71: "   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)"
72: "   at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478)"
73: "   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)"
74: "   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80)"
75: "   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)"
76: "   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)"
77: "   at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:799)"
78: "   at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)"
79: "   at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:861)"
80: "   at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1455)"
81: "   at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)"
82: "   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)"
83: "   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)"
84: "   at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)"
85: "   at java.lang.Thread.run(Thread.java:748)"
86: ""

Which are the steps to reproduce?

Try and see.

What is the expected or desired behavior?

No error, shall work.

@metas-dh metas-dh added the bug label Jul 24, 2019

teosarca added a commit to metasfresh/metasfresh-webui-api that referenced this issue Jul 24, 2019

metas-ts added a commit to metasfresh/metasfresh-webui-api that referenced this issue Jul 24, 2019

@metas-ts metas-ts added type:bug branch:release and removed bug labels Jul 28, 2019

@metas-ts metas-ts closed this Jul 28, 2019

metas-ts added a commit that referenced this issue Jul 28, 2019

update ReleaseNotes.md
  * [#5041](#5041) Implement Paypal Plus support
  * [#5392](#5392) Discount Rows new action "copy to discount schema" for selected rows
  * [#5405](#5405) New Subtab in Product for Campaign prices

  * [#108](metasfresh/metasfresh-e2e#108) Create purchase order with orderline, complete / reactivate / complete again
  * [#155](metasfresh/metasfresh-e2e#155) Create purchase order with orderline, complete / reactivate / change qties and price in orderline / complete again
  * [#211](metasfresh/metasfresh-e2e#211) Create Empties Returns
  * [#212](metasfresh/metasfresh-e2e#212) Reactivate and change Empties Return
  * [#230](metasfresh/metasfresh-e2e#230) Create new Tour and Tourversion
  * [#232](metasfresh/metasfresh-e2e#232) Create Delivery Days

  * [#5400](#5400) Error when opening Picking Terminal prototype
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.