Menu

#3 Unsure where errors are cmming from

open
nobody
None
5
2011-01-11
2011-01-11
No

We are testing access to SQL 2008 using the following table. and getting an error. the statemetn is valid. I can remove the results and the test will execute (Fail as expected)

Table
!|Query|SELECT cs.CodesetName, cs.StdColumnName,cs.CodesetDsc,c.CodeId,c.CodesetId,c.CodeValue,c.CodeDsc,c.DisplaySeq,c.IsDefault,c.IsActive FROM meta.Codeset cs INNER JOIN meta.Code c ON c.CodesetId = cs.CodesetId ORDER BY CodesetId, DisplaySeq, CodeValue|
|CodesetName|StdColumnName|CodesetDsc|CodeId|CodesetId|CodeValue|CodeDsc|DisplaySeq|IsDefault|IsActive|
|Environment|Environment_Cd|Business Environment that a SQL instance serves|7|2|Infra|Infrastructure|0|1|1|
|Environment|Environment_Cd|Business Environment that a SQL instance serves|5|2|Prod |Production|0|1|1|
|Environment|Environment_Cd|Business Environment that a SQL instance serves|3|2|QA |Quality assurance|0|1|1|
|Environment|Environment_Cd|Business Environment that a SQL instance serves|6|2|Rpt |Reporting|0|1|1|
|Environment|Environment_Cd|Business Environment that a SQL instance serves|4|2|UAT |User acceptance testing|0|1|1|
|Environment|Environment_Cd|Business Environment that a SQL instance serves|2|2|Dev |Development|1|1|1|

Stack trace
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.FormatException: String was not recognized as a valid Boolean.
at System.Boolean.Parse(String value)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at fit.TypeAdapter.Parse(String theInput, Type theType)
at fitnesse.handlers.AbstractCellHandler.HandleEvaluate(Fixture fixture, Parse cell, Accessor accessor)
at dbfit.AbstractDataTableFixture.FindMatchingTableRow(Parse row, DataTable table) in D:\work\dbfit\impl\dotnet\src\fixture\AbstractDataTableFixture.cs:line 77
at dbfit.AbstractDataTableFixture.DoRows(Parse rows) in D:\work\dbfit\impl\dotnet\src\fixture\AbstractDataTableFixture.cs:line 54
at fitlibrary.FlowFixtureBase.ProcessRestOfTable(Fixture theFixture, Parse theRestOfTheRows)

Discussion


Log in to post a comment.