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

Jacques Le Roux closed OFBIZ-6794.
----------------------------------
       Resolution: Fixed
         Assignee: Jacques Le Roux
    Fix Version/s: Upcoming Branch

> Invalid content was found starting with element 'description'
> -------------------------------------------------------------
>
>                 Key: OFBIZ-6794
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6794
>             Project: OFBiz
>          Issue Type: Bug
>          Components: specialpurpose/ecommerce
>    Affects Versions: Trunk
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Minor
>             Fix For: Upcoming Branch
>
>
> While working on OFBIZ-6792 I stumbled upon this error in log.
> {code}
>      [java] Jan 11, 2016 7:25:26 AM org.apache.tomcat.util.digester.Digester 
> error
>      [java] SEVERE: Parse Error at line 79 column 22: cvc-complex-type.2.4.a: 
> Invalid content was found starting with element 'description'. One of 
> '{"http://java.sun.com/xml/ns/javaee":servlet-class, "http:/
> /java.sun.com/xml/ns/javaee":jsp-file, 
> "http://java.sun.com/xml/ns/javaee":init-param, 
> "http://java.sun.com/xml/ns/javaee":load-on-startup, 
> "http://java.sun.com/xml/ns/javaee":enabled, "http://java.sun.com/xm
> l/ns/javaee":async-supported, "http://java.sun.com/xml/ns/javaee":run-as, 
> "http://java.sun.com/xml/ns/javaee":security-role-ref, 
> "http://java.sun.com/xml/ns/javaee":multipart-config}' is expected.
>      [java] org.xml.sax.SAXParseException; lineNumber: 79; columnNumber: 22; 
> cvc-complex-type.2.4.a: Invalid content was found starting with element 
> 'description'. One of '{"http://java.sun.com/xml/ns/javaee";
> :servlet-class, "http://java.sun.com/xml/ns/javaee":jsp-file, 
> "http://java.sun.com/xml/ns/javaee":init-param, 
> "http://java.sun.com/xml/ns/javaee":load-on-startup, 
> "http://java.sun.com/xml/ns/javaee":enabled,
> "http://java.sun.com/xml/ns/javaee":async-supported, 
> "http://java.sun.com/xml/ns/javaee":run-as, 
> "http://java.sun.com/xml/ns/javaee":security-role-ref, 
> "http://java.sun.com/xml/ns/javaee":multipart-config}' i
> s expected.
>      [java]     at 
> org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown 
> Source)
>      [java]     at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown 
> Source)
>      [java]     at 
> org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
>      [java]     at 
> org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
>      [java]     at 
> org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
>      [java]     at 
> org.apache.xerces.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(Unknown
>  Source)
>      [java]     at 
> org.apache.xerces.impl.xs.XMLSchemaValidator.reportSchemaError(Unknown Source)
>      [java]     at 
> org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(Unknown 
> Source)
>      [java]     at 
> org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown Source)
>      [java]     at 
> org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown 
> Source)
>      [java]     at 
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
>  Source)
>      [java]     at 
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
> Source)
>      [java]     at org.apache.xerces.parsers.XML11Configuration.parse(Unknown 
> Source)
>      [java]     at org.apache.xerces.parsers.XML11Configuration.parse(Unknown 
> Source)
>      [java]     at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>      [java]     at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown 
> Source)
>      [java]     at 
> org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
>      [java]     at 
> org.apache.tomcat.util.digester.Digester.parse(Digester.java:1555)
>      [java]     at 
> org.ofbiz.webapp.WebAppUtil.parseWebXmlFile(WebAppUtil.java:160)
>      [java]     at org.ofbiz.webapp.WebAppUtil.getWebXml(WebAppUtil.java:131)
>      [java]     at 
> org.ofbiz.webapp.WebAppUtil.getWebSiteId(WebAppUtil.java:117)
>      [java]     at 
> org.ofbiz.webapp.WebAppUtil.getWebappInfoFromWebsiteId(WebAppUtil.java:100)
>      [java]     at 
> org.ofbiz.common.email.NotificationServices.setBaseUrl(NotificationServices.java:257)
>      [java]     at 
> org.ofbiz.common.email.EmailServices.sendMailFromScreen(EmailServices.java:457)
>      [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>      [java]     at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>      [java]     at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>      [java]     at java.lang.reflect.Method.invoke(Method.java:497)
>      [java]     at 
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:100)
>      [java]     at 
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57)
>      [java]     at 
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:395)
>      [java]     at 
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:227)
>      [java]     at 
> org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:88)
>      [java]     at 
> org.ofbiz.order.order.OrderServices.sendOrderNotificationScreen(OrderServices.java:2714)
>      [java]     at 
> org.ofbiz.order.order.OrderServices.sendOrderConfirmNotification(OrderServices.java:2558)
>      [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>      [java]     at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>      [java]     at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>      [java]     at java.lang.reflect.Method.invoke(Method.java:497)
>      [java]     at 
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:100)
>      [java]     at 
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57)
>      [java]     at 
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:395)
>      [java]     at 
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:227)
>      [java]     at 
> org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:88)
>      [java]     at 
> org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:69)
>      [java]     at org.ofbiz.service.job.AbstractJob.run(AbstractJob.java:87)
>      [java]     at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>      [java]     at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>      [java]     at java.lang.Thread.run(Thread.java:745)
>      [java]
>      [java] 2016-01-11 07:25:26,687 |http-bio-8443-exec-1 |ServiceDispatcher  
>            |T| Sync service [ecommerce/getVisualThemeResources] finished in 
> [1] milliseconds
>      [java] 2016-01-11 07:25:26,712 |http-bio-8443-exec-1 |ScreenFactory      
>            |I| Got 8 screens in 0.01s from: 
> file:/C:/projectASF-Mars/ofbiz/specialpurpose/ecommerce/widget/CartScreens.xml
>      [java] 2016-01-11 07:25:26,752 |http-bio-8443-exec-1 |ShoppingCart       
>            |I| Returned new PaymentInfo - Pm: 9015 / PmType: CREDIT_CARD / 
> Amt: null / Ref: null!null
>      [java] 2016-01-11 07:25:26,770 |http-bio-8443-exec-1 |ServerHitBin       
>            |I| Visit delegatorName=default, ServerHitBin delegatorName=default
>      [java] 2016-01-11 07:25:26,780 |http-bio-8443-exec-1 |ControlServlet     
>            |T| [[[updateCheckoutOptions(Domain:https://localhost)] Request 
> Done- total:0.853,since last([updateCheckoutOp...):0.85
> 3]]
>      [java] Jan 11, 2016 7:25:26 AM org.apache.tomcat.util.digester.Digester 
> error
>      [java] SEVERE: Parse Error at line 18 column 10: cvc-elt.1: Cannot find 
> the declaration of element 'web-app'.
>      [java] org.xml.sax.SAXParseException; lineNumber: 18; columnNumber: 10; 
> cvc-elt.1: Cannot find the declaration of element 'web-app'.
>      [java]     at 
> org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown 
> Source)
>      [java]     at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown 
> Source)
>      [java]     at 
> org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
>      [java]     at 
> org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
>      [java]     at 
> org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
>      [java]     at 
> org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(Unknown 
> Source)
>      [java]     at 
> org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown Source)
>      [java]     at 
> org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElementAfterName(Unknown
>  Source)
>      [java]     at 
> org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown
>  Source)
>      [java]     at 
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
>  Source)
>      [java]     at 
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
> Source)
>      [java]     at org.apache.xerces.parsers.XML11Configuration.parse(Unknown 
> Source)
>      [java]     at org.apache.xerces.parsers.XML11Configuration.parse(Unknown 
> Source)
>      [java]     at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>      [java]     at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown 
> Source)
>      [java]     at 
> org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
>      [java]     at 
> org.apache.tomcat.util.digester.Digester.parse(Digester.java:1555)
>      [java]     at 
> org.ofbiz.webapp.WebAppUtil.parseWebXmlFile(WebAppUtil.java:160)
>      [java]     at org.ofbiz.webapp.WebAppUtil.getWebXml(WebAppUtil.java:131)
>      [java]     at 
> org.ofbiz.webapp.WebAppUtil.getWebSiteId(WebAppUtil.java:117)
>      [java]     at 
> org.ofbiz.webapp.WebAppUtil.getWebappInfoFromWebsiteId(WebAppUtil.java:100)
>      [java]     at 
> org.ofbiz.common.email.NotificationServices.setBaseUrl(NotificationServices.java:257)
>      [java]     at 
> org.ofbiz.common.email.EmailServices.sendMailFromScreen(EmailServices.java:457)
>      [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>      [java]     at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>      [java]     at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>      [java]     at java.lang.reflect.Method.invoke(Method.java:497)
>      [java]     at 
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:100)
>      [java]     at 
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57)
>      [java]     at 
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:395)
>      [java]     at 
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:227)
>      [java]     at 
> org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:88)
>      [java]     at 
> org.ofbiz.order.order.OrderServices.sendOrderNotificationScreen(OrderServices.java:2714)
>      [java]     at 
> org.ofbiz.order.order.OrderServices.sendOrderConfirmNotification(OrderServices.java:2558)
>      [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>      [java]     at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>      [java]     at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>      [java]     at java.lang.reflect.Method.invoke(Method.java:497)
>      [java]     at 
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:100)
>      [java]     at 
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57)
>      [java]     at 
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:395)
>      [java]     at 
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:227)
>      [java]     at 
> org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:88)
>      [java]     at 
> org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:69)
>      [java]     at org.ofbiz.service.job.AbstractJob.run(AbstractJob.java:87)
>      [java]     at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>      [java]     at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>      [java]     at java.lang.Thread.run(Thread.java:745)
> {code}
> I have no ideas why this appears, it seems to have no side effects, but 
> that's also unsure :/



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to