Return-Path: Delivered-To: apmail-forrest-user-archive@www.apache.org Received: (qmail 70121 invoked from network); 22 Jun 2006 02:59:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Jun 2006 02:59:13 -0000 Received: (qmail 80619 invoked by uid 500); 22 Jun 2006 02:59:13 -0000 Delivered-To: apmail-forrest-user-archive@forrest.apache.org Received: (qmail 80587 invoked by uid 500); 22 Jun 2006 02:59:12 -0000 Mailing-List: contact user-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@forrest.apache.org List-Id: Delivered-To: mailing list user@forrest.apache.org Received: (qmail 80577 invoked by uid 99); 22 Jun 2006 02:59:12 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Jun 2006 19:59:12 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of brian.dube@gmail.com designates 64.233.166.178 as permitted sender) Received: from [64.233.166.178] (HELO py-out-1112.google.com) (64.233.166.178) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Jun 2006 19:59:11 -0700 Received: by py-out-1112.google.com with SMTP id z59so170921pyg for ; Wed, 21 Jun 2006 19:58:51 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; b=t9zCUOTnD/wirxHj4Y4IhQgmYuo1Cd/nSTqYwFEvyX6XMoEHPUQ05to9lBV2i9kljyzTNZnG0K+AmPiGec2v6lk4jdaWefoJijGlRBS5eBBt7xTvxxD1nF+H578ymx8S4OK4h6n6lyk4QZP5ziVWgBk7FchXuCpWmMwtmxtSXBk= Received: by 10.35.88.18 with SMTP id q18mr566547pyl; Wed, 21 Jun 2006 19:58:51 -0700 (PDT) Received: from ?192.168.10.4? ( [68.114.238.242]) by mx.gmail.com with ESMTP id w63sm467831pyw.2006.06.21.19.58.48; Wed, 21 Jun 2006 19:58:50 -0700 (PDT) Message-ID: <449A0756.3050107@gmail.com> Date: Wed, 21 Jun 2006 21:58:30 -0500 From: Brian M Dube User-Agent: Thunderbird 1.5.0.2 (X11/20060516) MIME-Version: 1.0 To: user@forrest.apache.org Subject: Dispatcher ClassCastException Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I'm building a site with 0.8-dev using dispatcher. I created a free-form (well-formed, but no DTD) XML file that describes the items for sale along with their options. I'm using the locationmap and sitemap to provide virtual URLs to view the items in the master file. When I request a resource that exists, such as http://localhost:8888/index.html, everything works fine. When I request one of the virtual URLs, such as http://localhost:8888/products/categoryX/itemY.html, it works as intended but this error is also produced on the console: cocoon://resolve.contract.html.nav-section; Line #0; Column #0; java.lang.ClassCastException. Static mode also builds successfully while reporting the same exception. In either case the resource is rendered, but the nav-section contract doesn't finish and the menu is compromised. I haven't been able to trace the exception to its cause. Has anyone seen this? I have a custom theme but I'm not implementing a custom nav-section contract. Brian