cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

ThingWorx Navigate is now Windchill Navigate Learn More

Translate the entire conversation x

Thing deleted still appears in application logs

javed_a
12-Amethyst

Thing deleted still appears in application logs

Hello All,

I had created a thing (assigned value stream) programmatically and deleted programmatically (first value stream then thing).
Now, Thing is not visible in composer, there is no ghost entity, no reference in any data table.

 

Still some time it appears in application log as error that thing not found.  Any suggestion to move further.

Regards,
Javed Akhtar
ACCEPTED SOLUTION

Accepted Solutions
Rocko
19-Tanzanite
(To:javed_a)

https://support.ptc.com/help/thingworx/platform/r10.0/en/index.html#page/ThingWorx/Help/Composer/System/Logs/ScriptErrorLog.html#wwID0EYDR6

https://support.ptc.com/help/thingworx/platform/r10.0/en/index.html#page/ThingWorx/Help/Composer/System/Subsystems/LoggingSubsystem.html#wwID0ENRS5

 

Check boxes "Enable Stack Tracing" and "Enable Script Stack Tracing" in Logging subsystem.

 

Also, when you can't find references, that means the Thing name might be a dynamic parameter to some service, or it could be an external service that wasn't updated trying to access ThingWorx with the old thing name. Could be an edge device or someone using REST API.

View solution in original post

4 REPLIES 4
Rocko
19-Tanzanite
(To:javed_a)

couple of options:

1) restart the server

2) recreate the thing with the same name and then check the "referenced by"

3) export your projects to XML and text search for the entity name

4) enable stack trace and check the error log in the file system (the one that isn't listed in Composer)

javed_a
12-Amethyst
(To:Rocko)

Thanks @Rocko for your suggestion, I tried below options:
1. Restart does not help,

2. Good Idea, I did it, however there is no reference found.
3. Exported individual project no reference found, exported all the project reference found but some kind of historical not clear. I will try to share screenshot here.
4. Could you please elaborate on this point.

Also, this issue seems intermittent and sometime appears in logs.

Regards,
Javed Akhtar
Rocko
19-Tanzanite
(To:javed_a)

https://support.ptc.com/help/thingworx/platform/r10.0/en/index.html#page/ThingWorx/Help/Composer/System/Logs/ScriptErrorLog.html#wwID0EYDR6

https://support.ptc.com/help/thingworx/platform/r10.0/en/index.html#page/ThingWorx/Help/Composer/System/Subsystems/LoggingSubsystem.html#wwID0ENRS5

 

Check boxes "Enable Stack Tracing" and "Enable Script Stack Tracing" in Logging subsystem.

 

Also, when you can't find references, that means the Thing name might be a dynamic parameter to some service, or it could be an external service that wasn't updated trying to access ThingWorx with the old thing name. Could be an edge device or someone using REST API.

Hello @javed_a,

 

It looks like you have some responses from a community expert. If any of these replies helped you solve your question please mark the appropriate reply as the Accepted Solution. 
Of course, if you have more to share on your issue, please let the Community know so other community members can continue to help you.

Thanks,
Vivek N.
Community Moderation Team.

Announcements


Top Tags