Hi,

Well, I guess it is sad then if so much thought has been put into the
spec. I don't understand why you take the RI as the ultimate R, it was
written by mere mortals after all ;) 

Never heard of "faces-trace", but yes it's a good idea for a program to
stop executing after a fatal error instead of pretending it's not there.

regards

-----Original Message-----
From: Martin Marinschek [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 16, 2006 11:19 AM
To: MyFaces Discussion; Cagatay Civici
Subject: Re: swalled exception

Hi Bolerio,

I can tell you that a lot of thought has been put into devising the
JSF-Spec - even more, sometimes I think that too much thought has
caused some of the problems of the spec....

However, please check what the RI does in the same case (and I think I
checked before and found out that it does) - If the same is done, this
would point away from a programming mistake.

My point remains - wouldn't this be a good addition to faces-trace?
Having an EL-resolver, and maybe DefaultActionListenerImpl with a
better error-handling?

regards,

Martin

On 8/16/06, Iordanov, Borislav (GIC) <[EMAIL PROTECTED]> wrote:
> Hi Martin,
>
> Mandated by the spec? Hmmm...don't know, I would agree that the JSF
could have been designed with a bit more thoughtfulness, but this
particular one looks just like a programming mistake.
>
> Best,
> Bolerio
>
>
> -----Original Message-----
> From: Martin Marinschek [mailto:[EMAIL PROTECTED]
> Sent: Wed 8/16/2006 10:47 AM
> To: MyFaces Discussion
> Subject: Re: swalled exception
>
> Interestingly enough, the RI does the same as we in the case of an
> exception in the update model phase. I haven't checked with the spec
> if this is mandated, but the JavaDoc indicate something in this
> direction.
>
> I honestly don't like this myself. I wonder if faces-trace could be
> extended to show exceptions like this on the page during development?
>
> regards,
>
> Martin
>
> On 8/16/06, Iordanov, Borislav (GIC) <[EMAIL PROTECTED]> wrote:
> > As mentionned, time constraints prevented me from figuring out how
to turn on logging, let alone submit a patch or even open a JIRA
> >
> > I wasn't asking for comment, but making one, and I also indicated a
very specific case where the problem occurs, in the hope that it would
be helpful. If it's not, than too bad.
> >
> > regards
> >
> >
> > -----Original Message-----
> > From: Mike Kienenberger [mailto:[EMAIL PROTECTED]
> > Sent: Wed 8/16/2006 9:53 AM
> > To: MyFaces Discussion
> > Subject: Re: swalled exception
> >
> > Borislav,
> >
> > When you come across something like this, consider opening a JIRA
> > issue and optionally attaching a patch to fix it.   At minimum, you
> > should include the stack trace or log message.  Be aware that some
> > behavior may be mandated by the JSF spec.
> >
> > In this particular case, there's not enough information to even
> > comment on the specific problem.
> >
> > On 7/17/06, Iordanov, Borislav (GIC) <[EMAIL PROTECTED]> wrote:
> > >
> > >
> > >
> > >
> > > Hi guys,
> > >
> > >
> > >
> > > I'm sure there is a way to configure logging so that this doesn't
happen,
> > > but by default I notice tons of swallowed exceptions in MyFaces.
The
> > > resulting behavior obviously is that something doesn't work and
there's no
> > > indication why. Regardless of logging the error and of my not
having spent a
> > > few hours figuring out how to configure MyFaces logs, I think it
is
> > > unacceptable behavior for the application to continue to run after
a fatal
> > > error. An example of a fatal error is an NPE thrown from a
property setter
> > > during the "update model values" request processing phase. Such
errors
> > > should be propagated to the servlet container so that I can
eventually see a
> > > stack trace on my browser - very convenient during development.
> > >
> > >
> > >
> > > Regards,
> > >
> > > Bolerio
> >
> >
> >
>
>
> --
>
> http://www.irian.at
>
> Your JSF powerhouse -
> JSF Consulting, Development and
> Courses in English and German
>
> Professional Support for Apache MyFaces
>
>
>


-- 

http://www.irian.at

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

Professional Support for Apache MyFaces

Reply via email to