You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "sergio kosik (JIRA)" <ji...@apache.org> on 2012/10/14 16:33:03 UTC

[jira] [Reopened] (OFBIZ-5047) Import/export

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

sergio kosik reopened OFBIZ-5047:
---------------------------------


I reproduced All above mentioned by You steps and at this time I catch the HTTP error with status of 404.(page not found).

Note that I am an Ubuntu Linux user.

backTrace was:

*****************************************************************************
     [java] 2012-10-14 17:07:27,351 (OFBiz-JobQueue-1) [            UtilXml.java:1062:ERROR] XmlFileLoader: File file:/mnt/dataStorage/install/apache/ofbiz/trunks/7_10_2012/trunk/applications/order/script/org/ofbiz/order/order/OrderServices.xml process error. Line: 530. Error message: cvc-pattern-valid: Value 'orderSequence-enforced' is not facet-valid with respect to pattern '[a-zA-Z_]{1}[a-zA-Z0-9_$.]+' for type 'javaClassName'.
     [java] 2012-10-14 17:07:27,365 (OFBiz-JobQueue-1) [            UtilXml.java:1062:ERROR] XmlFileLoader: File file:/mnt/dataStorage/install/apache/ofbiz/trunks/7_10_2012/trunk/applications/order/script/org/ofbiz/order/order/OrderServices.xml process error. Line: 530. Error message: cvc-attribute.3: The value 'orderSequence-enforced' of attribute 'method-name' on element 'simple-method' is not valid with respect to its type, 'javaClassName'.

                
> Import/export
> -------------
>
>                 Key: OFBIZ-5047
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5047
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: Release Branch 12.04
>         Environment: ubuntu 12_4, ofBIZ_12_4
>            Reporter: sergio kosik
>            Assignee: Jacques Le Roux
>         Attachments: ofbiz_result_screen.png, start_screen.png
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> I just check out code from SVN,
> - invoked <ant load-demo> command and  
> - just tried invoke Import/export functionality from backoffice page
> The Faield :ERROR MESSAGE: was result:
> https://localhost:8443/webtools/control/xmldsdump
> org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://webtools/widget/EntityScreens.xml#xmldsdump]: java.lang.IllegalArgumentException: Error running script at location [component://webtools/webapp/webtools/WEB-INF/actions/entity/XmlDsDump.groovy]: javax.script.ScriptException: org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object '[null]' with class 'java.util.ArrayList' to class 'java.util.TreeSet' due to: java.lang.NullPointerException (Error running script at location [component://webtools/webapp/webtools/WEB-INF/actions/entity/XmlDsDump.groovy]: javax.script.ScriptException: org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object '[null]' with class 'java.util.ArrayList' to class 'java.util.TreeSet' due to: java.lang.NullPointerException)
> ---- stack trace ---------------------------------------------------------------
> java.lang.IllegalArgumentException: Error running script at location [component://webtools/webapp/webtools/WEB-INF/actions/entity/XmlDsDump.groovy]: javax.script.ScriptException: org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object '[null]' with class 'java.util.ArrayList' to class 'java.util.TreeSet' due to: java.lang.NullPointerException
> org.ofbiz.base.util.ScriptUtil.executeScript(ScriptUtil.java:348)
> org.ofbiz.base.util.ScriptUtil.executeScript(ScriptUtil.java:324)
> org.ofbiz.widget.ModelWidgetAction$Script.runAction(ModelWidgetAction.java:416)
> org.ofbiz.widget.ModelWidgetAction.runSubActions(ModelWidgetAction.java:116)
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:184)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:396)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
> org.ofbiz.widget.screen.MacroScreenViewHandler.render(MacroScreenViewHandler.java:104)
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:864)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:581)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:224)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:337)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> java.lang.Thread.run(Thread.java:722)
> ----------------------------------------------------------------------------
> I will check it for 11_x release soon

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira