#37 Errors in listener instatiation are ignored

open
nobody
None
5
2009-05-07
2009-05-07
Eduardo M. Costa
No

When I'm developing a JSF application over winstone, I receive this log line:

[Winstone 2009/05/07 11:21:09] - Error instantiating listener class: com.sun.faces.config.ConfigureListener

But it does not emit the error! After digging into winstone code, I found this winstone.WebAppConfiguration class:

http://winstone.cvs.sourceforge.net/viewvc/winstone/winstone/src/java/winstone/WebAppConfiguration.java?revision=1.59&view=markup

Line 422 is:

422 Logger.log(Logger.WARNING, Launcher.RESOURCES,
423 "WebAppConfig.InvalidListener",
424 listenerClass);

But I guess it should be:

422 Logger.log(Logger.WARNING, Launcher.RESOURCES,
423 "WebAppConfig.InvalidListener",
424 listenerClass, err);

Discussion