You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm thinking there is something being interpreted as a Slim table (my ChildrenNames cell) in fitsharp--but it isn't treated that way in the Java slim. The test passes in Java but I
get an exception with fitsharp. My guess is it is expecting a length and getting the first name in my list.
===================== My test page (Java) ================
!|import|
|com.rhjensen.queryList|
!|Query: SimpleQueryList |
| Name | SpouseName | ChildrenNames |
| Eric | Karin | [Amanda, Erin, Grace] |
===================== My test page (fitsharp) ================
!|import|
| SlimBasics |
!|Query: SimpleQueryList |
| Name | SpouseName | ChildrenNames |
| Eric | Karin | [Amanda, Erin, Grace] |
====================== Java class =====================
public class SimpleQueryList {
public List query()
{
return
list(
list(
list("Name", "Eric"),
list("SpouseName", "Karin"),
list("ChildrenNames", "[Amanda, Erin, Grace]")
)
);
}
}
======================== C# class =====================
namespace SlimBasics
{
public class SimpleQueryList
{
public List Query()
{
List result = new List();
List<object> ericList = new List<object>();
List<object> ericName = new List<object>();
ericName.Add("Name");
ericName.Add("Eric");
List<object> ericSpouse = new List<object>();
ericSpouse.Add("SpouseName");
ericSpouse.Add("Karin");
List<object> ericChildren = new List<object>();
ericChildren.Add("ChildrenNames");
ericChildren.Add("[Amanda, Erin, Grace]");
ericList.Add(ericName);
ericList.Add(ericSpouse);
ericList.Add(ericChildren);
result.Add(ericList);
return result;
}
}
EXCEPTION:System.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at fitSharp.Slim.Service.Document.ReadList(String input)
at fitSharp.Slim.Service.Document.Read(String input)
at fitSharp.Slim.Service.Document.ReadList(String input)
at fitSharp.Slim.Service.Document.Read(String input)
at fitSharp.Slim.Service.Document.ReadList(String input)
at fitSharp.Slim.Service.Document.Read(String input)
at fitSharp.Slim.Service.Document.ReadList(String input)
at fitSharp.Slim.Service.Document.Read(String input)
at fitSharp.Slim.Service.Document.ReadList(String input)
at fitSharp.Slim.Service.Document.Read(String input)
at fitSharp.Slim.Service.Runner.ExecuteInstruction(String instruction)
at fitSharp.Slim.Service.Runner.Execute(String instruction)
The text was updated successfully, but these errors were encountered:
I'm thinking there is something being interpreted as a Slim table (my ChildrenNames cell) in fitsharp--but it isn't treated that way in the Java slim. The test passes in Java but I
get an exception with fitsharp. My guess is it is expecting a length and getting the first name in my list.
===================== My test page (Java) ================
!|import|
|com.rhjensen.queryList|
!|Query: SimpleQueryList |
| Name | SpouseName | ChildrenNames |
| Eric | Karin | [Amanda, Erin, Grace] |
===================== My test page (fitsharp) ================
!|import|
| SlimBasics |
!|Query: SimpleQueryList |
| Name | SpouseName | ChildrenNames |
| Eric | Karin | [Amanda, Erin, Grace] |
====================== Java class =====================
public class SimpleQueryList {
public List query()
{
return
list(
list(
list("Name", "Eric"),
list("SpouseName", "Karin"),
list("ChildrenNames", "[Amanda, Erin, Grace]")
)
);
}
}
======================== C# class =====================
namespace SlimBasics
{
public class SimpleQueryList
{
public List Query()
{
List result = new List();
======================== fitsharp Exception =====================
EXCEPTION:System.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at fitSharp.Slim.Service.Document.ReadList(String input)
at fitSharp.Slim.Service.Document.Read(String input)
at fitSharp.Slim.Service.Document.ReadList(String input)
at fitSharp.Slim.Service.Document.Read(String input)
at fitSharp.Slim.Service.Document.ReadList(String input)
at fitSharp.Slim.Service.Document.Read(String input)
at fitSharp.Slim.Service.Document.ReadList(String input)
at fitSharp.Slim.Service.Document.Read(String input)
at fitSharp.Slim.Service.Document.ReadList(String input)
at fitSharp.Slim.Service.Document.Read(String input)
at fitSharp.Slim.Service.Runner.ExecuteInstruction(String instruction)
at fitSharp.Slim.Service.Runner.Execute(String instruction)
The text was updated successfully, but these errors were encountered: