Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 52922 invoked from network); 19 Sep 2007 23:04:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Sep 2007 23:04:01 -0000 Received: (qmail 24469 invoked by uid 500); 19 Sep 2007 23:03:51 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 24396 invoked by uid 500); 19 Sep 2007 23:03:51 -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 24385 invoked by uid 99); 19 Sep 2007 23:03:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Sep 2007 16:03:51 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of joerg.heinicke@gmx.de designates 213.165.64.20 as permitted sender) Received: from [213.165.64.20] (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 19 Sep 2007 23:05:49 +0000 Received: (qmail invoked by alias); 19 Sep 2007 23:03:30 -0000 Received: from c-68-81-135-222.hsd1.pa.comcast.net (EHLO c-68-81-135-222.hsd1.pa.comcast.net) [68.81.135.222] by mail.gmx.net (mp020) with SMTP; 20 Sep 2007 01:03:30 +0200 X-Authenticated: #3483660 X-Provags-ID: V01U2FsdGVkX18C3pEvCVsCqjqYGLhKR76qX+Sf9XJ9B5NRF4Fnmc dm6+KEU3jGMWr2 Message-ID: <46F1AAC0.7030600@gmx.de> Date: Wed, 19 Sep 2007 19:03:28 -0400 From: Joerg Heinicke User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.6) Gecko/20070802 SeaMonkey/1.1.4 MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: Demystification of pipelineComponent trouble References: <46F1A121.8060604@tuffmail.com> In-Reply-To: <46F1A121.8060604@tuffmail.com> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Virus-Checked: Checked by ClamAV on apache.org On 19.09.2007 18:22 Uhr, Grzegorz Kossakowski wrote: > As you see, this pipeline just process simple JX template that tries to access one variable > (status.myTasks) and fails at this point. It must fail (by throwing NPE) because there is no > status.myTasks variable in OM! It's the flowscript code from myBlock1 that is responsible for > setting it and that's why the only valid way to test my sample: Whether there is a variable set or not, a NPE is never good sign. Shouldn't this case be handled? Spring for example throws a NullValueInPathException instead. Joerg