SV: SV: SV: PersistenceFacade

2010-05-26 Thread Søren Blidorf
...@chrismiles.org] Sendt: 26. maj 2010 17:24 Til: Struts Users Mailing List Emne: Re: SV: SV: PersistenceFacade Struts is only a facade round the existing JSP and servlet technologies so I cant personally see them causing the problem (prove me wrong?). Coincidences happen I am afraid (to myself included

Re: SV: SV: PersistenceFacade

2010-05-26 Thread chris
les.org] > Sendt: 26. maj 2010 17:15 > Til: Struts Users Mailing List > Emne: Re: SV: PersistenceFacade > > This appears not to be a Struts problem, just a coincidence as it clearly > states the problem is a null pointer exception, but I will point you to an > partial answer any

SV: SV: PersistenceFacade

2010-05-26 Thread Søren Blidorf
...@chrismiles.org] Sendt: 26. maj 2010 17:15 Til: Struts Users Mailing List Emne: Re: SV: PersistenceFacade This appears not to be a Struts problem, just a coincidence as it clearly states the problem is a null pointer exception, but I will point you to an partial answer anyway. When closing a

Re: SV: PersistenceFacade

2010-05-26 Thread chris
This appears not to be a Struts problem, just a coincidence as it clearly states the problem is a null pointer exception, but I will point you to an partial answer anyway. When closing a database connection like that you should always check that it is not null before closing it. Why it is null I c

SV: PersistenceFacade

2010-05-26 Thread Søren Blidorf
Of course. Here it comes 75203 [http-80-Processor24] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/hb].[jsp] - Servlet.service() for servlet jsp threw exception java.lang.NullPointerException at nc.persistence.PersistenceFacade.closeConnection(PersistenceFacade.jav