[ https://issues.apache.org/jira/browse/FOR-423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15821454#comment-15821454 ]
Sjur N. Moshagen edited comment on FOR-423 at 1/13/17 9:10 AM: --------------------------------------------------------------- An extremely old bug that just bit me. I found an e-mail exchange related to this bug report here: http://marc.info/?l=forrest-user&m=118525172326146&w=2 but unfortunately no solution yet. was (Author: moshagen): An extremely old bug that just bit me. I found an e-mail exchange related to this bug report here: http://marc.info/?l=forrest-user&m=118525172326146&w=2 > Forrest crashes without an xdoc/index.xml file > ---------------------------------------------- > > Key: FOR-423 > URL: https://issues.apache.org/jira/browse/FOR-423 > Project: Forrest > Issue Type: Bug > Components: Core operations > Affects Versions: 0.7 > Environment: WinXP generating static site. > Reporter: Greg Jenci > Priority: Minor > > Forrest (Head, revision 125624) seems to assume there's an index.xml file in > the xdoc root directory. Without this file, Forrest throws a nasty Java > exception shown below; however, the site seems to render correctly. > Additionally, in brokenlinks, there's this message that I cannot find a > reference for: "cocoon://index.html". > To reproduce this error, seed a fresh project, rename index.xml, and then > update site.xml & tab.xml and all other references to index.html accordingly. > An easy workaround is to include a dummy index.xml file, which stops the > exception. But, I'm not sure if there's some undiscovered side-effect. For > additional information, please see User thread "Forrest crashes without an > xdoc/index.xml file" > ---------------- > org.apache.cocoon.CascadingIOException: SourceException: > org.apache.excalibur.source.SourceException: Exception during processing of > cocoon://index.html: org.apache.excalibur.source.SourceException: Exception > during processing of cocoon://index.html > at > org.apache.cocoon.environment.commandline.AbstractCommandLineEnvironment.redirect(AbstractCommandLineEnvironment.java:124) > at > org.apache.cocoon.environment.ForwardRedirector.doRedirect(ForwardRedirector.java:158) > at > org.apache.cocoon.environment.ForwardRedirector.redirect(ForwardRedirector.java:64) -- This message was sent by Atlassian JIRA (v6.3.4#6332)