[jira] [Updated] (OFBIZ-9305) change debug.properties property value cause ofbiz can't start
[ https://issues.apache.org/jira/browse/OFBIZ-9305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux updated OFBIZ-9305: --- Description: change apache-ofbiz-16.11.01\framework\base\config\debug.properties print.verbose=false to print.verbose=true restart ofbiz with command line:gradlew.bat ofbiz get error happend; {code} org.apache.ofbiz.base.util.UtilCodecTests > testCheckStringForHtmlStrictNone STANDARD_OUT 11:07:31.743 [Test worker] ERROR org.apache.ofbiz.base.util.UtilCodec - Canonicalization (format consistency, character escaping that is mixed or double, etc) error for attribute named [double-encoding], String [%2%353Cscript]: org.apache.ofbiz.base.util.UtilCodec$IntrusionException: Input validation failure org.apache.ofbiz.entity.util.EntitySaxReaderTests > parse STANDARD_OUT 11:07:42.509 [Test worker] ERROR org.apache.ofbiz.entity.util.EntitySaxReader - An error occurred saving the data, rolling back transaction (true) java.lang.NullPointerException at org.apache.ofbiz.entity.util.EntitySaxReader.endElement(EntitySaxReader.java:404) ~[main/:?] at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) ~[xercesImpl-2.9.1.jar:?] at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) ~[xercesImpl-2.9.1.jar:?] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source) ~[xercesImpl-2.9.1.jar:?] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) ~[xercesImpl-2.9.1.jar:?] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) ~[xercesImpl-2.9.1.jar:?] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) ~[xercesImpl-2.9.1.jar:?] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) ~[xercesImpl-2.9.1.jar:?] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) ~[xercesImpl-2.9.1.jar:?] at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) ~[xercesImpl-2.9.1.jar:?] at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) ~[xercesImpl-2.9.1.jar:?] at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source) ~[xercesImpl-2.9.1.jar:?] at javax.xml.parsers.SAXParser.parse(SAXParser.java:195) ~[?:1.8.0_121] at org.apache.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:225) [main/:?] at org.apache.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:186) [main/:?] at org.apache.ofbiz.entity.util.EntitySaxReaderTests.parse(EntitySaxReaderTests.java:62) [test/:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_121] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_121] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_121] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_121] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45) [junit-dep-4.10.jar:?] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) [junit-dep-4.10.jar:?] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42) [junit-dep-4.10.jar:?] at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) [junit-dep-4.10.jar:?] at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263) [junit-dep-4.10.jar:?] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68) [junit-dep-4.10.jar:?] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47) [junit-dep-4.10.jar:?] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231) [junit-dep-4.10.jar:?] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60) [junit-dep-4.10.jar:?] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229) [junit-dep-4.10.jar:?] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50) [junit-dep-4.10.jar:?] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222) [junit-dep-4.10.jar:?] at org.junit.runners.ParentRunner.run(ParentRunner.java:300) [junit-dep-4.10.jar:?] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:112) [gradle-testing-jvm-2.13.jar:2.13] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.execute(JUnitTestClassExecuter.java:56) [gradle-testing-jvm-2.13.jar:2.13] at
[jira] [Updated] (OFBIZ-9305) change debug.properties property value cause ofbiz can't start
[ https://issues.apache.org/jira/browse/OFBIZ-9305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] William Wang updated OFBIZ-9305: Summary: change debug.properties property value cause ofbiz can't start (was: change debug.properties property vaue cause ofbiz can't start) > change debug.properties property value cause ofbiz can't start > -- > > Key: OFBIZ-9305 > URL: https://issues.apache.org/jira/browse/OFBIZ-9305 > Project: OFBiz > Issue Type: Bug > Components: ALL APPLICATIONS >Affects Versions: 16.11.01 > Environment: windows 10 x64. >Reporter: William Wang > Attachments: > TEST-org.apache.ofbiz.entity.util.EntitySaxReaderTests.xml > > > change apache-ofbiz-16.11.01\framework\base\config\debug.properties > print.verbose=false to print.verbose=true > restart ofbiz with command line:gradlew.bat ofbiz get error happend; > org.apache.ofbiz.base.util.UtilCodecTests > testCheckStringForHtmlStrictNone > STANDARD_OUT > 11:07:31.743 [Test worker] ERROR org.apache.ofbiz.base.util.UtilCodec - > Canonicalization (format consistency, character escaping that is mixed or > double, etc) error for attribute named [double-encoding], String > [%2%353Cscript]: org.apache.ofbiz.base.util.UtilCodec$IntrusionException: > Input validation failure > org.apache.ofbiz.entity.util.EntitySaxReaderTests > parse STANDARD_OUT > 11:07:42.509 [Test worker] ERROR > org.apache.ofbiz.entity.util.EntitySaxReader - An error occurred saving the > data, rolling back transaction (true) > java.lang.NullPointerException > at > org.apache.ofbiz.entity.util.EntitySaxReader.endElement(EntitySaxReader.java:404) > ~[main/:?] > at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown > Source) ~[xercesImpl-2.9.1.jar:?] > at > org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown > Source) ~[xercesImpl-2.9.1.jar:?] > at > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown > Source) ~[xercesImpl-2.9.1.jar:?] > at > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown > Source) ~[xercesImpl-2.9.1.jar:?] > at > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown > Source) ~[xercesImpl-2.9.1.jar:?] > at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) > ~[xercesImpl-2.9.1.jar:?] > at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) > ~[xercesImpl-2.9.1.jar:?] > at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) > ~[xercesImpl-2.9.1.jar:?] > at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) > ~[xercesImpl-2.9.1.jar:?] > at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown > Source) ~[xercesImpl-2.9.1.jar:?] > at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source) > ~[xercesImpl-2.9.1.jar:?] > at javax.xml.parsers.SAXParser.parse(SAXParser.java:195) > ~[?:1.8.0_121] > at > org.apache.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:225) > [main/:?] > at > org.apache.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:186) > [main/:?] > at > org.apache.ofbiz.entity.util.EntitySaxReaderTests.parse(EntitySaxReaderTests.java:62) > [test/:?] > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > ~[?:1.8.0_121] > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > ~[?:1.8.0_121] > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > ~[?:1.8.0_121] > at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_121] > at > org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45) > [junit-dep-4.10.jar:?] > at > org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) > [junit-dep-4.10.jar:?] > at > org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42) > [junit-dep-4.10.jar:?] > at > org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) > [junit-dep-4.10.jar:?] > at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263) > [junit-dep-4.10.jar:?] > at > org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68) > [junit-dep-4.10.jar:?] > at > org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47) > [junit-dep-4.10.jar:?] > at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231) > [junit-dep-4.10.jar:?] > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60) >
[jira] [Updated] (OFBIZ-9305) change debug.properties property vaue cause ofbiz can't start
[ https://issues.apache.org/jira/browse/OFBIZ-9305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] William Wang updated OFBIZ-9305: Environment: windows 10 x64. (was: windows 10 x86.) > change debug.properties property vaue cause ofbiz can't start > - > > Key: OFBIZ-9305 > URL: https://issues.apache.org/jira/browse/OFBIZ-9305 > Project: OFBiz > Issue Type: Bug > Components: ALL APPLICATIONS >Affects Versions: 16.11.01 > Environment: windows 10 x64. >Reporter: William Wang > Attachments: > TEST-org.apache.ofbiz.entity.util.EntitySaxReaderTests.xml > > > change apache-ofbiz-16.11.01\framework\base\config\debug.properties > print.verbose=false to print.verbose=true > restart ofbiz with command line:gradlew.bat ofbiz get error happend; > org.apache.ofbiz.base.util.UtilCodecTests > testCheckStringForHtmlStrictNone > STANDARD_OUT > 11:07:31.743 [Test worker] ERROR org.apache.ofbiz.base.util.UtilCodec - > Canonicalization (format consistency, character escaping that is mixed or > double, etc) error for attribute named [double-encoding], String > [%2%353Cscript]: org.apache.ofbiz.base.util.UtilCodec$IntrusionException: > Input validation failure > org.apache.ofbiz.entity.util.EntitySaxReaderTests > parse STANDARD_OUT > 11:07:42.509 [Test worker] ERROR > org.apache.ofbiz.entity.util.EntitySaxReader - An error occurred saving the > data, rolling back transaction (true) > java.lang.NullPointerException > at > org.apache.ofbiz.entity.util.EntitySaxReader.endElement(EntitySaxReader.java:404) > ~[main/:?] > at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown > Source) ~[xercesImpl-2.9.1.jar:?] > at > org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown > Source) ~[xercesImpl-2.9.1.jar:?] > at > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown > Source) ~[xercesImpl-2.9.1.jar:?] > at > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown > Source) ~[xercesImpl-2.9.1.jar:?] > at > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown > Source) ~[xercesImpl-2.9.1.jar:?] > at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) > ~[xercesImpl-2.9.1.jar:?] > at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) > ~[xercesImpl-2.9.1.jar:?] > at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) > ~[xercesImpl-2.9.1.jar:?] > at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) > ~[xercesImpl-2.9.1.jar:?] > at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown > Source) ~[xercesImpl-2.9.1.jar:?] > at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source) > ~[xercesImpl-2.9.1.jar:?] > at javax.xml.parsers.SAXParser.parse(SAXParser.java:195) > ~[?:1.8.0_121] > at > org.apache.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:225) > [main/:?] > at > org.apache.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:186) > [main/:?] > at > org.apache.ofbiz.entity.util.EntitySaxReaderTests.parse(EntitySaxReaderTests.java:62) > [test/:?] > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > ~[?:1.8.0_121] > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > ~[?:1.8.0_121] > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > ~[?:1.8.0_121] > at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_121] > at > org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45) > [junit-dep-4.10.jar:?] > at > org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) > [junit-dep-4.10.jar:?] > at > org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42) > [junit-dep-4.10.jar:?] > at > org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) > [junit-dep-4.10.jar:?] > at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263) > [junit-dep-4.10.jar:?] > at > org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68) > [junit-dep-4.10.jar:?] > at > org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47) > [junit-dep-4.10.jar:?] > at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231) > [junit-dep-4.10.jar:?] > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60) > [junit-dep-4.10.jar:?] > at
[jira] [Updated] (OFBIZ-9305) change debug.properties property vaue cause ofbiz can't start
[ https://issues.apache.org/jira/browse/OFBIZ-9305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] William Wang updated OFBIZ-9305: Attachment: TEST-org.apache.ofbiz.entity.util.EntitySaxReaderTests.xml ERROR report file > change debug.properties property vaue cause ofbiz can't start > - > > Key: OFBIZ-9305 > URL: https://issues.apache.org/jira/browse/OFBIZ-9305 > Project: OFBiz > Issue Type: Bug > Components: ALL APPLICATIONS >Affects Versions: 16.11.01 > Environment: windows 10 x86. >Reporter: William Wang > Attachments: > TEST-org.apache.ofbiz.entity.util.EntitySaxReaderTests.xml > > > change apache-ofbiz-16.11.01\framework\base\config\debug.properties > print.verbose=false to print.verbose=true > restart ofbiz with command line:gradlew.bat ofbiz get error happend; > org.apache.ofbiz.base.util.UtilCodecTests > testCheckStringForHtmlStrictNone > STANDARD_OUT > 11:07:31.743 [Test worker] ERROR org.apache.ofbiz.base.util.UtilCodec - > Canonicalization (format consistency, character escaping that is mixed or > double, etc) error for attribute named [double-encoding], String > [%2%353Cscript]: org.apache.ofbiz.base.util.UtilCodec$IntrusionException: > Input validation failure > org.apache.ofbiz.entity.util.EntitySaxReaderTests > parse STANDARD_OUT > 11:07:42.509 [Test worker] ERROR > org.apache.ofbiz.entity.util.EntitySaxReader - An error occurred saving the > data, rolling back transaction (true) > java.lang.NullPointerException > at > org.apache.ofbiz.entity.util.EntitySaxReader.endElement(EntitySaxReader.java:404) > ~[main/:?] > at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown > Source) ~[xercesImpl-2.9.1.jar:?] > at > org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown > Source) ~[xercesImpl-2.9.1.jar:?] > at > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown > Source) ~[xercesImpl-2.9.1.jar:?] > at > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown > Source) ~[xercesImpl-2.9.1.jar:?] > at > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown > Source) ~[xercesImpl-2.9.1.jar:?] > at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) > ~[xercesImpl-2.9.1.jar:?] > at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) > ~[xercesImpl-2.9.1.jar:?] > at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) > ~[xercesImpl-2.9.1.jar:?] > at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) > ~[xercesImpl-2.9.1.jar:?] > at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown > Source) ~[xercesImpl-2.9.1.jar:?] > at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source) > ~[xercesImpl-2.9.1.jar:?] > at javax.xml.parsers.SAXParser.parse(SAXParser.java:195) > ~[?:1.8.0_121] > at > org.apache.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:225) > [main/:?] > at > org.apache.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:186) > [main/:?] > at > org.apache.ofbiz.entity.util.EntitySaxReaderTests.parse(EntitySaxReaderTests.java:62) > [test/:?] > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > ~[?:1.8.0_121] > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > ~[?:1.8.0_121] > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > ~[?:1.8.0_121] > at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_121] > at > org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45) > [junit-dep-4.10.jar:?] > at > org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) > [junit-dep-4.10.jar:?] > at > org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42) > [junit-dep-4.10.jar:?] > at > org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) > [junit-dep-4.10.jar:?] > at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263) > [junit-dep-4.10.jar:?] > at > org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68) > [junit-dep-4.10.jar:?] > at > org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47) > [junit-dep-4.10.jar:?] > at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231) > [junit-dep-4.10.jar:?] > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60) > [junit-dep-4.10.jar:?] > at
[jira] [Created] (OFBIZ-9305) change debug.properties property vaue cause ofbiz can't start
William Wang created OFBIZ-9305: --- Summary: change debug.properties property vaue cause ofbiz can't start Key: OFBIZ-9305 URL: https://issues.apache.org/jira/browse/OFBIZ-9305 Project: OFBiz Issue Type: Bug Components: ALL APPLICATIONS Affects Versions: 16.11.01 Environment: windows 10 x86. Reporter: William Wang change apache-ofbiz-16.11.01\framework\base\config\debug.properties print.verbose=false to print.verbose=true restart ofbiz with command line:gradlew.bat ofbiz get error happend; org.apache.ofbiz.base.util.UtilCodecTests > testCheckStringForHtmlStrictNone STANDARD_OUT 11:07:31.743 [Test worker] ERROR org.apache.ofbiz.base.util.UtilCodec - Canonicalization (format consistency, character escaping that is mixed or double, etc) error for attribute named [double-encoding], String [%2%353Cscript]: org.apache.ofbiz.base.util.UtilCodec$IntrusionException: Input validation failure org.apache.ofbiz.entity.util.EntitySaxReaderTests > parse STANDARD_OUT 11:07:42.509 [Test worker] ERROR org.apache.ofbiz.entity.util.EntitySaxReader - An error occurred saving the data, rolling back transaction (true) java.lang.NullPointerException at org.apache.ofbiz.entity.util.EntitySaxReader.endElement(EntitySaxReader.java:404) ~[main/:?] at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) ~[xercesImpl-2.9.1.jar:?] at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) ~[xercesImpl-2.9.1.jar:?] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source) ~[xercesImpl-2.9.1.jar:?] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) ~[xercesImpl-2.9.1.jar:?] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) ~[xercesImpl-2.9.1.jar:?] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) ~[xercesImpl-2.9.1.jar:?] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) ~[xercesImpl-2.9.1.jar:?] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) ~[xercesImpl-2.9.1.jar:?] at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) ~[xercesImpl-2.9.1.jar:?] at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) ~[xercesImpl-2.9.1.jar:?] at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source) ~[xercesImpl-2.9.1.jar:?] at javax.xml.parsers.SAXParser.parse(SAXParser.java:195) ~[?:1.8.0_121] at org.apache.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:225) [main/:?] at org.apache.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:186) [main/:?] at org.apache.ofbiz.entity.util.EntitySaxReaderTests.parse(EntitySaxReaderTests.java:62) [test/:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_121] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_121] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_121] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_121] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45) [junit-dep-4.10.jar:?] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) [junit-dep-4.10.jar:?] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42) [junit-dep-4.10.jar:?] at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) [junit-dep-4.10.jar:?] at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263) [junit-dep-4.10.jar:?] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68) [junit-dep-4.10.jar:?] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47) [junit-dep-4.10.jar:?] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231) [junit-dep-4.10.jar:?] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60) [junit-dep-4.10.jar:?] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229) [junit-dep-4.10.jar:?] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50) [junit-dep-4.10.jar:?] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222) [junit-dep-4.10.jar:?] at org.junit.runners.ParentRunner.run(ParentRunner.java:300) [junit-dep-4.10.jar:?] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:112) [gradle-testing-jvm-2.13.jar:2.13] at
[jira] [Updated] (OFBIZ-9304) refactor lists related to globalGlAccounts in accounting
[ https://issues.apache.org/jira/browse/OFBIZ-9304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pierre Smits updated OFBIZ-9304: Attachment: OFBIZ-9304-accounting-GlobalGlAccounts.patch This patch addresses the issue. > refactor lists related to globalGlAccounts in accounting > > > Key: OFBIZ-9304 > URL: https://issues.apache.org/jira/browse/OFBIZ-9304 > Project: OFBiz > Issue Type: Improvement > Components: accounting >Affects Versions: Trunk >Reporter: Pierre Smits >Assignee: Pierre Smits > Labels: refactoring, widget > Attachments: OFBIZ-9304-accounting-GlobalGlAccounts.patch > > > Refactor various list forms into grids. > Refactor various list form references in screen widgets. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Comment Edited] (OFBIZ-9303) Remove hard-coded success/error message variables set in service output
[ https://issues.apache.org/jira/browse/OFBIZ-9303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15957129#comment-15957129 ] Michael Brohl edited comment on OFBIZ-9303 at 4/5/17 4:16 PM: -- Thanks for the initative, [~devanshu.vyas]! was (Author: mbrohl): Thanks for the initative, Devanshu! > Remove hard-coded success/error message variables set in service output > > > Key: OFBIZ-9303 > URL: https://issues.apache.org/jira/browse/OFBIZ-9303 > Project: OFBiz > Issue Type: Improvement > Components: ALL COMPONENTS >Affects Versions: Trunk >Reporter: Devanshu Vyas >Priority: Minor > > I found that certain services in OFBiz set error/success message values in o > hard-codedly like: > {code} > result.put("errorMessage", errMsg); > result.put("successMessage", message); > {code} > I think it shouldn't be set like this, as we have constants in ModelService > class for this purpose. > ModelService.ERROR_MESSAGE/ModelService.SUCCESS_MESSAGE should be used to set > the error and success messages, for in case we want to change the constant's > value, no services will be affected. > {code} > result.put(ModelService.ERROR_MESSAGE, errMsg); > result.put(ModelService.SUCCESS_MESSAGE, errMsg); > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (OFBIZ-9303) Remove hard-coded success/error message variables set in service output
[ https://issues.apache.org/jira/browse/OFBIZ-9303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15957129#comment-15957129 ] Michael Brohl commented on OFBIZ-9303: -- Thanks for the initative, Devanshu! > Remove hard-coded success/error message variables set in service output > > > Key: OFBIZ-9303 > URL: https://issues.apache.org/jira/browse/OFBIZ-9303 > Project: OFBiz > Issue Type: Improvement > Components: ALL COMPONENTS >Affects Versions: Trunk >Reporter: Devanshu Vyas >Priority: Minor > > I found that certain services in OFBiz set error/success message values in o > hard-codedly like: > {code} > result.put("errorMessage", errMsg); > result.put("successMessage", message); > {code} > I think it shouldn't be set like this, as we have constants in ModelService > class for this purpose. > ModelService.ERROR_MESSAGE/ModelService.SUCCESS_MESSAGE should be used to set > the error and success messages, for in case we want to change the constant's > value, no services will be affected. > {code} > result.put(ModelService.ERROR_MESSAGE, errMsg); > result.put(ModelService.SUCCESS_MESSAGE, errMsg); > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Created] (OFBIZ-9303) Remove hard-coded success/error message variables set in service output
Devanshu Vyas created OFBIZ-9303: Summary: Remove hard-coded success/error message variables set in service output Key: OFBIZ-9303 URL: https://issues.apache.org/jira/browse/OFBIZ-9303 Project: OFBiz Issue Type: Improvement Components: ALL COMPONENTS Affects Versions: Trunk Reporter: Devanshu Vyas Priority: Minor I found that certain services in OFBiz set error/success message values in o hard-codedly like: {code} result.put("errorMessage", errMsg); result.put("successMessage", message); {code} I think it shouldn't be set like this, as we have constants in ModelService class for this purpose. ModelService.ERROR_MESSAGE/ModelService.SUCCESS_MESSAGE should be used to set the error and success messages, for in case we want to change the constant's value, no services will be affected. {code} result.put(ModelService.ERROR_MESSAGE, errMsg); result.put(ModelService.SUCCESS_MESSAGE, errMsg); {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)