cmarchand / gaulois-pipe

A XSLT pipelining solution
Mozilla Public License 2.0
9 stars 4 forks source link

Exception in executesPipeOnMultiThread is not processed #36

Open wondergarance opened 7 years ago

wondergarance commented 7 years ago

In executesPipeOnMultiThread(), NullPointerException during running service.execute(r) is not processed. This function should return false in this case.

Exception in thread "pool-1-thread-1" java.lang.NullPointerException at java.net.URI$Parser.parse(URI.java:3042) at java.net.URI.(URI.java:588) at org.xmlresolver.ResourceConnection.(ResourceConnection.java:42) at org.xmlresolver.ResourceResolver.cacheStreamSystem(ResourceResolver.java:172) at org.xmlresolver.ResourceResolver.resolveEntity(ResourceResolver.java:296) at org.xmlresolver.Resolver.resolveEntity(Resolver.java:186) at org.apache.xerces.util.EntityResolver2Wrapper.resolveEntity(Unknown Source) at org.apache.xerces.impl.XMLEntityManager.resolveEntity(Unknown Source) at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.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 net.sf.saxon.event.Sender.sendSAXSource(Sender.java:451) at net.sf.saxon.event.Sender.send(Sender.java:179) at net.sf.saxon.Configuration.buildDocumentTree(Configuration.java:3808) at net.sf.saxon.s9api.DocumentBuilder.build(DocumentBuilder.java:369) at net.sf.saxon.s9api.DocumentBuilder.build(DocumentBuilder.java:385) at fr.efl.chaine.xslt.GauloisPipe.execute(GauloisPipe.java:461) at fr.efl.chaine.xslt.GauloisPipe$1.run(GauloisPipe.java:340) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)