Issue Details (XML | Word | Printable)

Key: DNET-121
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Trivial Trivial
Assignee: Carlos Guzman Alvarez
Reporter: Jiri Cincura
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.
.NET Data provider

When running FbValidation without database name, you get not so pretty exception

Created: 24/Sep/07 04:53 AM   Updated: 24/Sep/07 08:59 AM
Component/s: ADO.NET Provider
Affects Version/s: 2.1.0 RC 2
Fix Version/s: None

 Description  « Hide
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)

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Carlos Guzman Alvarez added a comment - 24/Sep/07 08:58 AM
Fixed in SVN for version 2.5 hope to fix it in 2.1 as well later today