From adffaces-user-return-206-apmail-incubator-adffaces-user-archive=incubator.apache.org@incubator.apache.org Tue May 30 16:09:34 2006 Return-Path: Delivered-To: apmail-incubator-adffaces-user-archive@locus.apache.org Received: (qmail 72918 invoked from network); 30 May 2006 16:09:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 May 2006 16:09:34 -0000 Received: (qmail 70001 invoked by uid 500); 30 May 2006 16:09:34 -0000 Delivered-To: apmail-incubator-adffaces-user-archive@incubator.apache.org Received: (qmail 69978 invoked by uid 500); 30 May 2006 16:09:33 -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 69967 invoked by uid 99); 30 May 2006 16:09:33 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 May 2006 09:09:33 -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 awiner@gmail.com designates 64.233.184.229 as permitted sender) Received: from [64.233.184.229] (HELO wr-out-0506.google.com) (64.233.184.229) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 May 2006 09:09:32 -0700 Received: by wr-out-0506.google.com with SMTP id 68so16751wra for ; Tue, 30 May 2006 09:09:12 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=qUWy5RUae8AlTHkOxPd08QtVYDQwx8a1ZPdmGJGxEI1HeVu8oghvyWbO1RZ5dUGHcesN78k4m3sZ4FA+EFfooNAConTRN9OOqgVQx8SVBAcWKqwWWfUyMma049LhSzEnM5/95LLWisckKYWTzTeSTjqiEjxGDcPIHNMi8eoDZ9k= Received: by 10.64.131.14 with SMTP id e14mr1925362qbd; Tue, 30 May 2006 09:09:12 -0700 (PDT) Received: by 10.65.103.7 with HTTP; Tue, 30 May 2006 09:09:11 -0700 (PDT) Message-ID: <6dac79b90605300909p74f08923r4a45963db21273d3@mail.gmail.com> Date: Tue, 30 May 2006 09:09:11 -0700 From: "Adam Winer" To: adffaces-user@incubator.apache.org Subject: Re: After upgrading : SEVERE: No structure available and no root available In-Reply-To: <1148975407.4846.43.camel@markoc.uvoz.aura.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=WINDOWS-1252; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <1148913420.4846.24.camel@markoc.uvoz.aura.cz> <5a99335f0605290816y6ed6df36la64e6275ad81f914@mail.gmail.com> <1148975407.4846.43.camel@markoc.uvoz.aura.cz> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 5/30/06, Martin Koci wrote: > Maybe it was not a bug - StateManager.restoreView can return null > UIViewRoot if there is no saved state, but log level severe seems to be > a little thick, because for all new view roots must return null. > > Adam, contains latest StateManagerImpl delta state saving mechanism as > you described on sfjsf.blogspot.com ? Is this mechanism applicable with > JSP? Yes, and no. :) That is, the delta mechanism is in there, but it's not applicable to JSPs. -- Adam > > Thanks, > > Martin > > Martin Marinschek p=ED=9Ae v Po 29. 05. 2006 v 17:16 +0200: > > Yeah, I think you're right. Fixed that. > > > > regards, > > > > Martin > > > > On 5/29/06, Martin Koci wrote: > > > Hello, > > > > > > > > > I upgraded my application to latest adf faces from svn and now render= ing > > > every UIViewRoot logs following error: > > > > > > SEVERE: No structure available and no root available > > > > > > > > > As I see in sources this log becomes from > > > org.apache.myfaces.adfinternal.application.StateManagerImpl, > > > > > > UIViewRoot root =3D context.getViewRoot(); > > > if (root =3D=3D null || _needStructure(context)) > > > { > > > _LOG.severe("No structure available and no root available"); > > > return null; > > > } > > > > > > > > > Method _needStructure is related to facelets, but I'm using JSP. I th= ink > > > there should be AND operator instead of OR? > > > > > > Thanks, > > > > > > Martin > > > > > > > > > > > >