org.apache.xerces.parsers.ObjectFactory.newInstance sometimes goes wrong
------------------------------------------------------------------------

                 Key: XERCESJ-1543
                 URL: https://issues.apache.org/jira/browse/XERCESJ-1543
             Project: Xerces2-J
          Issue Type: Bug
    Affects Versions: 2.7.1
         Environment: hp ia64
            Reporter: sucheng


XML parser works well, but sometimes throw the exception when parser the input 
XML.

This bug does not always appears, only some times. The error message could'nt 
help to find the cause of this beahviour.

the error message : 
org.apache.xerces.parsers.ObjectFactory$ConfigurationError: Provider 
org.apache.xerces.parsers.XIncludeAwareParserConfiguration could not be 
instantiated: java.lang.IllegalArgumentException: Illegal Load: 0.75
         at org.apache.xerces.parsers.ObjectFactory.newInstance(Unknown Source)
         at org.apache.xerces.parsers.ObjectFactory.createObject(Unknown Source)
         at org.apache.xerces.parsers.ObjectFactory.createObject(Unknown Source)
         at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source)
         at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source)
         at sun.reflect.GeneratedConstructorAccessor193.newInstance(Unknown 
Source)
         at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:501)
         at java.lang.Class.newInstance0(Class.java:354)
         at java.lang.Class.newInstance(Class.java:307)
         at org.xml.sax.helpers.NewInstance.newInstance(NewInstance.java:51)
         at 
org.xml.sax.helpers.XMLReaderFactory.loadClass(XMLReaderFactory.java:187)
         at 
org.xml.sax.helpers.XMLReaderFactory.createXMLReader(XMLReaderFactory.java:150)
         at org.dom4j.io.SAXHelper.createXMLReader(SAXHelper.java:83)
         at org.dom4j.io.SAXReader.createXMLReader(SAXReader.java:894)
         at org.dom4j.io.SAXReader.getXMLReader(SAXReader.java:715)
         at org.dom4j.io.SAXReader.read(SAXReader.java:435)
         at org.dom4j.DocumentHelper.parseText(DocumentHelper.java:278)
----------------
Does this remind you something ? 



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to