Hello,

 

I tryed to update my code from 5.3.2 to 5.4.1-SNAPSHOT, but got some errors
on JUnit Test Cases.

 

These errors seem to be related to the encoding of the file
nuxeo-core-storage-sql-test-5.4.1-SNAPSHOT.jar!/OSGI-INF/test-repo-repositor
y-h2-contrib.xml.

 

Then, if I downgrade from 5.4.1-SNAPSHOT to 5.4.0, then it works fine again.

 

So this file is likely to have an encoding problem in the 5.4.1-SNAPSHOT
version.

 

This happens, on my windows box, when running 

            > mvn clean install

 

Give this error :

 

DatabaseHelper: Database used for VCS tests:
org.nuxeo.ecm.core.storage.sql.DatabaseH2

[Fatal Error] :27:48: Invalid byte 2 of 3-byte UTF-8 sequence.

14:39:57,421 ERROR [NXRuntimeTestCase]
org.apache.xerces.impl.io.MalformedByteSequenceException: Invalid byte 2 of
3-byte UTF-8 sequence.

Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.172 sec
<<< FAILURE!

 

In the following exception in the surefire reports :

 

            testService(com.stepnet.nuxeo.qxp.qxps.test.A10_QXPServerTest)
Time elapsed: 0.328 sec  <<< FAILURE!

junit.framework.AssertionFailedError: Failed to deploy contrib
jar:file:/C:/Documents%20and%20Settings/yginieys/.m2/repository/org/nuxeo/ec
m/core/nuxeo-core-storage-sql-test/5.4.1-SNAPSHOT/nuxeo-core-storage-sql-tes
t-5.4.1-SNAPSHOT.jar!/OSGI-INF/test-repo-repository-h2-contrib.xml

            at junit.framework.Assert.fail(Assert.java:47)

            at
org.nuxeo.runtime.test.NXRuntimeTestCase.deployContrib(NXRuntimeTestCase.jav
a:340)

            at
org.nuxeo.runtime.test.NXRuntimeTestCase.deployContrib(NXRuntimeTestCase.jav
a:368)

            at
org.nuxeo.runtime.test.NXRuntimeTestCase.deployContrib(NXRuntimeTestCase.jav
a:386)

            at
org.nuxeo.ecm.core.storage.sql.SQLRepositoryTestCase.deployRepositoryContrib
(SQLRepositoryTestCase.java:65)

            at
org.nuxeo.ecm.core.storage.sql.SQLRepositoryTestCase.setUp(SQLRepositoryTest
Case.java:61)

            at
com.stepnet.nuxeo.qxp.qxps.test.A10_QXPServerTest.setUp(A10_QXPServerTest.ja
va:22)

 

 

Then, downgrading to tag 5.4.0 solves the issue, and the all tests are
successfully.

 

Is it possible that somebody from nuxeo team could check this file ?

 

Thanks, 

 

Youri Ginieys

 

 

 

---
Mailing list: [email protected]
Forum: http://forum.nuxeo.org/f/1/

Reply via email to