ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacques Le Roux (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-9794) Unable to run the MRP
Date Wed, 27 Sep 2017 09:40:00 GMT

    [ https://issues.apache.org/jira/browse/OFBIZ-9794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16182247#comment-16182247
] 

Jacques Le Roux commented on OFBIZ-9794:
----------------------------------------

Ah! I need to dig enough because it now fails with

{code}
2017-09-27 11:28:16,515 |jsse-nio-8443-exec-7 |ServiceDispatcher             |T| [[ASync service
started...- total:0.0,since last(Begin):0.0]] - 'ecommerce / sendOrderConfirmation'
2017-09-27 11:28:16,540 |jsse-nio-8443-exec-7 |UtilObject                    |E| null
java.io.NotSerializableException: org.apache.ofbiz.widget.model.ModelTheme$ModelTemplate
{code}

and we have
{code}
@SuppressWarnings("serial")
public class ModelTheme implements Serializable {
{code}

So I also added
{code}
    @SuppressWarnings("serial")
    private class ModelTemplate implements Serializable {
{code}

And we have now
{code}
2017-09-27 11:37:15,272 |OFBiz-JobQueue-0     |ServiceDispatcher             |T| Sync service
[default/addSuggestionsToShoppingList] finished in [21] milliseconds
2017-09-27 11:37:15,316 |OFBiz-JobQueue-1     |ModelService                  |E| [ModelService.validate]
: {sendMailFromScreen} : (IN) Required test error: org.apache.ofbiz.service.ServiceValidationException:
 Unknown parameter found: [sendMailFromScreen.attachmentType]
2017-09-27 11:37:15,316 |OFBiz-JobQueue-1     |ServiceDispatcher             |E| Incoming
context (in runSync : sendMailFromScreen) does not match expected requirements
org.apache.ofbiz.service.ServiceValidationException: Unknown parameter found: [sendMailFromScreen.attachmentType]
{code}

Which is another thing for... later...

> Unable to run the MRP
> ---------------------
>
>                 Key: OFBIZ-9794
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9794
>             Project: OFBiz
>          Issue Type: Bug
>          Components: manufacturing
>    Affects Versions: Trunk
>            Reporter: Swapnil M Mane
>
> I am facing some Exception related to VisualTheme while running the MRP.
> https://demo-trunk.ofbiz.apache.org/manufacturing/control/RunMrp
> {code}
> [[ASync service failed...- total:0.012,since last(ASync service sta...):0.012]] - 'manufacturing
/ executeMrp'
> 2017-09-23 11:44:24,458 |jsse-nio-8443-exec-6 |ServiceDispatcher             |E| Service
[executeMrp] threw an unexpected exception/error
> org.apache.ofbiz.service.GenericServiceException: Problem serializing service attributes
(Cannot serialize object of class org.apache.ofbiz.widget.renderer.VisualTheme)
>         at org.apache.ofbiz.service.engine.GenericAsyncEngine.runAsync(GenericAsyncEngine.java:124)
~[ofbiz.jar:?]
>         at org.apache.ofbiz.service.engine.GenericAsyncEngine.runAsync(GenericAsyncEngine.java:70)
~[ofbiz.jar:?]
>         at org.apache.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:715)
[ofbiz.jar:?]
>         at org.apache.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:780)
[ofbiz.jar:?]
>         at org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runAsync(GenericDispatcherFactory.java:181)
[ofbiz.jar:?]
>         at org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runAsync(GenericDispatcherFactory.java:191)
[ofbiz.jar:?]
>         at org.apache.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:348)
[ofbiz.jar:?]
>         at org.apache.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:730)
[ofbiz.jar:?]
>         at org.apache.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:454)
[ofbiz.jar:?]
>         at org.apache.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:212)
[ofbiz.jar:?]
>         at org.apache.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:87)
[ofbiz.jar:?]
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) [javax.servlet-api-3.1.0.jar:3.1.0]
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [javax.servlet-api-3.1.0.jar:3.1.0]
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
[tomcat-catalina-8.5.16.jar:8.5.16]
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
[tomcat-catalina-8.5.16.jar:8.5.16]
>         at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat-embed-websocket-8.0.39.jar:8.0.39]
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
[tomcat-catalina-8.5.16.jar:8.5.16]
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
[tomcat-catalina-8.5.16.jar:8.5.16]
>         at org.apache.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:196)
[ofbiz.jar:?]
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
[tomcat-catalina-8.5.16.jar:8.5.16]
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
[tomcat-catalina-8.5.16.jar:8.5.16]
>         at org.apache.ofbiz.webapp.control.ControlFilter.doFilter(ControlFilter.java:157)
[ofbiz.jar:?]
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
[tomcat-catalina-8.5.16.jar:8.5.16]
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
[tomcat-catalina-8.5.16.jar:8.5.16]
>         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
[tomcat-catalina-8.5.16.jar:8.5.16]
>         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
[tomcat-catalina-8.5.16.jar:8.5.16]
>         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478)
[tomcat-catalina-8.5.16.jar:8.5.16]
>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
[tomcat-catalina-8.5.16.jar:8.5.16]
>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80)
[tomcat-catalina-8.5.16.jar:8.5.16]
>         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
[tomcat-catalina-8.5.16.jar:8.5.16]
>         at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:624)
[tomcat-catalina-8.5.16.jar:8.5.16]
>         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
[tomcat-catalina-8.5.16.jar:8.5.16]
>         at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:799)
[tomcat-coyote-8.5.16.jar:8.5.16]
>         at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
[tomcat-coyote-8.5.16.jar:8.5.16]
>         at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
[tomcat-coyote-8.5.16.jar:8.5.16]
>         at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1455)
[tomcat-coyote-8.5.16.jar:8.5.16]
>         at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
[tomcat-coyote-8.5.16.jar:8.5.16]
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[?:1.8.0_66]
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[?:1.8.0_66]
>         at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
[tomcat-util-8.5.16.jar:8.5.16]
>         at java.lang.Thread.run(Thread.java:745) [?:1.8.0_66]
> Caused by: org.apache.ofbiz.entity.serialize.SerializeException: Cannot serialize object
of class org.apache.ofbiz.widget.renderer.VisualTheme
>         at org.apache.ofbiz.entity.serialize.XmlSerializer.serializeCustom(XmlSerializer.java:273)
~[ofbiz.jar:?]
>         at org.apache.ofbiz.entity.serialize.XmlSerializer.serializeSingle(XmlSerializer.java:257)
~[ofbiz.jar:?]
>         at org.apache.ofbiz.entity.serialize.XmlSerializer.serializeSingle(XmlSerializer.java:252)
~[ofbiz.jar:?]
>         at org.apache.ofbiz.entity.serialize.XmlSerializer.serialize(XmlSerializer.java:78)
~[ofbiz.jar:?]
>         at org.apache.ofbiz.service.engine.GenericAsyncEngine.runAsync(GenericAsyncEngine.java:94)
~[ofbiz.jar:?]
>         ... 40 more
> 2017-09-23 11:44:24,460 |jsse-nio-8443-exec-6 |TransactionUtil               |I| Transaction
rolled back
> 2017-09-23 11:44:24,460 |jsse-nio-8443-exec-6 |TransactionUtil               |W| Not
committing transaction, status is No Transaction (6)
> 2017-09-23 11:44:24,460 |jsse-nio-8443-exec-6 |ServiceEventHandler           |E| Service
invocation error
> org.apache.ofbiz.service.GenericServiceException: Problem serializing service attributes
(Cannot serialize object of class org.apache.ofbiz.widget.renderer.VisualTheme)
>         at org.apache.ofbiz.service.engine.GenericAsyncEngine.runAsync(GenericAsyncEngine.java:124)
~[ofbiz.jar:?]
>         at org.apache.ofbiz.service.engine.GenericAsyncEngine.runAsync(GenericAsyncEngine.java:70)
~[ofbiz.jar:?]
>         at org.apache.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:715)
~[ofbiz.jar:?]
>         at org.apache.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:780)
~[ofbiz.jar:?]
>         at org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runAsync(GenericDispatcherFactory.java:181)
~[ofbiz.jar:?]
>         at org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runAsync(GenericDispatcherFactory.java:191)
~[ofbiz.jar:?]
>         at org.apache.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:348)
[ofbiz.jar:?]
>         at org.apache.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:730)
[ofbiz.jar:?]
>         at org.apache.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:454)
[ofbiz.jar:?]
>         at org.apache.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:212)
[ofbiz.jar:?]
>         at org.apache.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:87)
[ofbiz.jar:?]
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) [javax.servlet-api-3.1.0.jar:3.1.0]
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [javax.servlet-api-3.1.0.jar:3.1.0]
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
[tomcat-catalina-8.5.16.jar:8.5.16]
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
[tomcat-catalina-8.5.16.jar:8.5.16]
>         at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat-embed-websocket-8.0.39.jar:8.0.39]
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
[tomcat-catalina-8.5.16.jar:8.5.16]
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
[tomcat-catalina-8.5.16.jar:8.5.16]
>         at org.apache.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:196)
[ofbiz.jar:?]
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
[tomcat-catalina-8.5.16.jar:8.5.16]
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
[tomcat-catalina-8.5.16.jar:8.5.16]
>         at org.apache.ofbiz.webapp.control.ControlFilter.doFilter(ControlFilter.java:157)
[ofbiz.jar:?]
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
[tomcat-catalina-8.5.16.jar:8.5.16]
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
[tomcat-catalina-8.5.16.jar:8.5.16]
>         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
[tomcat-catalina-8.5.16.jar:8.5.16]
>         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
[tomcat-catalina-8.5.16.jar:8.5.16]
>         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478)
[tomcat-catalina-8.5.16.jar:8.5.16]
>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
[tomcat-catalina-8.5.16.jar:8.5.16]
>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80)
[tomcat-catalina-8.5.16.jar:8.5.16]
>         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
[tomcat-catalina-8.5.16.jar:8.5.16]
>         at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:624)
[tomcat-catalina-8.5.16.jar:8.5.16]
>         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
[tomcat-catalina-8.5.16.jar:8.5.16]
>         at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:799)
[tomcat-coyote-8.5.16.jar:8.5.16]
>         at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
[tomcat-coyote-8.5.16.jar:8.5.16]
>         at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
[tomcat-coyote-8.5.16.jar:8.5.16]
>         at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1455)
[tomcat-coyote-8.5.16.jar:8.5.16]
>         at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
[tomcat-coyote-8.5.16.jar:8.5.16]
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[?:1.8.0_66]
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[?:1.8.0_66]
>         at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
[tomcat-util-8.5.16.jar:8.5.16]
>         at java.lang.Thread.run(Thread.java:745) [?:1.8.0_66]
> Caused by: org.apache.ofbiz.entity.serialize.SerializeException: Cannot serialize object
of class org.apache.ofbiz.widget.renderer.VisualTheme
>         at org.apache.ofbiz.entity.serialize.XmlSerializer.serializeCustom(XmlSerializer.java:273)
~[ofbiz.jar:?]
>         at org.apache.ofbiz.entity.serialize.XmlSerializer.serializeSingle(XmlSerializer.java:257)
~[ofbiz.jar:?]
>         at org.apache.ofbiz.entity.serialize.XmlSerializer.serializeSingle(XmlSerializer.java:252)
~[ofbiz.jar:?]
>         at org.apache.ofbiz.entity.serialize.XmlSerializer.serialize(XmlSerializer.java:78)
~[ofbiz.jar:?]
>         at org.apache.ofbiz.service.engine.GenericAsyncEngine.runAsync(GenericAsyncEngine.java:94)
~[ofbiz.jar:?]
>         ... 40 more
> 2017-09-23 11:44:24,463 |jsse-nio-8443-exec-6 |RequestHandler                |E| Request
runMrpGo caused an error with the following message: Error calling event: org.apache.ofbiz.webapp.event.EventHandlerException:
Service invocation error (Cannot serialize object of class org.apache.ofbiz.widget.renderer.VisualTheme)
> 2017-09-23 11:44:24,463 |jsse-nio-8443-exec-6 |RequestHandler                |I| Rendering
View [MrpExecution].  Hidden sessionId by default.
> 2017-09-23 11:44:24,465 |jsse-nio-8443-exec-6 |ServiceDispatcher             |T| Sync
service [manufacturing/getUserPreferenceGroup] finished in [1] milliseconds
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message