t; >> >}
> >> > } catch(IllegalStateException ISE){
> >> >dc = DataContext.createDataContext();
> >> >DataContext.bindThreadDataContext(dc);
> >> >}
> >> >return dc;
> >> &g
return dc;
>> > }
>> >
>> >synchronized protected void commitChanges(){
>> >getDataContext().commitChanges();
>> >}
>> >
>> > }
>> >
>> > On Tue, Jul 28, 2009 at 9:33 AM, Matt Kerr <
>> m
t; >
> > }
> >
> > On Tue, Jul 28, 2009 at 9:33 AM, Matt Kerr > >wrote:
> >
> > > any chance you have a stack trace ?
> > > or code snippet ?
> > > project even ?
> > >
> > > very hard to offer suggestion / debug
&
have a stack trace ?
> > or code snippet ?
> > project even ?
> >
> > very hard to offer suggestion / debug
> > without more info :-?
> >
> > ok -thanks
> > -matt
> >
> >
> > On Mon, Jul 27, 2009 at 11:59 PM, sridhar
>
ce you have a stack trace ?
> or code snippet ?
> project even ?
>
> very hard to offer suggestion / debug
> without more info :-?
>
> ok -thanks
> -matt
>
>
> On Mon, Jul 27, 2009 at 11:59 PM, sridhar
> devatha wrote:
> > Hi,
> >
> > I am gettin
On Tue, Jul 28, 2009 at 5:59 AM, sridhar
devatha wrote:
> Hi,
>
> I am getting null pointer exception while committing new object. I committed
> several other objects of different classes using cayenne's
> datacontext.commitchanges. But, i am unable to commit this object.
Hi,
I am getting null pointer exception while committing new object. I committed
several other objects of different classes using cayenne's
datacontext.commitchanges. But, i am unable to commit this object.
--
Yours Sincerely,
Sridhar