Quantcast
Channel: AX Developer Forum
Viewing all articles
Browse latest Browse all 9880

DictTable.isMap() method returning NULL

$
0
0

Hi,

I am trying to use myMapObj.isMap() method and it returns me null.

Code:

    if (!myMapObj.isMap())
    {
        throw error(Error::wrongUseOfFunction(funcname()));
    }

Here 'myMapObj' is a class i have extended from SysDictTable class.

The statement above works fine when execute is CIL is unticked. As soon as i tick CIL option it starts giving an error as below :

"System.NullReferenceException: Object reference not set to an instance of an object."

I have Compiled the AOT and generated incremental CIL.

Looking forward for your inputs regarding the same.

Thanks in advance.

 

 

 


Viewing all articles
Browse latest Browse all 9880

Trending Articles