yes :-P
On Jan 9, 2008 6:53 AM, Ryan Lubke <Ryan.Lubke_at_sun.com> wrote:
> Matthias Wessendorf wrote:
> > cool.
> > I was meaning that 'll do a "nicer" report on our side.
> > but in the RI it works as well :-)
> >
> You mean Mojarra right? :)
>
> > -M
> >
> > On Jan 9, 2008 6:46 AM, Ryan Lubke <Ryan.Lubke_at_sun.com> wrote:
> >
> >> Matthias Wessendorf wrote:
> >>
> >>> Looks like in the JDev-Design-Time, I am not
> >>> able to reproduce it;
> >>>
> >>> I guess we might just log a warning that the app couldn't init "correct",
> >>> in case
> >>>
> >>> ApplicationFactory factory = (ApplicationFactory)
> >>> FactoryFinder.getFactory(FactoryFinder.APPLICATION_FACTORY);
> >>> Application application = factory.getApplication();
> >>>
> >>> throws any exception.
> >>>
> >>> -M
> >>>
> >>>
> >> I've corrected the error reporting. An exception will be thrown with
> >> an error message detailing the problem.
> >>
> >>
> >>
> >>
> >>> On Jan 7, 2008 3:06 PM, Ryan Lubke <Ryan.Lubke_at_sun.com> wrote:
> >>>
> >>>
> >>>> The ApplicationAssociate throws the NPE as the FacesContext we provide
> >>>> during initialization isn't
> >>>> available.
> >>>>
> >>>> So, based on the info provided, it seems the Filter is initializing on
> >>>> its own thread after the JSF factories have been initialized
> >>>> but before the application object has been called for to be initialized
> >>>> by the config thread where the FacesContext
> >>>> exists.
> >>>>
> >>>> What container are they running on?
> >>>>
> >>>>
> >>>> Matthias Wessendorf wrote:
> >>>>
> >>>>
> >>>>> from an init() of a Filter.
> >>>>>
> >>>>> On Jan 7, 2008 10:10 PM, Ryan Lubke <Ryan.Lubke_at_sun.com> wrote:
> >>>>>
> >>>>>
> >>>>>
> >>>>>> Matthias Wessendorf wrote:
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>> Hi,
> >>>>>>>
> >>>>>>> this code:
> >>>>>>>
> >>>>>>> ApplicationFactory factory = (ApplicationFactory)
> >>>>>>> FactoryFinder.getFactory(FactoryFinder.APPLICATION_FACTORY);
> >>>>>>> Application application = factory.getApplication();
> >>>>>>>
> >>>>>>> did throw this error:
> >>>>>>> java.lang.NullPointerException
> >>>>>>> at com.sun.faces.application.ApplicationAssociate.<init>(ApplicationAssociate.
> >>>>>>> java:143)
> >>>>>>> at com.sun.faces.application.ApplicationImpl.<init>(ApplicationImpl.java:132)
> >>>>>>> at com.sun.faces.application.ApplicationFactoryImpl.getApplication(Application
> >>>>>>> FactoryImpl.java:97)
> >>>>>>>
> >>>>>>> I haven't observed this myself, but a customer did report it.
> >>>>>>> So, just curios, if some of you saw this already...
> >>>>>>> (looks like 1.2_04-b10-p01 was used)
> >>>>>>>
> >>>>>>> Thanks,
> >>>>>>> Matthias
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>> Where/when are they calling this code?
> >>>>>>
> >>>>>> ---------------------------------------------------------------------
> >>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_javaserverfaces.dev.java.net
> >>>>>> For additional commands, e-mail: dev-help_at_javaserverfaces.dev.java.net
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>
> >>>>>
> >>>> ---------------------------------------------------------------------
> >>>> To unsubscribe, e-mail: dev-unsubscribe_at_javaserverfaces.dev.java.net
> >>>> For additional commands, e-mail: dev-help_at_javaserverfaces.dev.java.net
> >>>>
> >>>>
> >>>>
> >>>>
> >>>
> >>>
> >>>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: dev-unsubscribe_at_javaserverfaces.dev.java.net
> >> For additional commands, e-mail: dev-help_at_javaserverfaces.dev.java.net
> >>
> >>
> >>
> >
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_javaserverfaces.dev.java.net
> For additional commands, e-mail: dev-help_at_javaserverfaces.dev.java.net
>
>
--
Matthias Wessendorf
further stuff:
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
mail: matzew-at-apache-dot-org