Solved
Hi Team,
I have a device connected to a remote Thing and when I delete it and try to create a new Thing with the same name I'm experiencing this error:
Failed to create device : JavaException: java.lang.Exception: Unable to create thing: DeviceThing.T : [1,018] Data store unknown error: [Error occurred while accessing the model provider.]
There are not ghost Things, the Thing doesn't exist, but Thingworx doesn't allow me to create a Thing with the same name.
I found this ticket,
that seems to be exactly the same case as mine, but there are no solutions.
Is there any possible solution for this ?
In my specific case I would like to avoid restarting TomCat, unless there was some evidence that it would solve the problem.
Note: I'm using ThingWorx 8.4.2.
Thanks in advance.
Hi
How did you delete the Thing? From doing some research on this, it sounds like the Thing still exists in the database (assuming that it doesn't exist as a ghost entity). Restarting Tomcat should cause the entities persisted in the database to be recreated in memory, and then can be deleted normally.
It may be that your logic is causing the issue, but we would need to know more about your use case, recreation steps, and script to provide further assistance.
Regards.
--Sharon
Welcome to the PTC Community
No account yet? Create an account
Please use your PTC eSupport account.
LoginEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.

