hi, yeah I saw it, thanks.
-Matthias On Thu, Mar 11, 2010 at 1:02 AM, Kuhn, Harald <hk...@airplus.com> wrote: > Hi Matthias, > > the issue is created: > https://issues.apache.org/jira/browse/TRINIDAD-1751 > > Regards > > Harald > > Harald Kuhn > AirPlus International > Business Information Services > Dornhofstr. 36 > 63263 Neu-Isenburg > T +49 (0) 61 02. 2 04 - 8 21 > F +49 (0) 61 02. 2 04 - 77 8 21 > hk...@airplus.com > www.airplus.com > > > > Lufthansa AirPlus Servicekarten GmbH · Hans-Böckler-Straße 7 · 63263 > Neu-Isenburg · Germany · Geschäftsführer: Patrick W. Diemer (Vorsitz), Klaus > Busch · Vorsitzender des Aufsichtsrates: Stephan Gemkow · Handelsregister: > Amtsgericht Offenbach/Main, HRB 8119 > > > > -----Original Message----- > From: mwessend...@gmail.com [mailto:mwessend...@gmail.com] On Behalf Of > Matthias Wessendorf > Sent: Wednesday, March 10, 2010 4:12 PM > To: MyFaces Discussion > Subject: Re: [Trinidad] NPE if User-Agent header is missing > > Hello Harald, > > looks has been changed/removed in this rev: > http://svn.apache.org/viewvc?view=revision&revision=820104 > > can you please file a ticket? > > Tjhx, > M > > On Wed, Mar 10, 2010 at 12:45 AM, Kuhn, Harald <hk...@airplus.com> wrote: > >> Hi, >> >> >> >> after a upgrade from trinidad 1.2.11 to Trinidad 1.2.13 I get a >> NullPointerException from one of our monitoring scripts. >> >> Caused by: java.lang.NullPointerException >> >> at >> org.apache.myfaces.trinidadinternal.agent.AgentFactoryImpl._populateAgentImpl(AgentFactoryImpl.java:115) >> >> at >> org.apache.myfaces.trinidadinternal.agent.AgentFactoryImpl.createAgent(AgentFactoryImpl.java:65) >> >> at >> org.apache.myfaces.trinidadinternal.context.RequestContextImpl.getAgent(RequestContextImpl.java:695) >> >> at >> org.apache.myfaces.trinidadinternal.renderkit.core.CoreRenderKit.chooseRenderKit(CoreRenderKit.java:139) >> >> at >> org.apache.myfaces.trinidadinternal.renderkit.CoreRenderKitFactory.getRenderKit(CoreRenderKitFactory.java:52) >> >> >> >> While tracking this issue further down it showed that the monitoring script >> doesn’t send a User-Agent header along with the request. >> >> This case isn’t considered any more in >> AgentFactoryImpl._populateAgentImpl(). >> >> >> >> The version from Trinidad 1.2.11 used to have the following code block: >> >> if (userAgent == null) >> >> { >> >> _populateUnknownAgentImpl(null, agent); >> >> return; >> >> } >> >> >> >> This block is missing within the sources of Trinidad 1.2.13. >> >> >> >> Is this a bug? Or are there any reasons why this check was dismissed? >> >> Should I file an issue? >> >> >> >> Regards >> >> >> >> Harald >> >> >> >> Harald Kuhn >> >> *AirPlus International * >> >> Business Information Services >> >> Dornhofstr. 36 >> >> 63263 Neu-Isenburg >> >> T +49 (0) 61 02. 2 04 - 8 21 >> >> F +49 (0) 61 02. 2 04 - 77 8 21 >> >> hk...@airplus.com >> >> www.airplus.com >> >> >> >> >> >> Lufthansa AirPlus Servicekarten GmbH · Hans-Böckler-Straße 7 · 63263 >> Neu-Isenburg · Germany · Geschäftsführer: Patrick W. Diemer (Vorsitz), Klaus >> Busch · Vorsitzender des Aufsichtsrates: Stephan Gemkow · Handelsregister: >> Amtsgericht Offenbach/Main, HRB 8119 >> >> >> >> >> > > > > -- > Matthias Wessendorf > > blog: http://matthiaswessendorf.wordpress.com/ > sessions: http://www.slideshare.net/mwessendorf > twitter: http://twitter.com/mwessendorf > -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter: http://twitter.com/mwessendorf