public void addEventListener(ClientEventListener cel) {
+ if(listeners==null){
+ //Don't know how it can happen, but it did, and checking for
null isn't going to hurt anything
+ listeners=new Vector<ClientEventListener>();
+ }
if(cel != null)
listeners.addElement(cel);
else
throw new IllegalArgumentException("Adding a null listener!");
}It can't happen for transient requests. For persistent requests, a persistence-related bug in the code might well cause it to happen however. :(
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Devl mailing list [email protected] http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
