Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An unexpected error occurred invoking 'QueryTableDesign' #1

Closed
waldo1001 opened this issue Oct 8, 2020 · 2 comments
Closed

An unexpected error occurred invoking 'QueryTableDesign' #1

waldo1001 opened this issue Oct 8, 2020 · 2 comments
Assignees
Labels
awaiting-feedback bug Something isn't working
Milestone

Comments

@waldo1001
Copy link

When openen a Page Designer:

[AL Studio][2020-10-08T20:15:32.969Z][Debug]: fail: Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher[8]
      Failed to invoke hub method 'QueryPageDesign'.
System.FormatException: Input string was not in a correct format.
   at System.Number.ThrowOverflowOrFormatException(ParsingStatus status, TypeCode type)
   at System.Number.ParseInt32(ReadOnlySpan`1 value, NumberStyles styles, NumberFormatInfo info)
   at System.Int32.Parse(String s)
   at ALObjectParser.Library.ALTable.<>c.<ProcessSections>b__21_0(IALSection s)
   at System.Linq.Utilities.<>c__DisplayClass2_0`3.<CombineSelectors>b__0(TSource x)
   at System.Linq.Enumerable.SelectEnumerableIterator`2.MoveNext()
   at System.Linq.Enumerable.SelectManySingleSelectorIterator`2.MoveNext()
   at System.Linq.Enumerable.ConcatIterator`1.MoveNext()
   at System.Linq.Enumerable.SelectEnumerableIterator`2.ToArray()
   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   at System.Linq.OrderedEnumerable`1.GetEnumerator()+MoveNext()
   at System.Linq.Enumerable.SelectIPartitionIterator`2.ToList()
   at ALStudio.Server.Services.ALObjectService.UpdatePageFields(ALPage page)
   at ALStudio.Server.Services.ALObjectService.GetPageDesign(SymbolData info, Boolean skipSourceTable)
   at ALStudio.Server.ALStudioHub.QueryPageDesign(SymbolData info)
   at Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher`1.ExecuteHubMethod(ObjectMethodExecutor methodExecutor, THub hub, Object[] arguments)
   at Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher`1.<>c__DisplayClass13_0.<<Invoke>g__ExecuteInvocation|0>d.MoveNext()


```



```
[AL Studio][2020-10-08T20:17:06.982Z][Debug]: fail: Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher[8]
      Failed to invoke hub method 'QueryPageDesign'.
System.FormatException: Input string was not in a correct format.
   at System.Number.ThrowOverflowOrFormatException(ParsingStatus status, TypeCode type)
   at System.Number.ParseInt32(ReadOnlySpan`1 value, NumberStyles styles, NumberFormatInfo info)
   at System.Int32.Parse(String s)
   at ALObjectParser.Library.ALTable.<>c.<ProcessSections>b__21_0(IALSection s)
   at System.Linq.Utilities.<>c__DisplayClass2_0`3.<CombineSelectors>b__0(TSource x)
   at System.Linq.Enumerable.SelectEnumerableIterator`2.MoveNext()
   at System.Linq.Enumerable.SelectManySingleSelectorIterator`2.MoveNext()
   at System.Linq.Enumerable.ConcatIterator`1.MoveNext()
   at System.Linq.Enumerable.SelectEnumerableIterator`2.ToArray()
   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   at System.Linq.OrderedEnumerable`1.GetEnumerator()+MoveNext()
   at System.Linq.Enumerable.SelectIPartitionIterator`2.ToList()
   at ALStudio.Server.Services.ALObjectService.UpdatePageFields(ALPage page)
   at ALStudio.Server.Services.ALObjectService.GetPageDesign(SymbolData info, Boolean skipSourceTable)
   at ALStudio.Server.ALStudioHub.QueryPageDesign(SymbolData info)
   at Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher`1.ExecuteHubMethod(ObjectMethodExecutor methodExecutor, THub hub, Object[] arguments)
   at Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher`1.<>c__DisplayClass13_0.<<Invoke>g__ExecuteInvocation|0>d.MoveNext()
```
@martonsagi martonsagi self-assigned this Oct 8, 2020
@martonsagi martonsagi added the bug Something isn't working label Oct 8, 2020
@martonsagi martonsagi added this to the v1.0 milestone Oct 8, 2020
@martonsagi
Copy link
Contributor

Hi @waldo1001

This is probably due to file parsing but I can't reproduce this issue. Do you get this for all kinds of pages or just specific ones?
I'd need some pointer to move on.

Thanks!

@martonsagi
Copy link
Contributor

Cancelling the first discovery might have also caused this (low probability). Anyway, the notification is not cancellable anymore as it is a mandatory first step to gather data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-feedback bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants