When running FbValidation without database name, you get not so pretty exception --------------------------------------------------------------------------------
Key: DNET-121 URL: http://tracker.firebirdsql.org/browse/DNET-121 Project: .NET Data provider Issue Type: Bug Components: ADO.NET Provider Affects Versions: 2.1.0 RC 2 Reporter: Jiri Cincura Assignee: Carlos Guzman Alvarez Priority: Trivial When running FbValidation without database name, you get Unhandled Exception: System.ArgumentNullException: String reference not set to an instance of a String. Parameter name: s at System.Text.Encoding.GetBytes(String s) at FirebirdSql.Data.Services.FbValidation.Execute() in <snip>\FirebirdClient-2.1.0-RC2-Src\NETProvider\source\FirebirdSql\Data\Services\FbValidation.cs:line 76 Maybe wil be good to make some tests and then throw more developer-friendly exception. Tests will be maybe good for all FbService classes (I'll create separate ticket if so) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://tracker.firebirdsql.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Firebird-net-provider mailing list Firebird-net-provider@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/firebird-net-provider