Re: NPE using OpenSessionBackgroundProcess class

2021-01-26 Thread Burton Rhodes
Ahh... many thanks. On Tue, Jan 26, 2021 at 7:02 AM Lukasz Lenart wrote: > wt., 26 sty 2021 o 13:45 Burton Rhodes > napisał(a): > > > > Lukasz - > > Sorry if this is a dumb question, but where and how do I call the > > readObject() method that you suggested? > > It is used by JVM when an object

Re: NPE using OpenSessionBackgroundProcess class

2021-01-26 Thread Lukasz Lenart
wt., 26 sty 2021 o 13:45 Burton Rhodes napisał(a): > > Lukasz - > Sorry if this is a dumb question, but where and how do I call the > readObject() method that you suggested? It is used by JVM when an object is deserialized https://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html https:

Re: NPE using OpenSessionBackgroundProcess class

2021-01-26 Thread Burton Rhodes
Lukasz - Sorry if this is a dumb question, but where and how do I call the readObject() method that you suggested? On Tue, Jan 26, 2021 at 6:33 AM Burton Rhodes wrote: > Many thanks... I will give that a try! > > > On Tue, Jan 26, 2021 at 1:51 AM Lukasz Lenart > wrote: > >> pon., 25 sty 2021 o

Re: NPE using OpenSessionBackgroundProcess class

2021-01-26 Thread Burton Rhodes
Many thanks... I will give that a try! On Tue, Jan 26, 2021 at 1:51 AM Lukasz Lenart wrote: > pon., 25 sty 2021 o 19:52 Burton Rhodes > napisał(a): > > public class OpenSessionBackgroundProcess extends BackgroundProcess { > > BackgroundProcess is marked as Serializable so container can > tempo

Re: NPE using OpenSessionBackgroundProcess class

2021-01-26 Thread Martin Gainty
AFAIK Object does not implement Serializable is there an object your code can implement for lock object that implements Serializable? m- From: Burton Rhodes Sent: Monday, January 25, 2021 1:52 PM To: Struts Users Mailing List Subject: Re: NPE using OpenSessio