Forum Discussion

Srikanth9864's avatar
Srikanth9864
New Member
51 minutes ago

TestComplete Support Plugin Compatibility Issue

Environment.
- TestComplete Support Jenkins Plugin version: 2.10
- Jenkins version: 2.555.1
- Java version: 21.0.7

 

This are Console logs generated once the build is completed.

[TestComplete] Test runner exit code: 0.

[TestComplete] [WARNING] Unable to publish test results (xml data is empty)

The TestComplete plugin throws a ClassNotFoundException for 
javax.xml.bind.DatatypeConverter when running on Java 21. 
This causes all TestComplete jobs to fail.

java.lang.ClassNotFoundException: javax.xml.bind.DatatypeConverter
    at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445)
Caused: java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter
    at PluginClassLoader for TestComplete//com.smartbear.jenkins.plugins.testcomplete.parser.LogNodeUtils.startTimeToTimestamp(LogNodeUtils.java:425)
    at PluginClassLoader for TestComplete//com.smartbear.jenkins.plugins.testcomplete.parser.LogParser2.convertSummaryToXML(LogParser2.java:216)
    at PluginClassLoader for TestComplete//com.smartbear.jenkins.plugins.testcomplete.parser.LogParser2.parse(LogParser2.java:278)

In the attached screen we are unable to view Graph and Test complete test results as previously.

No RepliesBe the first to reply