You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when so many errors occured in the junitTests it will generate a result named junit-report.xml with error as follows:
Caused by: org.dom4j.DocumentException: Error on line 493 of document file:///////junit-report.xml : XML document structures must start and end within the same entity. Nested exception: XML document structures must start and end within the same entity.
at org.dom4j.io.SAXReader.read(SAXReader.java:482)
at org.dom4j.io.SAXReader.read(SAXReader.java:264)
at hudson.tasks.junit.SuiteResult.parse(SuiteResult.java:88)
at hudson.tasks.junit.TestResult.parse(TestResult.java:187)
the file content is:
without match end tag
The text was updated successfully, but these errors were encountered:
The error message says the problem is on line 493, but you have only included the first line? Note that the prolog does not have a matching end tag. However, everything else needs to be balanced for it to be valid XML. Do you see any errors in the logs when you run the tests? One possibility is a native crash in the code under test, which takes out the whole process and leaves the runner unable to complete the XML. It's also possible there was an exception in the running itself that caused the problem, but without more details I couldn't say.
when so many errors occured in the junitTests it will generate a result named junit-report.xml with error as follows:
Caused by: org.dom4j.DocumentException: Error on line 493 of document file:///////junit-report.xml : XML document structures must start and end within the same entity. Nested exception: XML document structures must start and end within the same entity.
at org.dom4j.io.SAXReader.read(SAXReader.java:482)
at org.dom4j.io.SAXReader.read(SAXReader.java:264)
at hudson.tasks.junit.SuiteResult.parse(SuiteResult.java:88)
at hudson.tasks.junit.TestResult.parse(TestResult.java:187)
the file content is:
without match end tag
The text was updated successfully, but these errors were encountered: