Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0-beta-5
-
None
-
None
Description
In one of my project, mvn site:run failed for one page.
It is the same with site project (r429489). Here is the stack
... :WARN: /articles.html org.apache.maven.doxia.siterenderer.RendererException: Error while generating code. at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.processTemplate(DefaultSiteRenderer.java:419) at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.writeTemplate(DefaultSiteRenderer.java:383) at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.generateDocument(DefaultSiteRenderer.java:362) at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderDocument(DefaultSiteRenderer.java:266) at org.apache.maven.doxia.siterenderer.DoxiaDocumentRenderer.renderDocument(DoxiaDocumentRenderer.java:43) at org.apache.maven.plugins.site.webapp.DoxiaFilter.doFilter(DoxiaFilter.java:89) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:869) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:348) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:174) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:220) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:536) at org.mortbay.jetty.Server.handle(Server.java:331) at org.mortbay.jetty.Server.handle(Server.java:301) at org.mortbay.jetty.HttpConnection.doHandler(HttpConnection.java:351) at org.mortbay.jetty.HttpConnection.access$1500(HttpConnection.java:38) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:598) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:489) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:198) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:289) at org.mortbay.jetty.nio.SelectChannelConnector$HttpEndPoint.run(SelectChannelConnector.java:710) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:412) Caused by: java.lang.IndexOutOfBoundsException at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:132) at java.io.OutputStreamWriter.write(OutputStreamWriter.java:191) at org.mortbay.jetty.HttpGenerator$OutputWriter.write(HttpGenerator.java:1177) at java.io.PrintWriter.write(PrintWriter.java:384) at java.io.PrintWriter.write(PrintWriter.java:401) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:291) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.Template.merge(Template.java:256) at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.processTemplate(DefaultSiteRenderer.java:415) ... 20 more