Forum Discussion

mcaboor's avatar
mcaboor
Occasional Contributor
14 years ago

Create a report for a testcase

Hi,
We just have purchased the Pro version (4.0).
We have begun to run our tests and we'd like to make reports (rtf ones). We use the button "Creates a report for this item" and we've got an errror from jasperreport:

Fri Jul 22 12:09:13 CEST 2011:ERROR:net.sf.jasperreports.engine.JRException: org.xml.sax.SAXParseException: Invalid byte 2 of 3-byte UTF-8 sequence.
net.sf.jasperreports.engine.JRException: org.xml.sax.SAXParseException: Invalid byte 2 of 3-byte UTF-8 sequence.
at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:245)
at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:228)
at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:216)
at com.eviware.soapui.reporting.engine.jasper.GenerateJasperReport.a(SourceFile:577)
at com.eviware.soapui.reporting.engine.jasper.GenerateJasperReport.createReport(SourceFile:460)
at com.eviware.soapui.reporting.engine.jasper.GenerateJasperReport$ReportFillWorker.construct(SourceFile:428)
at com.eviware.soapui.support.swing.SwingWorkerDelegator.construct(SwingWorkerDelegator.java:46)
at com.eviware.soapui.support.swing.SwingWorker$2.run(SwingWorker.java:149)
at java.lang.Thread.run(Unknown Source)
Caused by: org.xml.sax.SAXParseException: Invalid byte 2 of 3-byte UTF-8 sequence.
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(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.commons.digester.Digester.parse(Digester.java:1647)
at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:241)
... 8 more

Can you help us to solve that problem?
Thanks for all
  • Jasper175's avatar
    Jasper175
    Frequent Contributor
    Is this error when you click the button or after the dialogue box that pops up with OK/Cancel?

    Only thought that comes to mind is how SoapUI uses the operating system. I have interesting quirks per PC.
    If it's right when you click the button - I would test another machine. Sounds like the install was bad, or the computer has issues. I own 5 lic. and haven't had this problem. (All Windows)
  • Hi!

    hmm... on which OS is this happening? When exactly does it happen?

    regards,

    /Ole
    SmartBear Sweden
  • mcaboor's avatar
    mcaboor
    Occasional Contributor
    Hi,

    I run a testcase, click the "Create a report for this item", the pop up window "create a report" appears.
    I click "OK" and then i have the error.

    I work on windows 7 Enterprise (64 bits)
  • Hi,

    hmm.. ok, are you using a 64-bit JRE or a JRE that was included by the installer?

    regards,

    /Ole
    SmartBear Stockholm
  • mcaboor's avatar
    mcaboor
    Occasional Contributor
    Hi,

    here is the JRE:

    java version "1.6.0_26"
    Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
    Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)
  • mcaboor's avatar
    mcaboor
    Occasional Contributor
    Does it sufficient or do you need more informations?
  • Hi,

    hmm.. could you please try installing the 32-bit version that bundles the JRE to see if that makes any difference?

    Thanks in advance, and I'm sorry for your troubles..

    regards,

    /Ole
    SmartBear Stockholm