Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 04608200C0A for ; Fri, 13 Jan 2017 10:10:30 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 032D2160B32; Fri, 13 Jan 2017 09:10:30 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 551F0160B3F for ; Fri, 13 Jan 2017 10:10:29 +0100 (CET) Received: (qmail 15755 invoked by uid 500); 13 Jan 2017 09:10:28 -0000 Mailing-List: contact dev-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@forrest.apache.org List-Id: Delivered-To: mailing list dev@forrest.apache.org Received: (qmail 15732 invoked by uid 99); 13 Jan 2017 09:10:28 -0000 Received: from Unknown (HELO jira-lw-us.apache.org) (207.244.88.139) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Jan 2017 09:10:28 +0000 Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 6966125283 for ; Fri, 13 Jan 2017 09:10:26 +0000 (UTC) Date: Fri, 13 Jan 2017 09:10:26 +0000 (UTC) From: "Sjur N. Moshagen (JIRA)" To: dev@forrest.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (FOR-423) Forrest crashes without an xdoc/index.xml file MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 13 Jan 2017 09:10:30 -0000 [ 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 was (Author: moshagen): An extremely old bug that just bit me. I found an e-mail exchange about this very issue 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)