Katalon 8.5.5(Error when executing Test case)

Upgraded to version 8.5.5 and when executing test case getting below error
Caught: java.lang.IncompatibleClassChangeError: Class org.apache.xerces.parsers.AbstractSAXParser$LocatorProxy does not implement the requested interface org.xml.sax.Locator.
Any suggestions?

Hi,

Let me see if I can support. Get back to you soon

Can you help provide us full execution log? This can be the problem with external libraries you add in.

Hi Elly,
Thanks for reply. Below are the logs.
Caught: java.lang.IncompatibleClassChangeError: Class org.apache.xerces.parsers.AbstractSAXParser$LocatorProxy does not implement the requested interface org.xml.sax.Locator
java.lang.IncompatibleClassChangeError: Class org.apache.xerces.parsers.AbstractSAXParser$LocatorProxy does not implement the requested interface org.xml.sax.Locator
at org.xml.sax.helpers.LocatorImpl.(Unknown Source)
at ch.qos.logback.core.joran.event.SaxEvent.(SaxEvent.java:31)
at ch.qos.logback.core.joran.event.StartEvent.(StartEvent.java:27)
at ch.qos.logback.core.joran.event.SaxEventRecorder.startElement(SaxEventRecorder.java:106)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
at ch.qos.logback.core.joran.event.SaxEventRecorder.recordEvents(SaxEventRecorder.java:59)
at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:151)
at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:110)
at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:53)
at ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java:75)
at ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:150)
at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:84)
at org.slf4j.impl.StaticLoggerBinder.(StaticLoggerBinder.java:55)
at org.slf4j.LoggerFactory.bind(LoggerFactory.java:150)
at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:124)
at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:412)
at com.kms.katalon.core.main.LogbackConfigurator.overrideLogLevels(LogbackConfigurator.java:58)
at com.kms.katalon.core.main.LogbackConfigurator.init(LogbackConfigurator.java:35)
at com.kms.katalon.core.main.TestCaseMain.beforeStart(TestCaseMain.java:53)
at com.kms.katalon.core.main.TestCaseMain$beforeStart.call(Unknown Source)
at TempTestCase1673877583213.run(TempTestCase1673877583213.groovy:23)

@saghirwasim

Could you show us the list of jar files in the Drivers folder and Plugins folder under your project’s root folder?

I guess you have some “fat” jar in these folder. It contains an old version of org.apache.xerces.** packages, which confused Katalon Studio. Possibly you have to identify this naughty jar and get rid of the version inconsistency.

1 Like