AS:ResourceIdByActiveProfile() throws error

I was trying to call in xslt AS:ResourceIdByActiveProfile()AS:ResourceIdByActiveProfile()

I was expecting shows information.

Instead I’ve got Object reference not set to an instance of an object.