Use of a shared DocumentBuilder causes SAXException during parallel resolutions
GoogleCodeExporter opened this issue · comments
Google Code Exporter commented
This problem is the same of: ttps://issues.apache.org/jira/browse/IVY-1147
This happen when calling: (NSDictionary)PropertyListParser.parse(s.bytes);
On multiples threads at the same time.
The exception is thrown:
org.xml.sax.SAXException: FWK005 parse may not be called while parsing.
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:263)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:124)
at com.dd.plist.XMLPropertyListParser.parse(XMLPropertyListParser.java:128)
at com.dd.plist.XMLPropertyListParser.parse(XMLPropertyListParser.java:114)
at com.dd.plist.PropertyListParser.parse(PropertyListParser.java:86)
at com.dd.plist.PropertyListParser$parse.call(Unknown Source)
Original issue reported on code.google.com by felipeko@gmail.com
on 28 Sep 2011 at 7:40
Google Code Exporter commented
Will be fixed soon™.
Original comment by daniel.dreibrodt
on 30 Sep 2011 at 12:07
- Changed state: Accepted
Google Code Exporter commented
Try this build please: http://dl.dropbox.com/u/2389669/dd-plist-r46.zip
Could you test whether that build works properly with multiple threads?
Original comment by daniel.dreibrodt
on 4 Oct 2011 at 11:09
- Changed state: Started
Google Code Exporter commented
Sorry for the waiting, it's to working now.
Thanks a lot.
Original comment by felipeko@gmail.com
on 6 Oct 2011 at 7:46
Google Code Exporter commented
Original comment by daniel.dreibrodt
on 6 Oct 2011 at 9:56
- Changed state: Fixed