maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dennis Lundberg <denn...@apache.org>
Subject Need help with test failure in doxia-sitetools, which is blocking the release
Date Sat, 13 Nov 2010 14:59:51 GMT
Hi

After fixing a test failure (at least I thought so) in r10033377 [1] for
doxia-sitetools, I went ahead to release doxia and doxia-sitetools
1.1.4. This fails during doxia-sitetools because of a test failure on
both Windows And Ubuntu. It has to with validating an xdoc document that
specifies entities. This test was added in version 1.1.3 as
DOXIASITETOOLS-37 [2], so it has passed a release before.


Here's my Surefire Report:

-------------------------------------------------------------------------------
Test set: org.apache.maven.doxia.siterenderer.DefaultSiteRendererTest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 36.125
sec <<< FAILURE!
testRender(org.apache.maven.doxia.siterenderer.DefaultSiteRendererTest)
 Time elapsed: 36.094 sec  <<< ERROR!
org.apache.maven.doxia.siterenderer.RendererException: Error parsing
'G:\apache\maven\trunks\doxia\doxia-sitetools\doxia-site-renderer\src\test\resources\site-validate\xdoc\entityTest.xml':
line [-1] Error validating the model: Method failed: Server Error
	at
org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderDocument(DefaultSiteRenderer.java:418)
	at
org.apache.maven.doxia.siterenderer.DoxiaDocumentRenderer.renderDocument(DoxiaDocumentRenderer.java:53)
	at
org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule(DefaultSiteRenderer.java:330)
	at
org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(DefaultSiteRenderer.java:134)
	at
org.apache.maven.doxia.siterenderer.DefaultSiteRendererTest.testRender(DefaultSiteRendererTest.java:132)
Caused by: org.apache.maven.doxia.parser.ParseException: Error
validating the model: Method failed: Server Error
	at org.apache.maven.doxia.util.XmlValidator.validate(XmlValidator.java:112)
	at
org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.validate(DefaultSiteRenderer.java:879)
	at
org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderDocument(DefaultSiteRenderer.java:399)
	... 30 more
Caused by: java.io.IOException: Method failed: Server Error
	at
org.apache.maven.doxia.parser.AbstractXmlParser$CachedFileEntityResolver.toByteArray(AbstractXmlParser.java:810)
	at
org.apache.maven.doxia.parser.AbstractXmlParser$CachedFileEntityResolver.resolveEntity(AbstractXmlParser.java:739)
	at org.apache.xerces.util.EntityResolverWrapper.resolveEntity(Unknown
Source)
	at org.apache.xerces.impl.XMLEntityManager.resolveEntity(Unknown Source)
	at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
	at org.apache.xerces.impl.XMLDTDScannerImpl.startPE(Unknown Source)
	at org.apache.xerces.impl.XMLDTDScannerImpl.skipSeparator(Unknown Source)
	at org.apache.xerces.impl.XMLDTDScannerImpl.scanDecls(Unknown Source)
	at
org.apache.xerces.impl.XMLDTDScannerImpl.scanDTDInternalSubset(Unknown
Source)
	at
org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.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.AbstractSAXParser.parse(Unknown Source)
	at org.apache.maven.doxia.util.XmlValidator.validate(XmlValidator.java:108)
	... 32 more


To be able to recreate this you need to downgrade the property
<doxiaVersion> in the main POM of doxia-sitetools from 1.1.4 to
1.1.4-SNAPSHOT. Doxia 1.1.4 is currently on my local machine and in an
unclosed staging repo. I was planning to put doxia and doxia-sitetools
in the same staging repo.

Any hints?


[1] http://svn.apache.org/viewvc?rev=1033377&view=rev
[2] http://jira.codehaus.org/browse/DOXIASITETOOLS-37

-- 
Dennis Lundberg

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message