You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by KIRAN <rk...@gmail.com> on 2014/01/17 17:20:46 UTC
TIKA error while reading a PDF response
Hi,
One of my http request's response is an embedded PDF file and I want to
search a text within this PDF text.
When I change the response format to document in 'View Results Tree'
listener, I am getting the below error:
"Error document parsing: org.apache.tika.exception.TikaException: XML parse
error"
Detailed error message is as below:
==================================================================================================
2014/01/17 10:19:17 WARN - jmeter.util.Document: Error document parsing:
org.apache.tika.exception.TikaException: XML parse error
at org.apache.tika.parser.xml.XMLParser.parse(XMLParser.java:78)
at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:242)
at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:242)
at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:120)
at org.apache.jmeter.util.Document.getTextFromDocument(Document.java:58)
at
org.apache.jmeter.visualizers.RenderAsDocument.showDocumentResponse(RenderAsDocument.java:44)
at
org.apache.jmeter.visualizers.RenderAsDocument.renderResult(RenderAsDocument.java:36)
at
org.apache.jmeter.visualizers.ViewResultsFullVisualizer.valueChanged(ViewResultsFullVisualizer.java:253)
at javax.swing.JTree.fireValueChanged(Unknown Source)
at javax.swing.JTree$TreeSelectionRedirector.valueChanged(Unknown Source)
at javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(Unknown
Source)
at javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(Unknown
Source)
at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(Unknown
Source)
at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(Unknown
Source)
at javax.swing.JTree.setSelectionPath(Unknown Source)
at javax.swing.plaf.basic.BasicTreeUI.selectPathForEvent(Unknown Source)
at javax.swing.plaf.basic.BasicTreeUI$Handler.handleSelection(Unknown
Source)
at javax.swing.plaf.basic.BasicTreeUI$Handler.mousePressed(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: org.xml.sax.SAXParseException; lineNumber: 63; columnNumber: 50;
The value of attribute "value" associated with an element type "input" must
not contain the '<' character.
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.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
at org.apache.xerces.impl.XMLScanner.scanAttributeValue(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanAttribute(Unknown
Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(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 javax.xml.parsers.SAXParser.parse(Unknown Source)
at org.apache.tika.parser.xml.XMLParser.parse(XMLParser.java:72)
==================================================================================================
Please let me know if there are any TIKA configuration changes to be done
to handle this error.
Or please let me know if there are any other ways to read the text from
this PDF.
Thank you,
Kiran
Re: TIKA error while reading a PDF response
Posted by Deepak Shetty <sh...@gmail.com>.
Hi
>Actually my URL doesn't ends with .pdf instead it is a .cfm file (*CFM*
stands
That doesnt actually make a difference (its the Content-Type that matters)
- in JMeter save results to file using a listener and then open that
manually and see if you are getting a proper PDF(if not there is a problem
in your test script) - if yes then try and extract it manually using the
PDF text extraction tools from command line(pdfbox or tika or whatever)
(some will fail if for e.g. your PDF is password protected) - if all of
that works then you can try and debug JMeter..
On Fri, Jan 17, 2014 at 11:04 AM, KIRAN <rk...@gmail.com> wrote:
> Karl,
>
> I really appreciate your quick response.
>
> I followed the steps in the page and I am able to run the sample script
> successfully.
> I tried the same on my script and failed to get PDF content into that
> variable.
>
> Actually my URL doesn't ends with .pdf instead it is a .cfm file (*CFM*
> stands
> for ColdFusion Markup language)
> PDF is embedded in a .cfm file.
> Please suggest me a way to handle these types of responses.
>
> Thank you,
> Kiran
>
>
> On Fri, Jan 17, 2014 at 11:24 AM, karl hoffmann <ka...@sitestress.eu>
> wrote:
>
> > Hi Kiran,
> >
> > take a look a this:
> > http://theworkaholic.blogspot.de/2010/03/asserting-pdfs.html
> >
> > regards
> > karl@sitestress.eu
> >
> > Am 17.01.2014 17:20:46, schrieb KIRAN:
> > > Hi,
> > >
> > > One of my http request's response is an embedded PDF file and I want to
> > > search a text within this PDF text.
> > > When I change the response format to document in 'View Results Tree'
> > > listener, I am getting the below error:
> > >
> > > "Error document parsing: org.apache.tika.exception.TikaException: XML
> > parse
> > > error"
> > >
> > > Detailed error message is as below:
> > >
> > >
> >
> ==================================================================================================
> > > 2014/01/17 10:19:17 WARN - jmeter.util.Document: Error document
> parsing:
> > > org.apache.tika.exception.TikaException: XML parse error
> > > at org.apache.tika.parser.xml.XMLParser.parse(XMLParser.java:78)
> > > at
> org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:242)
> > > at
> org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:242)
> > > at
> > org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:120)
> > > at
> org.apache.jmeter.util.Document.getTextFromDocument(Document.java:58)
> > > at
> > >
> >
> org.apache.jmeter.visualizers.RenderAsDocument.showDocumentResponse(RenderAsDocument.java:44)
> > > at
> > >
> >
> org.apache.jmeter.visualizers.RenderAsDocument.renderResult(RenderAsDocument.java:36)
> > > at
> > >
> >
> org.apache.jmeter.visualizers.ViewResultsFullVisualizer.valueChanged(ViewResultsFullVisualizer.java:253)
> > > at javax.swing.JTree.fireValueChanged(Unknown Source)
> > > at javax.swing.JTree$TreeSelectionRedirector.valueChanged(Unknown
> Source)
> > > at javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(Unknown
> > > Source)
> > > at javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(Unknown
> > > Source)
> > > at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(Unknown
> > > Source)
> > > at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(Unknown
> > > Source)
> > > at javax.swing.JTree.setSelectionPath(Unknown Source)
> > > at javax.swing.plaf.basic.BasicTreeUI.selectPathForEvent(Unknown
> Source)
> > > at javax.swing.plaf.basic.BasicTreeUI$Handler.handleSelection(Unknown
> > > Source)
> > > at javax.swing.plaf.basic.BasicTreeUI$Handler.mousePressed(Unknown
> > Source)
> > > at java.awt.Component.processMouseEvent(Unknown Source)
> > > at javax.swing.JComponent.processMouseEvent(Unknown Source)
> > > at java.awt.Component.processEvent(Unknown Source)
> > > at java.awt.Container.processEvent(Unknown Source)
> > > at java.awt.Component.dispatchEventImpl(Unknown Source)
> > > at java.awt.Container.dispatchEventImpl(Unknown Source)
> > > at java.awt.Component.dispatchEvent(Unknown Source)
> > > at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
> > > at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
> > > at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
> > > at java.awt.Container.dispatchEventImpl(Unknown Source)
> > > at java.awt.Window.dispatchEventImpl(Unknown Source)
> > > at java.awt.Component.dispatchEvent(Unknown Source)
> > > at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
> > > at java.awt.EventQueue.access$200(Unknown Source)
> > > at java.awt.EventQueue$3.run(Unknown Source)
> > > at java.awt.EventQueue$3.run(Unknown Source)
> > > at java.security.AccessController.doPrivileged(Native Method)
> > > at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
> > Source)
> > > at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
> > Source)
> > > at java.awt.EventQueue$4.run(Unknown Source)
> > > at java.awt.EventQueue$4.run(Unknown Source)
> > > at java.security.AccessController.doPrivileged(Native Method)
> > > at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
> > Source)
> > > at java.awt.EventQueue.dispatchEvent(Unknown Source)
> > > at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
> > > at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
> > > at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
> > > at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> > > at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> > > at java.awt.EventDispatchThread.run(Unknown Source)
> > > Caused by: org.xml.sax.SAXParseException; lineNumber: 63; columnNumber:
> > 50;
> > > The value of attribute "value" associated with an element type "input"
> > must
> > > not contain the '<' character.
> > > 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.XMLErrorReporter.reportError(Unknown Source)
> > > at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
> > > at org.apache.xerces.impl.XMLScanner.scanAttributeValue(Unknown Source)
> > > at
> org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanAttribute(Unknown
> > > Source)
> > > at
> > org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(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 javax.xml.parsers.SAXParser.parse(Unknown Source)
> > > at org.apache.tika.parser.xml.XMLParser.parse(XMLParser.java:72)
> > >
> >
> ==================================================================================================
> > >
> > > Please let me know if there are any TIKA configuration changes to be
> done
> > > to handle this error.
> > > Or please let me know if there are any other ways to read the text from
> > > this PDF.
> > >
> > > Thank you,
> > > Kiran
> >
> >
> >
> >
>
>
> --
> Regards,
> Kiran
>
Re: TIKA error while reading a PDF response
Posted by KIRAN <rk...@gmail.com>.
Karl,
I really appreciate your quick response.
I followed the steps in the page and I am able to run the sample script
successfully.
I tried the same on my script and failed to get PDF content into that
variable.
Actually my URL doesn't ends with .pdf instead it is a .cfm file (*CFM* stands
for ColdFusion Markup language)
PDF is embedded in a .cfm file.
Please suggest me a way to handle these types of responses.
Thank you,
Kiran
On Fri, Jan 17, 2014 at 11:24 AM, karl hoffmann <ka...@sitestress.eu> wrote:
> Hi Kiran,
>
> take a look a this:
> http://theworkaholic.blogspot.de/2010/03/asserting-pdfs.html
>
> regards
> karl@sitestress.eu
>
> Am 17.01.2014 17:20:46, schrieb KIRAN:
> > Hi,
> >
> > One of my http request's response is an embedded PDF file and I want to
> > search a text within this PDF text.
> > When I change the response format to document in 'View Results Tree'
> > listener, I am getting the below error:
> >
> > "Error document parsing: org.apache.tika.exception.TikaException: XML
> parse
> > error"
> >
> > Detailed error message is as below:
> >
> >
> ==================================================================================================
> > 2014/01/17 10:19:17 WARN - jmeter.util.Document: Error document parsing:
> > org.apache.tika.exception.TikaException: XML parse error
> > at org.apache.tika.parser.xml.XMLParser.parse(XMLParser.java:78)
> > at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:242)
> > at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:242)
> > at
> org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:120)
> > at org.apache.jmeter.util.Document.getTextFromDocument(Document.java:58)
> > at
> >
> org.apache.jmeter.visualizers.RenderAsDocument.showDocumentResponse(RenderAsDocument.java:44)
> > at
> >
> org.apache.jmeter.visualizers.RenderAsDocument.renderResult(RenderAsDocument.java:36)
> > at
> >
> org.apache.jmeter.visualizers.ViewResultsFullVisualizer.valueChanged(ViewResultsFullVisualizer.java:253)
> > at javax.swing.JTree.fireValueChanged(Unknown Source)
> > at javax.swing.JTree$TreeSelectionRedirector.valueChanged(Unknown Source)
> > at javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(Unknown
> > Source)
> > at javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(Unknown
> > Source)
> > at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(Unknown
> > Source)
> > at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(Unknown
> > Source)
> > at javax.swing.JTree.setSelectionPath(Unknown Source)
> > at javax.swing.plaf.basic.BasicTreeUI.selectPathForEvent(Unknown Source)
> > at javax.swing.plaf.basic.BasicTreeUI$Handler.handleSelection(Unknown
> > Source)
> > at javax.swing.plaf.basic.BasicTreeUI$Handler.mousePressed(Unknown
> Source)
> > at java.awt.Component.processMouseEvent(Unknown Source)
> > at javax.swing.JComponent.processMouseEvent(Unknown Source)
> > at java.awt.Component.processEvent(Unknown Source)
> > at java.awt.Container.processEvent(Unknown Source)
> > at java.awt.Component.dispatchEventImpl(Unknown Source)
> > at java.awt.Container.dispatchEventImpl(Unknown Source)
> > at java.awt.Component.dispatchEvent(Unknown Source)
> > at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
> > at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
> > at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
> > at java.awt.Container.dispatchEventImpl(Unknown Source)
> > at java.awt.Window.dispatchEventImpl(Unknown Source)
> > at java.awt.Component.dispatchEvent(Unknown Source)
> > at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
> > at java.awt.EventQueue.access$200(Unknown Source)
> > at java.awt.EventQueue$3.run(Unknown Source)
> > at java.awt.EventQueue$3.run(Unknown Source)
> > at java.security.AccessController.doPrivileged(Native Method)
> > at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
> Source)
> > at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
> Source)
> > at java.awt.EventQueue$4.run(Unknown Source)
> > at java.awt.EventQueue$4.run(Unknown Source)
> > at java.security.AccessController.doPrivileged(Native Method)
> > at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown
> Source)
> > at java.awt.EventQueue.dispatchEvent(Unknown Source)
> > at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
> > at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
> > at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
> > at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> > at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> > at java.awt.EventDispatchThread.run(Unknown Source)
> > Caused by: org.xml.sax.SAXParseException; lineNumber: 63; columnNumber:
> 50;
> > The value of attribute "value" associated with an element type "input"
> must
> > not contain the '<' character.
> > 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.XMLErrorReporter.reportError(Unknown Source)
> > at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
> > at org.apache.xerces.impl.XMLScanner.scanAttributeValue(Unknown Source)
> > at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanAttribute(Unknown
> > Source)
> > at
> org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(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 javax.xml.parsers.SAXParser.parse(Unknown Source)
> > at org.apache.tika.parser.xml.XMLParser.parse(XMLParser.java:72)
> >
> ==================================================================================================
> >
> > Please let me know if there are any TIKA configuration changes to be done
> > to handle this error.
> > Or please let me know if there are any other ways to read the text from
> > this PDF.
> >
> > Thank you,
> > Kiran
>
>
>
>
--
Regards,
Kiran
Re: TIKA error while reading a PDF response
Posted by karl hoffmann <ka...@sitestress.eu>.
Hi Kiran,
take a look a this:
http://theworkaholic.blogspot.de/2010/03/asserting-pdfs.html
regards
karl@sitestress.eu
Am 17.01.2014 17:20:46, schrieb KIRAN:
> Hi,
>
> One of my http request's response is an embedded PDF file and I want to
> search a text within this PDF text.
> When I change the response format to document in 'View Results Tree'
> listener, I am getting the below error:
>
> "Error document parsing: org.apache.tika.exception.TikaException: XML parse
> error"
>
> Detailed error message is as below:
>
> ==================================================================================================
> 2014/01/17 10:19:17 WARN - jmeter.util.Document: Error document parsing:
> org.apache.tika.exception.TikaException: XML parse error
> at org.apache.tika.parser.xml.XMLParser.parse(XMLParser.java:78)
> at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:242)
> at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:242)
> at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:120)
> at org.apache.jmeter.util.Document.getTextFromDocument(Document.java:58)
> at
> org.apache.jmeter.visualizers.RenderAsDocument.showDocumentResponse(RenderAsDocument.java:44)
> at
> org.apache.jmeter.visualizers.RenderAsDocument.renderResult(RenderAsDocument.java:36)
> at
> org.apache.jmeter.visualizers.ViewResultsFullVisualizer.valueChanged(ViewResultsFullVisualizer.java:253)
> at javax.swing.JTree.fireValueChanged(Unknown Source)
> at javax.swing.JTree$TreeSelectionRedirector.valueChanged(Unknown Source)
> at javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(Unknown
> Source)
> at javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(Unknown
> Source)
> at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(Unknown
> Source)
> at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(Unknown
> Source)
> at javax.swing.JTree.setSelectionPath(Unknown Source)
> at javax.swing.plaf.basic.BasicTreeUI.selectPathForEvent(Unknown Source)
> at javax.swing.plaf.basic.BasicTreeUI$Handler.handleSelection(Unknown
> Source)
> at javax.swing.plaf.basic.BasicTreeUI$Handler.mousePressed(Unknown Source)
> at java.awt.Component.processMouseEvent(Unknown Source)
> at javax.swing.JComponent.processMouseEvent(Unknown Source)
> at java.awt.Component.processEvent(Unknown Source)
> at java.awt.Container.processEvent(Unknown Source)
> at java.awt.Component.dispatchEventImpl(Unknown Source)
> at java.awt.Container.dispatchEventImpl(Unknown Source)
> at java.awt.Component.dispatchEvent(Unknown Source)
> at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
> at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
> at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
> at java.awt.Container.dispatchEventImpl(Unknown Source)
> at java.awt.Window.dispatchEventImpl(Unknown Source)
> at java.awt.Component.dispatchEvent(Unknown Source)
> at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
> at java.awt.EventQueue.access$200(Unknown Source)
> at java.awt.EventQueue$3.run(Unknown Source)
> at java.awt.EventQueue$3.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
> at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
> at java.awt.EventQueue$4.run(Unknown Source)
> at java.awt.EventQueue$4.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
> at java.awt.EventQueue.dispatchEvent(Unknown Source)
> at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
> at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
> at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> at java.awt.EventDispatchThread.run(Unknown Source)
> Caused by: org.xml.sax.SAXParseException; lineNumber: 63; columnNumber: 50;
> The value of attribute "value" associated with an element type "input" must
> not contain the '<' character.
> 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.XMLErrorReporter.reportError(Unknown Source)
> at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
> at org.apache.xerces.impl.XMLScanner.scanAttributeValue(Unknown Source)
> at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanAttribute(Unknown
> Source)
> at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(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 javax.xml.parsers.SAXParser.parse(Unknown Source)
> at org.apache.tika.parser.xml.XMLParser.parse(XMLParser.java:72)
> ==================================================================================================
>
> Please let me know if there are any TIKA configuration changes to be done
> to handle this error.
> Or please let me know if there are any other ways to read the text from
> this PDF.
>
> Thank you,
> Kiran