incubator-adffaces-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Marinschek" <martin.marinsc...@gmail.com>
Subject Re: After upgrading : SEVERE: No structure available and no root available
Date Tue, 30 May 2006 16:48:52 GMT
well, it would definitely be a nuisance to log on severe level if the
viewroot is null - I don't think this can be the correct behaviour.

regards,

Martin

On 5/30/06, Martin Koci <Martin.Koci@aura.cz> 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?
>
> Thanks,
>
> Martin
>
> Martin Marinschek píše 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 <Martin.Koci@aura.cz> wrote:
> > > Hello,
> > >
> > >
> > > I upgraded my application to latest adf faces from svn and now rendering
> > > 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 = context.getViewRoot();
> > >       if (root == 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 think
> > > there should be AND operator instead of OR?
> > >
> > > Thanks,
> > >
> > > Martin
> > >
> > >
> >
> >
>
>


-- 

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces

Mime
View raw message