You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2010/04/29 17:18:13 UTC
DO NOT REPLY [Bug 49224] NullPointerException in PooledConnection
when username or password are null
https://issues.apache.org/bugzilla/show_bug.cgi?id=49224
--- Comment #1 from Matt Passell <mp...@grovehillsoftware.com> 2010-04-29 11:18:10 EDT ---
I'm guessing that the solution is as simple as changing lines 215 and 216 of
PooledConnection to the following:
poolProperties.getDbProperties().setProperty("user", usr != null ? usr : "");
poolProperties.getDbProperties().setProperty("password", pwd != null ? pwd :
"");
--Matt
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org