Article - CS283072

GetProperties calls on a Mashup sometimes fail when "Automatically update values when able" is check within the Mashup Builder on ThingWorx Platform

Modified: 08-Jul-2021   


Applies To

  • ThingWorx Platform 7.4 to 8.5

Description

  • Mashup loads inconsistently loads with the GetProperties service failing when Automatically update values when able is enabled
    • When Automatically update values when able is disabled the Mashup loads as expected every time
  • Multiple errors appear in ApplicationLog when viewing a Mashup which calls the GetProperties service with Automatically update values when able enabled
  • Users are randomly being redirected to the Not authorized page located at https://<ThingWorx FQDN:<Port>>/Thingworx/offlimit/ when selecting links within an embedded Mashup
  • Mashups that make a GetProperties service call sometimes fail and result in a Failed to dispatch event. Invalid Thing In Event or Failed to initialize persistent thing property ERROR level message in the ThingWorx Platform ApplicationLog
  • Clicking objects within a Mashup sometimes redirects users to a different page with the following contents:
    • Not authorized
      Looks like you do not have access to this page
  • One or both of the following sets of errors are observed in the ApplicationLog or ErrorLog files located in <ThingworxStorage>\logs:
    • [L: ERROR] [O: c.t.t.Thing] [I: ] [U: SuperUser] [S: ] [T: <Thread>] Failed to initialize persistent thing property
      [L: ERROR] [O: c.t.t.Thing] [I: ] [U: SuperUser] [S: ] [T: <Thread>] Thing[PersistentSession<Session ID>] loading property values failed
      [L: ERROR] [O: c.t.t.c.RemoteThing] [I: PersistentSession37cc2e27-101b-4ce4-b15e-ee4b16e55254] [U: SuperUser] [S: ] [T: http-nio-8080-exec-4] ERROR occurred trying to set property 'lastConnection':null
    • [L: ERROR] [O: E.c.q.l.c.Logger] [I: ] [U: SuperUser] [S: ] [P: ] [T: <Thread>] Failed to dispatch event. Invalid Thing In Event Type.Thing:Entity.PersistentSession<Session ID>:Event.AnyDataChange:PersistentSession<Session ID>
This is a PDF version of Article CS283072 and may be out of date. For the latest version click https://www.ptc.com/en/support/article/CS283072