To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=60103





------- Additional comments from [EMAIL PROTECTED] Thu Mar  9 01:23:53 -0800 
2006 -------
> I investigated the stack and the crash happens because one of the
> "registered" listeners is a NULL reference that is dereferenced without
> checking. IMHO this is correct because it is a big mistake to register an 
> empty
> reference as a listener

If we're talking about a UNO add*Listener method here, I strongly disagree.
Those methods can be called from any scripting environment, e.g. from any small
innocent Basic script. If it is that easy to *crash* the whole application by
just passing an invalid object here, then this is a bug, IMO.

IMO, a usual add*Listener implementation should not add a NULL reference. It
might be debatable whether it should throw a NullPointerException (which
unfortunately is not derived from RuntimeException), but it should not just
ignore the NULL and provoke a later crash this way.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to