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

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

"Ghost things" and failing export

anderswi
1-Newbie

"Ghost things" and failing export

Hi,

I created a bunch of things via scripting and for some reason some of them became invisible in the IDE. They do exist in the database somehow because when I try to create another thing with the same name Thingworx tells me that it already exists.

When I try to delete or even access such a "ghost thing" from my script I get something similar to:

Wrapped org.neo4j.graphdb.NotFoundException: Node 1567 not found Cause: Node 1567 not found

I get the same error when trying to export my entities, so I can't really remove the /ThingworxStorage and start over :-(

I'm using Thingworx 4.2.0 and Java 1.7.0_45 on a Mac

Thanks,

Anders

3 REPLIES 3

I solved it by stopping and re-deploying Thingworx.

paic
1-Newbie
(To:anderswi)

Hi Anders,


Please be very careful in these situations.

I believe we sort of stepped through this process, so I trust you are making sure that you are Enabling and Restarting your created Things before setting their Properties.


Ghost things occur when you create Things through script and the script has a mistake in it somewhere after the Create or Clone Thing happens.


Generally those indeed can be cleared out by clearing out the memory of the server i.e. restarting Thingworx or Tomcat. Please be careful though, if you restart by shutting down and starting up Tomcat, give it enough time to properly spin down and up Thingworx.


If you need help with the script you are running let us know.



Thanks Pai. You're right - I improved the error handling in my create script and it seem to have chased away the ghosts :)

Top Tags