Article - CS276163

UpdateStreamEntry and AddStreamEntry services fail with error "Access was attempted on a null reference variable" in ThingWorx

Modified: 24-Nov-2021   


Applies To

  • ThingWorx Platform 8.0 F000 to 9.2

Description

  • UpdateStreamEntry and AddStreamEntry services fail with the following error
[L: ERROR] [O: c.t.c.p.ReflectionProcessor] [I: ] [U: <user>] [S: ] [<thread>] ErrorCode(<errorcode>), Cause(null), Reason(Access was attempted on a null reference variable.), Possible Resolutions(Remove the reference to the null variable within your extension code.)
  • Service is executed by a user in a newly created organization, using a custom service on a Stream Thing
This is a PDF version of Article CS276163 and may be out of date. For the latest version click https://www.ptc.com/en/support/article/CS276163