Hello,
I am trying to receive a shipment and get the following error: 2007-06-11 12:16:02,097 (http-0.0.0.0-8444-Processor3) [ UtilXml.java:649:ERROR] XmlFileLoader: File file:/paradiso/ofbiz/demo/framework/common/script/org/ofbiz/common/CommonServices.xml process error. Line: 139. Error message: cvc-enumeration-valid: Value '${uomConversion.roundingMode}' is not facet-valid with respect to enumeration '[Ceiling, Floor, Up, Down, HalfUp, HalfDown, HalfEven, Unnecessary]'. It must be a value from the enumeration. 2007-06-11 12:16:02,098 (http-0.0.0.0-8444-Processor3) [ UtilXml.java:649:ERROR] XmlFileLoader: File file:/paradiso/ofbiz/demo/framework/common/script/org/ofbiz/common/CommonServices.xml process error. Line: 139. Error message: cvc-attribute.3: The value '${uomConversion.roundingMode}' of attribute 'rounding-mode' on element 'calculate' is not valid with respect to its type, 'null'. I think this is because the product I am trying to receive does not have an UOM quantity specified. What is the UOM I should use for a product counted in units? I did not find any suitable one in the list. Regards, -- Daniel |
That is just a parsing error and shouldn't have an effect on operation. It is because we have an enumerated list in the XSD (which we want to keep there) but we have a variable insertion in the file that isn't a literal value in the enumeration. -David Daniel Martínez wrote: > Hello, > > I am trying to receive a shipment and get the following error: > > 2007-06-11 12:16:02,097 (http-0.0.0.0-8444-Processor3) [ > UtilXml.java:649:ERROR] XmlFileLoader: File > file:/paradiso/ofbiz/demo/framework/common/script/org/ofbiz/common/CommonServices.xml > process error. Line: 139. Error message: cvc-enumeration-valid: Value > '${uomConversion.roundingMode}' is not facet-valid with respect to > enumeration '[Ceiling, Floor, Up, Down, HalfUp, HalfDown, HalfEven, > Unnecessary]'. It must be a value from the enumeration. > 2007-06-11 12:16:02,098 (http-0.0.0.0-8444-Processor3) [ > UtilXml.java:649:ERROR] XmlFileLoader: File > file:/paradiso/ofbiz/demo/framework/common/script/org/ofbiz/common/CommonServices.xml > process error. Line: 139. Error message: cvc-attribute.3: The value > '${uomConversion.roundingMode}' of attribute 'rounding-mode' on element > 'calculate' is not valid with respect to its type, 'null'. > > I think this is because the product I am trying to receive does not have > an UOM quantity specified. What is the UOM I should use for a product > counted in units? I did not find any suitable one in the list. > > Regards, > -- > Daniel |
Thanks David,
I paste a bigger error than the other one. This error occurs from the shipment screen, either on "Receive Inventory" or "Receive against PO" --------------- 2007-06-11 12:14:59,489 (http-0.0.0.0-8444-Processor3) [ UtilXml.java:649:ERROR] XmlFileLoader: File file:/paradiso/ofbiz/demo/framework/common/script/org/ofbiz/common/CommonServices.xml process error. Line: 139. Error message: cvc-enumeration-valid: Value '${uomConversion.roundingMode}' is not facet-valid with respect to enumeration '[Ceiling, Floor, Up, Down, HalfUp, HalfDown, HalfEven, Unnecessary]'. It must be a value from the enumeration. 2007-06-11 12:14:59,490 (http-0.0.0.0-8444-Processor3) [ UtilXml.java:649:ERROR] XmlFileLoader: File file:/paradiso/ofbiz/demo/framework/common/script/org/ofbiz/common/CommonServices.xml process error. Line: 139. Error message: cvc-attribute.3: The value '${uomConversion.roundingMode}' of attribute 'rounding-mode' on element 'calculate' is not valid with respect to its type, 'null'. 2007-06-11 12:14:59,559 (http-0.0.0.0-8444-Processor3) [FlexibleStringExpander.java:355:WARN ] Could not find value in environment for the name [uomConversion.conversionFactor], inserting nothing. 2007-06-11 12:14:59,586 (http-0.0.0.0-8444-Processor3) [ TransactionUtil.java:291:WARN ] ---- exception report ---------------------------------------------------------- [TransactionUtil.setRollbackOnly] Calling transaction setRollbackOnly; this stack trace shows where this is happening: Exception: java.lang.Exception Message: Error in simple-method [Convert UOM values [file:/paradiso/ofbiz/demo/framework/common/script/org/ofbiz/common/CommonServices.xml#convertUom]]: ; [UOM Conversion Relationship Not Found] ---- stack trace --------------------------------------------------------------- java.lang.Exception: Error in simple-method [Convert UOM values [file:/paradiso/ofbiz/demo/framework/common/script/org/ofbiz/common/CommonServices.xml#convertUom]]: ; [UOM Conversion Relationship Not Found] org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:291) org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:238) org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:699) org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:105) ----------------------------- Regards, -- Daniel David E Jones escribió: > > That is just a parsing error and shouldn't have an effect on > operation. It is because we have an enumerated list in the XSD (which > we want to keep there) but we have a variable insertion in the file > that isn't a literal value in the enumeration. > > -David > > > Daniel Martínez wrote: >> Hello, >> >> I am trying to receive a shipment and get the following error: >> >> 2007-06-11 12:16:02,097 (http-0.0.0.0-8444-Processor3) [ >> UtilXml.java:649:ERROR] XmlFileLoader: File >> file:/paradiso/ofbiz/demo/framework/common/script/org/ofbiz/common/CommonServices.xml >> >> process error. Line: 139. Error message: cvc-enumeration-valid: Value >> '${uomConversion.roundingMode}' is not facet-valid with respect to >> enumeration '[Ceiling, Floor, Up, Down, HalfUp, HalfDown, HalfEven, >> Unnecessary]'. It must be a value from the enumeration. >> 2007-06-11 12:16:02,098 (http-0.0.0.0-8444-Processor3) [ >> UtilXml.java:649:ERROR] XmlFileLoader: File >> file:/paradiso/ofbiz/demo/framework/common/script/org/ofbiz/common/CommonServices.xml >> >> process error. Line: 139. Error message: cvc-attribute.3: The value >> '${uomConversion.roundingMode}' of attribute 'rounding-mode' on element >> 'calculate' is not valid with respect to its type, 'null'. >> >> I think this is because the product I am trying to receive does not have >> an UOM quantity specified. What is the UOM I should use for a product >> counted in units? I did not find any suitable one in the list. >> >> Regards, >> -- >> Daniel -- ------------------------------------------------------------------------ Soluciones de Gestión para su empresa eBusiness, ERP, CRM ------------------------------------------------------------------------ *Daniel Martínez Martínez* * * Gerente C/ Julia García Boután, 29 D 3ºB 28022 Madrid España * * E-mail: [hidden email] <mailto:[hidden email]> Web: *www.paradisosistemas.es <http://www.paradisosistemas.es> *Comercial: [hidden email] <mailto:[hidden email]> Tel: 678416758 |
Free forum by Nabble | Edit this page |