ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pierre Smits (Jira)" <j...@apache.org>
Subject [jira] [Reopened] (OFBIZ-10948) Convert DimensionServices.xml minilang to groovy
Date Sat, 21 Mar 2020 14:08:00 GMT

     [ https://issues.apache.org/jira/browse/OFBIZ-10948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Pierre Smits reopened OFBIZ-10948:
----------------------------------

[~jleroux]

Your recent fix in https://github.com/apache/ofbiz-plugins/commit/350571deaadef1cecc837ad6688d9cdedd630887#diff-e9cd26f324532e93b4b0dec5717a5350
did not fix the issue.

Will you take care of this?


{code:java}
2020-03-21 14:03:07,630 |27.0.0.1-8009-exec-2 |ServiceDispatcher |T| [[Sync service failed...-
total:0.0,since last(Begin):0.0]] - 'bi / loadCurrencyDimension'
2020-03-21 14:03:07,630 |27.0.0.1-8009-exec-2 |TransactionUtil |W| Calling transaction setRollbackOnly;
this stack trace shows where this is happening:
java.lang.Exception: Service [loadCurrencyDimension] threw an unexpected exception/error
at org.apache.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:358)
[main/:?]
at org.apache.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:292)
[main/:?]
at org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:540) [main/:?]
at org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:240) [main/:?]
at org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:88)
[main/:?]
at org.apache.ofbiz.service.LocalDispatcher$runSync$0.call(Unknown Source) [main/:?]
at org.apache.ofbiz.service.engine.GroovyBaseScript.runService(GroovyBaseScript.groovy:48)
[main/:?]
at sun.reflect.GeneratedMethodAccessor492.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_242]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_242]
at org.codehaus.groovy.runtime.callsite.PlainObjectMetaMethodSite.doInvoke(PlainObjectMetaMethodSite.java:43)
[groovy-2.5.8.jar:2.5.8]
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:167)
[groovy-2.5.8.jar:2.5.8]
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:58)
[groovy-2.5.8.jar:2.5.8]
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:176)
[groovy-2.5.8.jar:2.5.8]
at org.apache.ofbiz.service.engine.GroovyBaseScript.run(GroovyBaseScript.groovy:56) [main/:?]
at org.apache.ofbiz.service.engine.GroovyBaseScript$run$1.callCurrent(Unknown Source) [main/:?]
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:51)
[groovy-2.5.8.jar:2.5.8]
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:156)
[groovy-2.5.8.jar:2.5.8]
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:168)
[groovy-2.5.8.jar:2.5.8]
at DimensionServices.quickInitDataWarehouse(DimensionServices.groovy:33) [script:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_242]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_242]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_242]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_242]
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:101) [groovy-2.5.8.jar:2.5.8]
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323) [groovy-2.5.8.jar:2.5.8]
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1217) [groovy-2.5.8.jar:2.5.8]
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) [groovy-2.5.8.jar:2.5.8]
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:821) [groovy-2.5.8.jar:2.5.8]
at groovy.lang.GroovyObjectSupport.invokeMethod(GroovyObjectSupport.java:44) [groovy-2.5.8.jar:2.5.8]
at groovy.lang.Script.invokeMethod(Script.java:77) [groovy-2.5.8.jar:2.5.8]
at org.apache.ofbiz.service.engine.GroovyEngine.runSync(GroovyEngine.java:110) [main/:?]
at org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:417) [main/:?]
at org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:240) [main/:?]
at org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:88)
[main/:?]
at org.apache.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:253)
[main/:?]
at org.apache.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:756) [main/:?]
at org.apache.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:477) [main/:?]
at org.apache.ofbiz.webapp.control.ControlServlet.handle(ControlServlet.java:232) [main/:?]
at org.apache.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:81) [main/:?]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) [tomcat-servlet-api-9.0.31.jar:?]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) [tomcat-servlet-api-9.0.31.jar:?]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
[tomcat-catalina-9.0.31.jar:9.0.31]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
[tomcat-catalina-9.0.31.jar:9.0.31]
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) [tomcat-embed-websocket-9.0.27.jar:9.0.27]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
[tomcat-catalina-9.0.31.jar:9.0.31]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
[tomcat-catalina-9.0.31.jar:9.0.31]
at org.apache.ofbiz.webapp.control.SameSiteFilter.doFilter(SameSiteFilter.java:40) [main/:?]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
[tomcat-catalina-9.0.31.jar:9.0.31]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
[tomcat-catalina-9.0.31.jar:9.0.31]
at org.apache.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:187) [main/:?]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
[tomcat-catalina-9.0.31.jar:9.0.31]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
[tomcat-catalina-9.0.31.jar:9.0.31]
at org.apache.ofbiz.webapp.control.ControlFilter.doFilter(ControlFilter.java:156) [main/:?]
at javax.servlet.http.HttpFilter.doFilter(HttpFilter.java:52) [tomcat-servlet-api-9.0.31.jar:?]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
[tomcat-catalina-9.0.31.jar:9.0.31]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
[tomcat-catalina-9.0.31.jar:9.0.31]
at org.apache.logging.log4j.web.Log4jServletFilter.doFilter(Log4jServletFilter.java:71) [log4j-web-2.11.2.jar:2.11.2]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
[tomcat-catalina-9.0.31.jar:9.0.31]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
[tomcat-catalina-9.0.31.jar:9.0.31]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) [tomcat-catalina-9.0.31.jar:9.0.31]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) [tomcat-catalina-9.0.31.jar:9.0.31]
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)
[tomcat-catalina-9.0.31.jar:9.0.31]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) [tomcat-catalina-9.0.31.jar:9.0.31]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) [tomcat-catalina-9.0.31.jar:9.0.31]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) [tomcat-catalina-9.0.31.jar:9.0.31]
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:688)
[tomcat-catalina-9.0.31.jar:9.0.31]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) [tomcat-catalina-9.0.31.jar:9.0.31]
at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:415) [tomcat-coyote-9.0.31.jar:9.0.31]
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) [tomcat-coyote-9.0.31.jar:9.0.31]
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
[tomcat-coyote-9.0.31.jar:9.0.31]
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1639) [tomcat-coyote-9.0.31.jar:9.0.31]
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-coyote-9.0.31.jar:9.0.31]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_242]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_242]
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util-9.0.31.jar:9.0.31]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_242]
2020-03-21 14:03:07,632 |27.0.0.1-8009-exec-2 |ServiceDispatcher |T| [[Sync service failed...-
total:0.0,since last(Begin):0.0]] - 'bi / quickInitDataWarehouse'
{code}


> Convert DimensionServices.xml minilang to groovy
> ------------------------------------------------
>
>                 Key: OFBIZ-10948
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10948
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: bi
>    Affects Versions: Trunk
>            Reporter: Pierre Smits
>            Assignee: Pierre Smits
>            Priority: Major
>              Labels: Minilang, dimension, dwh, groovy,, services
>             Fix For: Upcoming Branch
>
>         Attachments: OFBIZ-10948-updated.patch, OFBIZ-10948.patch
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> With the purpose to deprecate mini-lang OFBIZ-9350,  convert DimensionServices.xml



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message