Community Tip - You can change your system assigned username to something more personal in your community settings. X
Hi
I have a thing at my Developer zone which I am unable to delete or edit. Trying to delete it gives the following popup:
Not all selected entities could be deleted.
Entity Name | Entity Type | |
---|---|---|
DynamicNode | Things | Fail - Unable to delete thing: [DynamicNode] null |
I also get the following error to the log:
2016-01-28 10:30:27 | ERROR | [context: com.thingworx.webservices.context.HttpExecutionContext@612b1b3][message: Unable to delete thing: [DynamicNode] null] | <my email> | c.t.w.BaseService |
If I try to edit DynamicNode thing or anything that is dependent of it I get the following error:
save failed, status: "Internal Server Error", message: "Import Failed: java.lang.NullPointerException"
From this action I get the following log entries:
2016-01-28 10:32:05 | ERROR | [context: com.thingworx.webservices.context.HttpExecutionContext@56ac97d7][message: Import Failed: java.lang.NullPointerException] | <my email> | c.t.w.BaseService | http-bio-8080-exec-47 | ||
2016-01-28 10:32:05 | WARN | *** Unable to activate property bindings on original Thing: [DynamicNode] *** | <my email> | c.t.c.ImportProcessor | http-bio-8080-exec-47 | ||
2016-01-28 10:32:05 | ERROR | Error occurred while validating HTTP parameter: reason | <my email> | E.c.t.s.f.ValidatingHttpRequest | http-bio-8080-exec-47 | ||
2016-01-28 10:32:05 | ERROR | Unable to process import: java.lang.NullPointerException | <my email> | c.t.c.ImportProcessor |
This problem occurred when I was trying to create a service which would bind DynamicNode to another Thing given as the input parameter. Is there any way to delete the thing?
Solved! Go to Solution.
This is how I ended up solving the problem:
1. exported everything to a file.
(2. Importing the file to a fresh developer's zone server might not work out because of the broken things.)
3. Create new Things to the new server with the same names as the things which were causing problems.
4. Importing the file to the new server
5. Delete things which were created in step 3.
This is how I ended up solving the problem:
1. exported everything to a file.
(2. Importing the file to a fresh developer's zone server might not work out because of the broken things.)
3. Create new Things to the new server with the same names as the things which were causing problems.
4. Importing the file to the new server
5. Delete things which were created in step 3.