From adffaces-user-return-1959-apmail-incubator-adffaces-user-archive=incubator.apache.org@incubator.apache.org Tue Jan 23 06:21:34 2007 Return-Path: Delivered-To: apmail-incubator-adffaces-user-archive@locus.apache.org Received: (qmail 21952 invoked from network); 23 Jan 2007 06:21:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Jan 2007 06:21:34 -0000 Received: (qmail 45096 invoked by uid 500); 23 Jan 2007 06:21:40 -0000 Delivered-To: apmail-incubator-adffaces-user-archive@incubator.apache.org Received: (qmail 45074 invoked by uid 500); 23 Jan 2007 06:21:40 -0000 Mailing-List: contact adffaces-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: adffaces-user@incubator.apache.org Delivered-To: mailing list adffaces-user@incubator.apache.org Received: (qmail 45065 invoked by uid 99); 23 Jan 2007 06:21:39 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Jan 2007 22:21:39 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of mwessendorf@gmail.com designates 64.233.182.188 as permitted sender) Received: from [64.233.182.188] (HELO nf-out-0910.google.com) (64.233.182.188) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Jan 2007 22:21:31 -0800 Received: by nf-out-0910.google.com with SMTP id a4so126363nfc for ; Mon, 22 Jan 2007 22:21:10 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=Yu79ts9szOBK5JWcgSab7RB5yRNjGbZxhBJPaRnLtK2JtlgxTQ7WE7A9htVzK/PdSk9AUvuwvJkMUp1eIF40RLUiVrAav6a8iRLExxrABUnQGCgVSpij9t8VoSUhJdreL8aZZZ3mqRYQ2ieMzAZxJR5WoYFHBGVObmePijVjZ1w= Received: by 10.49.55.13 with SMTP id h13mr534349nfk.1169533270291; Mon, 22 Jan 2007 22:21:10 -0800 (PST) Received: by 10.48.241.20 with HTTP; Mon, 22 Jan 2007 22:21:10 -0800 (PST) Message-ID: <71235db40701222221h41ae1793uaf84e06bb83fc5db@mail.gmail.com> Date: Tue, 23 Jan 2007 07:21:10 +0100 From: "Matthias Wessendorf" Sender: mwessendorf@gmail.com To: adffaces-user@incubator.apache.org Subject: Re: NullPointerException in PartialPageUtils In-Reply-To: <45B55FCF.8060904@gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <45B4F2F0.8060000@gmx.net> <71235db40701220929p2e654c13md2cefdb5efc953e5@mail.gmail.com> <6dac79b90701221004q56876f7cw60c727504e12cc2e@mail.gmail.com> <45B55FCF.8060904@gmx.net> X-Google-Sender-Auth: a7d66024b3e53cf6 X-Virus-Checked: Checked by ClamAV on apache.org > thanks for catching the NPE. I'll go and have a try with your changes. I > hope I have the configuration right - I'm not 100% sure but at least I > have the trinidad filter installed. Does anyone of you have experience > with JSF-Spring/MyFaces/Trinidad? Could that be the cause? ah, you mean the sf project, from the German mindmatters? I played around that last year or so, currently I am on spring 2.0 which supports new scopes like "session". > I get strange behaviour after using the login form - the first page of > my app. Firefox shows a javascript error and does nothing (I stay on the > login page); IE7 submits the form and displays the NPE mentioned earlier. providing code / errors is good in case of that. If you need a *template* for something like "Using MyFaces, Trinidad, Facelets, Shale, Spring 2.0, JPA and Toplink Essentials" take a look here: http://code.google.com/p/facesgoodies/ (you currently need Shale 1.10-SNAPSHOT and MyFaces 1.1.5-SNAPSHOT also a Trinidad build) > I'm going to search the list for similiar issues but maybe someone has a > hint? > > Cheers, > Christopher > > Adam Winer schrieb: > > Hrm, odd that you'd see this NPE without it. At any rate, > > I'll put a null check in so this exception will go away (and > > make it easier to diagnose the issue in the future). > > > > -- Adam > > > > > > On 1/22/07, Matthias Wessendorf wrote: > >> did you install the Trinidad Filter? > >> > >> > >> > >> On 1/22/07, Christopher Cudennec wrote: > >> > Hi, > >> > > >> > I'm trying to set up trinidad using the latest snapshot. > >> Unfortunately I > >> > only get a NullPointerException: > >> > > >> > java.lang.NullPointerException > >> > > >> org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PartialPageUtils.isPartialRequest(PartialPageUtils.java:47) > >> > >> > > >> org.apache.myfaces.trinidadinternal.renderkit.core.CoreRenderKit.shortCircuitRenderView(CoreRenderKit.java:292) > >> > >> > > >> > > >> org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157) > >> > >> > > >> > > >> > Could some misconfiguration be the cause of the exception? As I said, > >> > I'm just trying to change the configuration of my project to integrate > >> > trindiad. Any ideas about it? > >> > > >> > Thanks, > >> > > >> > Christopher > >> > > >> > >> > >> -- > >> Matthias Wessendorf > >> http://tinyurl.com/fmywh > >> > >> further stuff: > >> blog: http://jroller.com/page/mwessendorf > >> mail: mwessendorf-at-gmail-dot-com > >> > > > > > > -- Matthias Wessendorf http://tinyurl.com/fmywh further stuff: blog: http://jroller.com/page/mwessendorf mail: mwessendorf-at-gmail-dot-com