Hi,
I am facing problem to migrate one of my ThingWorx projects. We are using ThingWorx version 9.5.0-b143 for Development, Quality and Production systems.
i am getting the below error when trying to Export project from development and importing into quality system:-
"Unable to create service handler for getModelGroupData in Monitor:Thing : Handler getModelGroupData requires a ServiceDefinition"
but i dont have this service in the thing.
Along with it i am there are errors: Import Failed: java.lang.NullPointerException
Solved! Go to Solution.
I just changed the way the event variables are handled inside subscription and then i was able to migrate the project.
The change i did was:
earlier: event[me.variablename].value
now: event[variablename].value
Don't make people guess to help you.
What Thingworx version, what kind of project (TWX? Java extension?), what kind of migration, from where to where, stack traces etc, it's all unclear.
We are currently using Thingworx version 9.5.0-b143 for all the source and destination systems.
We are trying to migrate a thingworx project. Initialy we used GIT for migrating which worked for the first time. But then it stopped and now the import/export function is not working.
We see the same error when trying migration with Git or Exporting project from source and importing it in the destination.
Hi @Vimal_Rawat,
Please double check if you have any service or subscription named getModelGroupData in a Thing called Monitor.
Import any entities that this service or subscription is referring to in the implementation (code)
Reference article: https://www.ptc.com/en/support/article/CS421423
FYI, you can use ListExternalDependencies service of the project to help you identify if all the dependencies are included in your project.
Make sure you imported all the required extensions to your quality system first before importing entities; try restarting the quality system before doing import.
I just changed the way the event variables are handled inside subscription and then i was able to migrate the project.
The change i did was:
earlier: event[me.variablename].value
now: event[variablename].value