continuum-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brett Porter (JIRA)" <j...@codehaus.org>
Subject [jira] Updated: (CONTINUUM-1123) XMLStreamException on DataManagementToolTest with jdk6
Date Wed, 02 Apr 2008 10:06:58 GMT

     [ http://jira.codehaus.org/browse/CONTINUUM-1123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Brett Porter updated CONTINUUM-1123:
------------------------------------

    Fix Version/s:     (was: Future)
                   1.x

> XMLStreamException on DataManagementToolTest with jdk6
> ------------------------------------------------------
>
>                 Key: CONTINUUM-1123
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-1123
>             Project: Continuum
>          Issue Type: Bug
>          Components: Environmental
>    Affects Versions: 1.1-alpha-1
>            Reporter: fabrizio giustina
>             Fix For: 1.x
>
>
> Tests on continuum-data-management are failing on jdk6/windows. Work fine with jdk 1.5
> -------------------------------------------------------------------------------
> Test set: org.apache.maven.continuum.management.DataManagementToolTest
> -------------------------------------------------------------------------------
> Tests run: 3, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 3.219 sec <<<
FAILURE!
> testBackupBuilds(org.apache.maven.continuum.management.DataManagementToolTest)  Time
elapsed: 1.875 sec  <<< ERROR!
> org.apache.maven.continuum.ContinuumRuntimeException: Modello failure: unable to write
data to StAX writer
> 	at org.apache.maven.continuum.management.JdoDataManagementTool.backupBuildDatabase(JdoDataManagementTool.java:92)
> 	at org.apache.maven.continuum.management.DataManagementToolTest.testBackupBuilds(DataManagementToolTest.java:83)
> Caused by: javax.xml.stream.XMLStreamException: Underlying stream encoding 'Cp1252' and
input paramter for writeStartDocument() method 'UTF-8' do not match.
> 	at com.sun.xml.internal.stream.writers.XMLStreamWriterImpl.writeStartDocument(XMLStreamWriterImpl.java:1182)
> 	at javanet.staxutils.IndentingXMLStreamWriter.writeStartDocument(IndentingXMLStreamWriter.java:142)
> 	at org.apache.maven.continuum.model.project.io.stax.ContinuumStaxWriter.write(ContinuumStaxWriter.java:87)
> 	at org.apache.maven.continuum.management.JdoDataManagementTool.backupBuildDatabase(JdoDataManagementTool.java:88)
> 	... 27 more
> testRestoreBuilds(org.apache.maven.continuum.management.DataManagementToolTest)  Time
elapsed: 0.765 sec  <<< ERROR!
> org.apache.maven.continuum.ContinuumRuntimeException: Modello failure: unable to write
data to StAX writer
> 	at org.apache.maven.continuum.management.JdoDataManagementTool.backupBuildDatabase(JdoDataManagementTool.java:92)
> 	at org.apache.maven.continuum.management.DataManagementToolTest.testRestoreBuilds(DataManagementToolTest.java:124)
> Caused by: javax.xml.stream.XMLStreamException: Underlying stream encoding 'Cp1252' and
input paramter for writeStartDocument() method 'UTF-8' do not match.
> 	at com.sun.xml.internal.stream.writers.XMLStreamWriterImpl.writeStartDocument(XMLStreamWriterImpl.java:1182)
> 	at javanet.staxutils.IndentingXMLStreamWriter.writeStartDocument(IndentingXMLStreamWriter.java:142)
> 	at org.apache.maven.continuum.model.project.io.stax.ContinuumStaxWriter.write(ContinuumStaxWriter.java:87)
> 	at org.apache.maven.continuum.management.JdoDataManagementTool.backupBuildDatabase(JdoDataManagementTool.java:88)
> 	... 27 more

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

        

Mime
View raw message