Skip to main content
14-Alexandrite
March 28, 2025
Solved

Unable to migrate a project.

  • March 28, 2025
  • 1 reply
  • 898 views

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

Best answer by Vimal_Rawat

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

1 reply

Rocko
19-Tanzanite
March 28, 2025

https://community.ptc.com/t5/Welcome-How-To-s/Ask-a-good-question-on-Thingworx-Kepware-and-Navigate/td-p/1002007

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.

14-Alexandrite
March 28, 2025

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.

16-Pearl
April 11, 2025

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.