Skip to content

X# 2.13 Beta Runtime error Das Objekt des Typs "xxxkann nicht in Typ "System.Func`2[XSharp.__Usual,System.Boolean]"  #1062

@ArneOrtlinghaus

Description

@ArneOrtlinghaus

Describe the bug
Runtime error that happens with the attached program

To Reproduce
But now I get strange errors when running the program:
System.InvalidCastException
HResult=0x80004002
Message=Das Objekt des Typs "tabSettingsAllgemeinEdit" kann nicht in Typ "System.Func`2[XSharp.__Usual,System.Boolean]" umgewandelt werden.
Source=BaseSystem
StackTrace:
at DataServer.RegisterClient(Object oForm) in C:\projects\xsharp\AcsLib\src\BaseSystem\DataServer.prg:line 291
at IM.XsLib.AcsSQL.SqlDynamic.RegisterClient(Object oForm) in C:\projects\xsharp\AcsLib\src\AcsSQL\SqlDynamic.prg:line 1561

The position of the code is this. This is also verified with the debugger. The array is empty in this moment.

->>> if AScan( aClients, oForm ) # 0
ConsoleTests.zip

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions