You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-dev@db.apache.org by Joerg Heinicke <jo...@gmx.de> on 2004/03/09 15:32:55 UTC

[OTM] possible NPE in ConcreteEditingContext

Hello,

today I came across a NPE in ConcreteEditingContext when storing an object with
a dependent collection. I found out the reason relatively fast: the collection
itself was null, but handling this would make the look into the code unnecessary
:) The NPE occured in line 1364, so newList is null. Handling this (either by
exception or explicitely) would be cool.

Thanks,

Joerg


---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Re: [OTM] possible NPE in ConcreteEditingContext

Posted by Oleg Nitz <on...@ukr.net>.
Hi Joerg,

Thank you, I've fixed the bug.

Regards,
 Oleg

On Tuesday 09 March 2004 14:32, Joerg Heinicke wrote:
> Hello,
>
> today I came across a NPE in ConcreteEditingContext when storing an object
> with a dependent collection. I found out the reason relatively fast: the
> collection itself was null, but handling this would make the look into the
> code unnecessary
>
> :) The NPE occured in line 1364, so newList is null. Handling this (either
> : by
>
> exception or explicitely) would be cool.
>
> Thanks,
>
> Joerg
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-dev-help@db.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org