Null characters are getting generated in execution0.log file in Test Suite Report due to which the report is not opening in Katalon

Hi Team,

I am getting below exception on opening report in katalon and there are null characters getting inserted in execution0.log just before html report is generated. Please let me know what is the fix for this. This report file is getting generated by Katalon Studio so this seems to be some bug.

Sat Dec 12 13:30:07 UTC 2020

javax.xml.stream.XMLStreamException: ParseError at [row,col]:[213018,1]

Message: An invalid XML character (Unicode: 0x0) was found in the element content of the document.

at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.next(XMLStreamReaderImpl.java:604)

I am also seeing this error occur with some frequency when I run the tests via Azure DevOps Pipeline - it causes the Katalon test suite execution to appear as never finished ini Katalon TestOps, and I am not able to see the results in Katalon TestOps. I have not seen this when executing tests on my local machine.

We are seeing the the same issue on 7.8.2.
We are running the pipeline using Jenkins towards Katalon Runtime Engine.

It was fine till recently we did the upgrade and since we use Junit report to upload the report to Enterprise but now we are seeing this exception on console logs and null characters in the report.

This is critical bug for us.

2 Likes

Hello guys,

I have the same problem. The null line still appears even after I updated the version of KRE to the last one - 7.9.1.
Until a fix will be delivered, have you found any temporary solution for this problem?

Same problem here, we are using KRE 7.7.0 and Katalon Studio 7.9.1.
Also the null line in a execution0.log-file and the parser-error in Katalon Studio
Have this something to do with the new “katalon-studio-report-plugin.jar” from 7.9.1?

1 Like

Hello KATALON-Team,
Any news about this topic?

The problem here occurs every day.

Hi All,

This issue is fixed in version 8.0.5. Please see the Release note for more details.

Thank you for your patience!

Shin