DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14970>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14970 Passing null for factory causes NullPointerException Summary: Passing null for factory causes NullPointerException Product: Commons Version: 1.0.1 Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Pool AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] According to documentation of GenericObjectPool and StackObjectPool, it should be possible to add Objects to the pool manually rather than via a factory. This doesn't work because the implementations don't allow factory to be null. Also, returnObject() shouldn't be used for this purpose. A new method on the ObjectPool interface, addNewObject(), is required for this purpose. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>