Test execution is failing on starting the test suite

hi,

I have downloaded KATALON 6.2.2 on my windows machine. I have a project set up in Katalon 6.1.2 which works but the same fails on the katalon 6.2.2.

Below is the log:
Failed to auto configure default logger context
Reported exception:
ch.qos.logback.core.joran.spi.JoranException: Parser configuration error occurred
at ch.qos.logback.core.joran.event.SaxEventRecorder.buildSaxParser(SaxEventRecorder.java:86)
at ch.qos.logback.core.joran.event.SaxEventRecorder.recordEvents(SaxEventRecorder.java:57)
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:128)
at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:107)
at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:295)
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:54)
at com.kms.katalon.core.main.TestCaseMain$beforeStart.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
at TempTestSuite1564669409977.run(TempTestSuite1564669409977.groovy:33)
at groovy.lang.GroovyShell.runScriptOrMainOrTestOrRunnable(GroovyShell.java:263)
at groovy.lang.GroovyShell.run(GroovyShell.java:507)
at groovy.lang.GroovyShell.run(GroovyShell.java:496)
at groovy.ui.GroovyMain.processOnce(GroovyMain.java:597)
at groovy.ui.GroovyMain.run(GroovyMain.java:329)
at groovy.ui.GroovyMain.process(GroovyMain.java:315)
at groovy.ui.GroovyMain.processArgs(GroovyMain.java:134)
at groovy.ui.GroovyMain.main(GroovyMain.java:114)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.codehaus.groovy.tools.GroovyStarter.rootLoader(GroovyStarter.java:116)
at org.codehaus.groovy.tools.GroovyStarter.main(GroovyStarter.java:138)
Caused by: java.lang.ClassCastException: org.apache.xerces.jaxp.SAXParserFactoryImpl cannot be cast to javax.xml.parsers.SAXParserFactory
at javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source)
at ch.qos.logback.core.joran.event.SaxEventRecorder.buildSaxParser(SaxEventRecorder.java:79)
… 33 more
19:53:33,424 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [C:\Users\mkarthik\Desktop\Katalon_Studio_Windows_64-6.2.2\configuration\org.eclipse.osgi\67\0.cp\resources\logback\logback-console.xml] at [file:/C:/Users/mkarthik/Desktop/Katalon_Studio_Windows_64-6.2.2/configuration/org.eclipse.osgi/67/0/.cp/resources/logback/logback-console.xml]
19:53:33,452 |-ERROR in ch.qos.logback.core.joran.event.SaxEventRecorder@23e84203 - Parser configuration error occurred java.lang.ClassCastException: org.apache.xerces.jaxp.SAXParserFactoryImpl cannot be cast to javax.xml.parsers.SAXParserFactory
at java.lang.ClassCastException: org.apache.xerces.jaxp.SAXParserFactoryImpl cannot be cast to javax.xml.parsers.SAXParserFactory
at at javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source)
at at ch.qos.logback.core.joran.event.SaxEventRecorder.buildSaxParser(SaxEventRecorder.java:79)
at at ch.qos.logback.core.joran.event.SaxEventRecorder.recordEvents(SaxEventRecorder.java:57)
at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:151)
at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:110)
at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:53)
at at ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java:75)
at at ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:150)
at at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:84)
at at org.slf4j.impl.StaticLoggerBinder.(StaticLoggerBinder.java:55)
at at org.slf4j.LoggerFactory.bind(LoggerFactory.java:128)
at at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:107)
at at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:295)
at at com.kms.katalon.core.main.LogbackConfigurator.overrideLogLevels(LogbackConfigurator.java:58)
at at com.kms.katalon.core.main.LogbackConfigurator.init(LogbackConfigurator.java:35)
at at com.kms.katalon.core.main.TestCaseMain.beforeStart(TestCaseMain.java:54)
at at com.kms.katalon.core.main.TestCaseMain$beforeStart.call(Unknown Source)
at at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
at at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
at at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
at at TempTestSuite1564669409977.run(TempTestSuite1564669409977.groovy:33)
at at groovy.lang.GroovyShell.runScriptOrMainOrTestOrRunnable(GroovyShell.java:263)
at at groovy.lang.GroovyShell.run(GroovyShell.java:507)
at at groovy.lang.GroovyShell.run(GroovyShell.java:496)
at at groovy.ui.GroovyMain.processOnce(GroovyMain.java:597)
at at groovy.ui.GroovyMain.run(GroovyMain.java:329)
at at groovy.ui.GroovyMain.process(GroovyMain.java:315)
at at groovy.ui.GroovyMain.processArgs(GroovyMain.java:134)
at at groovy.ui.GroovyMain.main(GroovyMain.java:114)
at at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at at java.lang.reflect.Method.invoke(Method.java:498)
at at org.codehaus.groovy.tools.GroovyStarter.rootLoader(GroovyStarter.java:116)
at at org.codehaus.groovy.tools.GroovyStarter.main(GroovyStarter.java:138)

SLF4J: The requested version 1.7.16 by your slf4j binding is not compatible with [1.6]
SLF4J: See http://www.slf4j.org/codes.html#version_mismatch for further details.
Warning: Caught exception attempting to use SAX to load a SAX XMLReader 
Warning: Exception was: java.lang.ClassCastException: org.apache.xerces.parsers.SAXParser cannot be cast to org.xml.sax.XMLReader
Warning: I will print the stack trace then carry on using the default SAX parser
java.lang.ClassCastException: org.apache.xerces.parsers.SAXParser cannot be cast to org.xml.sax.XMLReader
	at org.xml.sax.helpers.XMLReaderFactory.loadClass(Unknown Source)
	at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(Unknown Source)
	at org.dom4j.io.SAXHelper.createXMLReader(SAXHelper.java:83)
	at org.dom4j.io.SAXReader.createXMLReader(SAXReader.java:894)
	at org.dom4j.io.SAXReader.getXMLReader(SAXReader.java:715)
	at org.dom4j.io.SAXReader.read(SAXReader.java:435)
	at org.dom4j.io.SAXReader.read(SAXReader.java:264)
	at com.kms.katalon.core.testcase.TestCaseFactory.readTestCase(TestCaseFactory.java:79)
	at com.kms.katalon.core.testcase.TestCaseFactory.findTestCase(TestCaseFactory.java:70)
	at com.kms.katalon.core.main.TestCaseExecutor.<init>(TestCaseExecutor.java:88)
	at com.kms.katalon.core.main.TestCaseExecutor.<init>(TestCaseExecutor.java:97)
	at com.kms.katalon.core.main.TestSuiteExecutor.accessTestCaseMainPhase(TestSuiteExecutor.java:130)
	at com.kms.katalon.core.main.TestSuiteExecutor.accessTestSuiteMainPhase(TestSuiteExecutor.java:116)
	at com.kms.katalon.core.main.TestSuiteExecutor.execute(TestSuiteExecutor.java:83)
	at com.kms.katalon.core.main.TestCaseMain.startTestSuite(TestCaseMain.java:157)
	at com.kms.katalon.core.main.TestCaseMain$startTestSuite$0.call(Unknown Source)
	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:144)
	at TempTestSuite1564669409977.run(TempTestSuite1564669409977.groovy:35)
	at groovy.lang.GroovyShell.runScriptOrMainOrTestOrRunnable(GroovyShell.java:263)
	at groovy.lang.GroovyShell.run(GroovyShell.java:507)
	at groovy.lang.GroovyShell.run(GroovyShell.java:496)
	at groovy.ui.GroovyMain.processOnce(GroovyMain.java:597)
	at groovy.ui.GroovyMain.run(GroovyMain.java:329)
	at groovy.ui.GroovyMain.process(GroovyMain.java:315)
	at groovy.ui.GroovyMain.processArgs(GroovyMain.java:134)
	at groovy.ui.GroovyMain.main(GroovyMain.java:114)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.tools.GroovyStarter.rootLoader(GroovyStarter.java:116)
	at org.codehaus.groovy.tools.GroovyStarter.main(GroovyStarter.java:138)
Caught: java.lang.IllegalArgumentException: Cannot find test case 'Test Cases/LoginAndCreatePage'.
Reason:
'org.dom4j.DocumentException: SAX2 driver class org.apache.xerces.parsers.SAXParser does not implement XMLReader Nested exception: SAX2 driver class org.apache.xerces.parsers.SAXParser does not implement XMLReader'
java.lang.IllegalArgumentException: Cannot find test case 'Test Cases/LoginAndCreatePage'.
Reason:
'org.dom4j.DocumentException: SAX2 driver class org.apache.xerces.parsers.SAXParser does not implement XMLReader Nested exception: SAX2 driver class org.apache.xerces.parsers.SAXParser does not implement XMLReader'
	at com.kms.katalon.core.testcase.TestCaseFactory.readTestCase(TestCaseFactory.java:98)
	at com.kms.katalon.core.testcase.TestCaseFactory.findTestCase(TestCaseFactory.java:70)
	at com.kms.katalon.core.main.TestCaseExecutor.<init>(TestCaseExecutor.java:88)
	at com.kms.katalon.core.main.TestCaseExecutor.<init>(TestCaseExecutor.java:97)
	at com.kms.katalon.core.main.TestSuiteExecutor.accessTestCaseMainPhase(TestSuiteExecutor.java:130)
	at com.kms.katalon.core.main.TestSuiteExecutor.accessTestSuiteMainPhase(TestSuiteExecutor.java:116)
	at com.kms.katalon.core.main.TestSuiteExecutor.execute(TestSuiteExecutor.java:83)
	at com.kms.katalon.core.main.TestCaseMain.startTestSuite(TestCaseMain.java:157)
	at com.kms.katalon.core.main.TestCaseMain$startTestSuite$0.call(Unknown Source)
	at TempTestSuite1564669409977.run(TempTestSuite1564669409977.groovy:35)

Please suggest what needs to be done.

Thanks and regards,
Karthik

Hi,

I am facing the same issue
tried the thread below but nothing

if you added gradle with
dependencies {
// sample dependencies
// rest-assured
//compile ‘io.rest-assured:rest-assured:3.2.0’
// JsonPath
//compile ‘io.rest-assured:json-path:3.2.0’
// XmlPath
//compile ‘io.rest-assured:json-path:3.2.0’
// JSON Schema Validation
//compile ‘io.rest-assured:json-schema-validator:3.2.0’
}

then just uncomment it and figure out which versions you need
that worked for me

Yes, the same issue I also face. Just go through the given command I think it may work.
1.After the first run of an automated test run. Right-click on Project – Click on Refresh.
2.A folder will be generated named the “test-output” folder. Inside “test-output” folder, you could find “testng-failed.xml”
3.Run “testng-failed.xml” to execute the failed test cases again.
If you get exact answer then shared because I am also interested in Java and I also learn java from best training institute CETPA.