Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 86964 invoked from network); 26 Aug 2008 07:46:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Aug 2008 07:46:38 -0000 Received: (qmail 13915 invoked by uid 500); 26 Aug 2008 07:46:35 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 13836 invoked by uid 500); 26 Aug 2008 07:46:35 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 13825 invoked by uid 99); 26 Aug 2008 07:46:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Aug 2008 00:46:35 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Aug 2008 07:45:44 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4B15B234C1B2 for ; Tue, 26 Aug 2008 00:45:44 -0700 (PDT) Message-ID: <1593467487.1219736744306.JavaMail.jira@brutus> Date: Tue, 26 Aug 2008 00:45:44 -0700 (PDT) From: "Thorsten Scherler (JIRA)" To: dev@cocoon.apache.org Subject: [jira] Updated: (COCOON-2241) The commandline is not working since cocoon-1985 In-Reply-To: <1589162380.1219658864169.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COCOON-2241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thorsten Scherler updated COCOON-2241: -------------------------------------- Attachment: COCOON-2241.txt Fixing small error that intruded the patch > The commandline is not working since cocoon-1985 > ------------------------------------------------ > > Key: COCOON-2241 > URL: https://issues.apache.org/jira/browse/COCOON-2241 > Project: Cocoon > Issue Type: Bug > Components: * Cocoon Core > Affects Versions: 2.1.12-dev (Current SVN) > Reporter: Thorsten Scherler > Fix For: 2.1.12-dev (Current SVN) > > Attachments: COCOON-2241.txt, COCOON-2241.txt, COCOON-2241.txt > > > Updating forrest to use cocoon-2.1.x, I found a problem in the > AbstractCachingProcessingPipeline. > I am not sure whether someone is using the cocoon cli ATM. Forrest is > based around this component. > https://issues.apache.org/jira/browse/FOR-955?focusedCommentId=12624340#action_12624340 > I found that in > org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline line 245 > Object lock = > env.getObjectModel().get(HttpEnvironment.HTTP_REQUEST_OBJECT); > the lock is null which causes the NPE in the end. > The problem is that the cli environment does not store the requested object. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.