NullReferenceException
when calling Dbosoft.YaNco.Table.GetTypeDescription()
method
#260
Labels
bug
Something isn't working
Call stack:
What is null?
The
dataContainer
that is passed toApi.GetTypeDescription
is null.Why?
In RfcRuntime.cs, line 167 we have:
Both
StructureHandle
andFunctionHandle
classes implementIDataContainerHandle
, butTableHandle
class does not. When theGetTypeDescription()
method is called on aTable
object, since its_handle
field does not implementInternal.IDataContainerHandle
, the above line of code passesnull
to theApi.GetTypeDescription
.The text was updated successfully, but these errors were encountered: