Is there a limit on how large an xml file Digester can parse? I am consistently getting an 'invalid handle' exception after about the 114th parsed element.
Any suggestions would be appreciated.
thanks,
dan
There was 1 error:
1) test_ProductChecks(WebsiteChecks$ProductChecks)java.io.IOException: The handl
e is invalid
at java.io.FileInputStream.available(Native Method)
at java.io.BufferedInputStream.read(BufferedInputStream.java:325)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager$RewindableIn
putStream.read(XMLEntityManager.java:2939)
at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(UTF8Reader
.java:292)
at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(XMLEnti
tyScanner.java:1742)
at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.skipChar(XML
EntityScanner.java:1416)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2784)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(X
MLDocumentScannerImpl.java:648)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
ML11Configuration.java:807)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
ML11Configuration.java:737)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.
java:107)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Ab
stractSAXParser.java:1205)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.p
arse(SAXParserImpl.java:522)
at org.apache.commons.digester.Digester.parse(Digester.java:1935)
at WebsiteChecks$General$Scenario.digest(WebsiteChecks.java:2555)
at WebsiteChecks$ProductChecks.test_ProductChecks(WebsiteChecks.java:566
7)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at com.thoughtworks.selenium.SeleneseTestCase.runBare(SeleneseTestCase.j
ava:212)
at WebsiteChecks.main(WebsiteChecks.java:104)