Not able to export TestSuite report to HTML


#1

KS 6.1.5
export


#2

!ENTRY org.eclipse.core.jobs 4 2 2019-05-15 23:03:46.349
!MESSAGE An internal error occurred during: “Export test suite report”.
!STACK 0
java.io.IOException: com.ctc.wstx.exc.WstxParsingException: (was java.io.FileNotFoundException) C:\KatalonStudio\Katalon6.1.5\logger.dtd (Määritettyä tiedostoa ei löydy)
at [row,col {unknown-source}]: [2,34]
at com.kms.katalon.core.reporting.plugin.KatalonExportReportProvider.exportTestSuite(KatalonExportReportProvider.java:97)
at com.kms.katalon.core.reporting.ExportReportProvider$exportTestSuite$0.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:149)
at Script1.run(Script1.groovy:1)
at groovy.lang.GroovyShell.evaluate(GroovyShell.java:585)
at groovy.lang.GroovyShell.evaluate(GroovyShell.java:623)
at groovy.lang.GroovyShell.evaluate(GroovyShell.java:594)
at com.kms.katalon.composer.report.platform.ExportReportProviderReflection.exportTestSuite(ExportReportProviderReflection.java:65)
at com.kms.katalon.composer.report.handlers.ExportTestSuiteReportHandler$1.run(ExportTestSuiteReportHandler.java:78)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: com.ctc.wstx.exc.WstxParsingException: (was java.io.FileNotFoundException) C:\KatalonStudio\Katalon6.1.5\logger.dtd (Määritettyä tiedostoa ei löydy)
at [row,col {unknown-source}]: [2,34]
at com.ctc.wstx.sr.StreamScanner.constructWfcException(StreamScanner.java:621)
at com.ctc.wstx.sr.StreamScanner.throwParseError(StreamScanner.java:491)
at com.ctc.wstx.sr.ValidatingStreamReader.findDtdExtSubset(ValidatingStreamReader.java:464)
at com.ctc.wstx.sr.ValidatingStreamReader.finishDTD(ValidatingStreamReader.java:326)
at com.ctc.wstx.sr.BasicStreamReader.skipToken(BasicStreamReader.java:3458)
at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2074)
at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1181)
at com.kms.katalon.core.logging.TestSuiteXMLLogParser.processFile(TestSuiteXMLLogParser.java:85)
at com.kms.katalon.core.logging.TestSuiteXMLLogParser.readTestSuiteLogFromXMLFiles(TestSuiteXMLLogParser.java:62)
at com.kms.katalon.core.reporting.ReportWriterUtil.generate(ReportWriterUtil.java:390)
at com.kms.katalon.core.reporting.ReportWriterUtil.generate(ReportWriterUtil.java:395)
at com.kms.katalon.core.reporting.plugin.KatalonExportReportProvider.exportTestSuite(KatalonExportReportProvider.java:64)
at com.kms.katalon.core.reporting.ExportReportProvider$exportTestSuite$0.call(Unknown Source)
at Script1.run(Script1.groovy:1)
… 3 more
Warning: NLS unused message: MENU_CONTEXT_WEBSERVICE_REQ_POSTMAN in: com.kms.katalon.composer.webservice.constants.composerWebserviceMessages


#3

plugin installed

reinstall


#4

@Timo_Kuisma please send me file zip of report folder (right click at report on KS -> open containing folder)
Tks,


#5

20190515_221921.7z (1.1 KB)


#6

please attach folder have execution0.log. If you want the information security please send it via message


#7

execution0.7z (7.5 KB)


#8

In this case, please copy Katalon Studio into another disk, then using katalon and export to HTML file


#9

not able to do that,

i have only C in my pc

this is not my issue, you have to resolve that :slight_smile:


#10

HI @Timo_Kuisma2,

Please move Katalon folder is out of root C:// folder, you can put it in User, Document or Desktop folder.

Thanks.


#11

hi,

I did what you suggested but still the issue pesists

2019-05-17 17:46:30.380 INFO c.k.katalon.core.main.TestCaseExecutor - END Test Cases/Spam/spam
2019-05-17 17:46:32.164 WARN com.kms.katalon.core.util.KeywordUtil - com.ctc.wstx.exc.WstxParsingException: (was java.io.FileNotFoundException) C:\Users\fitim\KatalonStudio\KatalonProject\logger.dtd (Määritettyä tiedostoa ei löydy)
at [row,col {unknown-source}]: [2,34]

please tell me why I am facing this issue?


#12

Please move Katalon binary folder, not your Katalon project.


#13

hello,

and now KS crashed
katalon_crashed.txt (140.2 KB)


#14

I removed bin folder now Katalon project not load

after indexing process nothing happened


#15

NPE issue

!ENTRY org.eclipse.e4.ui.workbench 4 0 2019-05-17 18:05:05.511
!MESSAGE
!STACK 0
java.lang.NullPointerException
at com.kms.katalon.controller.FolderController.getFolderByDisplayId(FolderController.java:192)
at com.kms.katalon.composer.components.impl.util.TreeEntityUtil.getExpandedTreeEntitiesFromIds(TreeEntityUtil.java:328)
at com.kms.katalon.composer.project.handlers.ProjectSessionHandler.restoreExpandedTreeEntities(ProjectSessionHandler.java:125)
at com.kms.katalon.composer.project.handlers.ProjectSessionHandler.access$4(ProjectSessionHandler.java:115)
at com.kms.katalon.composer.project.handlers.ProjectSessionHandler$2.handleEvent(ProjectSessionHandler.java:100)
at org.eclipse.e4.ui.services.internal.events.UIEventHandler$1.run(UIEventHandler.java:40)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:182)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4211)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3827)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:693)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:610)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
at com.kms.katalon.core.application.Application.internalRunGUI(Application.java:123)
at com.kms.katalon.core.application.Application.runGUI(Application.java:113)
at com.kms.katalon.core.application.Application.start(Application.java:71)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)


#16

how to avoid this NPE?


#17

Try decompressing Katalon Studio into non system location e.g. your user folder. Don’t cut and paste the old Katalon Studio folder since permissions have been changed.


#18

win 10 boot was the trick, i wonder why boot needed
Project loaded well


#19

but this issue persists

2019-05-17 18:56:12.795 INFO c.k.katalon.core.main.TestCaseExecutor - END Test Cases/Spam/spam
2019-05-17 18:56:16.543 WARN com.kms.katalon.core.util.KeywordUtil - com.ctc.wstx.exc.WstxParsingException: (was java.io.FileNotFoundException) C:\Users\fitim\KatalonStudio\KatalonProject\logger.dtd (Määritettyä tiedostoa ei löydy)
at [row,col {unknown-source}]: [2,34]
at com.ctc.wstx.sr.StreamScanner.constructWfcException(StreamScanner.java:621)
at com.ctc.wstx.sr.StreamScanner.throwParseError(StreamScanner.java:491)
at com.ctc.wstx.sr.ValidatingStreamReader.findDtdExtSubset(ValidatingStreamReader.java:464)
at com.ctc.wstx.sr.ValidatingStreamReader.finishDTD(ValidatingStreamReader.java:326)
at com.ctc.wstx.sr.BasicStreamReader.skipToken(BasicStreamReader.java:3458)
at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2074)

how to get this missing file?

this issue is related to TS & TSC execution
not happened when executed TC

what i am missing or is this bug?

i have basic report plugin installed
BasicReport


#20

Could you please use 6.1.4 at this moment? We are investigating this issue and will have a solution next week.