forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sjur N. Moshagen (JIRA)" <>
Subject [jira] [Commented] (FOR-423) Forrest crashes without an xdoc/index.xml file
Date Fri, 13 Jan 2017 09:10:26 GMT


Sjur N. Moshagen commented on FOR-423:

An extremely old bug that just bit me. I found an e-mail exchange about this very issue here:

> Forrest crashes without an xdoc/index.xml file
> ----------------------------------------------
>                 Key: FOR-423
>                 URL:
>             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(
>         at org.apache.cocoon.environment.ForwardRedirector.doRedirect(
>         at org.apache.cocoon.environment.ForwardRedirector.redirect(

This message was sent by Atlassian JIRA

View raw message