You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Ilya Okomin (JIRA)" <ji...@apache.org> on 2006/10/09 16:36:19 UTC

[jira] Created: (HARMONY-1784) [classlib] JavaCVS throws org.xml.sax.SAXParseException on start-up.

[classlib] JavaCVS throws org.xml.sax.SAXParseException on start-up.
--------------------------------------------------------------------

                 Key: HARMONY-1784
                 URL: http://issues.apache.org/jira/browse/HARMONY-1784
             Project: Harmony
          Issue Type: Bug
          Components: App-Oriented Bug Reports
         Environment: RHEL 3AW, IBM VM + built Harmony project
            Reporter: Ilya Okomin
            Priority: Minor


The bug appeared when running application 
- JavaCVS (http://javacvs.sourceforge.net/)

Code for reproducing:
N/A

Steps to Reproduce:
1.     Install JavaCVS:
 java -jar JavaCVSSetup0_4_1.jar
2.     Run JavaCVS:
java -cp <javacvs>\lib\javacvs.jar allensoft.javacvs.client.ui.swing.Main

The application fails on startup with the following stack trace
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

org.xml.sax.SAXParseException: Attribute "MAP_XML_VERSION" must be declared for element type "map".
        at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
        at org.apache.xerces.util.ErrorHandlerWrapper.error(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.dtd.XMLDTDValidator.addDTDDefaultAttrsAndValidate(Unknown Source)
        at org.apache.xerces.impl.dtd.XMLDTDValidator.handleStartElement(Unknown Source)
        at org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentScannerImpl$ContentDispatcher.scanRootElementHook(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.DOMParser.parse(Unknown Source)
        at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
        at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
        at java.util.prefs.XMLParser.loadFilePrefsImpl(XMLParser.java:461)
        at java.util.prefs.XMLParser$3.run(XMLParser.java:435)
        at java.util.prefs.XMLParser$3.run(XMLParser.java:434)
        at java.security.AccessController.doPrivileged(AccessController.java:179)
        at java.util.prefs.XMLParser.loadFilePrefs(XMLParser.java:433)
        at java.util.prefs.FilePreferencesImpl.initPrefs(FilePreferencesImpl.java:126)
        at java.util.prefs.FilePreferencesImpl.<init>(FilePreferencesImpl.java:115)
        at java.util.prefs.FilePreferencesImpl.childSpi(FilePreferencesImpl.java:176)
        at java.util.prefs.AbstractPreferences.getNodeFromBackend(AbstractPreferences.java:645)
        at java.util.prefs.AbstractPreferences.nodeImpl(AbstractPreferences.java:626)
        at java.util.prefs.AbstractPreferences.node(AbstractPreferences.java:597)
        at java.util.prefs.Preferences.userNodeForPackage(Preferences.java:814)
        at allensoft.javacvs.client.CVSClient.<clinit>(Unknown Source)
        at java.lang.J9VMInternals.initializeImpl(Native Method)
        at java.lang.J9VMInternals.initialize(J9VMInternals.java:177)
        at allensoft.javacvs.client.ui.swing.Main.startup(Unknown Source)
        at allensoft.javacvs.client.ui.swing.Main.main(Unknown Source)
.......
There were several similar exceptions thrown one by one.

Despite these exceptions application works.




-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira