Re: NullPointerExcpetion in Channel.java

Huston <[email protected]> 04 Jun 2003 12:09:12 -0600
Newsgroups gmane.network.beep.beepcore.java.general
Message-ID <[email protected]>
On Wed, 2003-06-04 at 11:48, Paul Andrews wrote:
> The current code in the method receiveFrame(...) calls
> listener.receiveMSG(m) without first checking if listener is null. This
> can happen if the profile allowed a channel to start without setting a
> message listener (which is obviously a bug in my profile, but anyway I
> though you should know).
> 

Thanks! I'll fix that.

--Huston



-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.