Not able to connect mendix to Teamcenter

0
Error : System.NullReferenceException: Object reference not set to an instance of an object.at Mendix.Modeler.Deployment.CoreMetadataWriter.WriteMetadataProperties(IProject project, JsonWriter writer) in C:\jenkins-ci\workspace\AppStudio3.0-Build@2\modeler\Mendix.Modeler.Core\Deployment\CoreMetadataWriter.cs:line 57at Mendix.Modeler.Deployment.MetadataFileGenerator.GenerateMetadataFile(IProject project) in C:\jenkins-ci\workspace\AppStudio3.0-Build@2\modeler\Mendix.Modeler.Core\Deployment\MetadataFileGenerator.cs:line 36at Mendix.Modeler.Deployment.CoreDeploymentWork.GenerateFiles(IProject project, DeploymentSettings settings, Boolean generateForLocalDeployment) in C:\jenkins-ci\workspace\AppStudio3.0-Build@2\modeler\Mendix.Modeler.Core\Deployment\CoreDeploymentWork.cs:line 126at Mendix.Modeler.Deployment.CoreDeploymentWork.WriteFiles(IProject project, DeploymentSettings settings, IProgressInfo info, Boolean generateForLocalDeployment) in C:\jenkins-ci\workspace\AppStudio3.0-Build@2\modeler\Mendix.Modeler.Core\Deployment\CoreDeploymentWork.cs:line 90at Mendix.Modeler.Deployment.DeploymentProcessBuilder.<>c__DisplayClass12_0.<AddBuildStepsForPhase>b__0(IProgressInfo info) in C:\jenkins-ci\workspace\AppStudio3.0-Build@2\modeler\Mendix.Modeler.Core\Deployment\DeploymentProcessBuilder.cs:line 122at Mendix.Modeler.Deployment.FileIOExceptionHandlingProcess.CatchDiskException(Action action) in C:\jenkins-ci\workspace\AppStudio3.0-Build@2\modeler\Mendix.Modeler.Core\Deployment\FileIOExceptionHandlingProcess.cs:line 28at Mendix.Modeler.Deployment.FileIOExceptionHandlingProcess.<>c__DisplayClass1_0.<AddStep>b__0(IProgressInfo info) in C:\jenkins-ci\workspace\AppStudio3.0-Build@2\modeler\Mendix.Modeler.Core\Deployment\FileIOExceptionHandlingProcess.cs:line 19at Mendix.Modeler.UIFramework.Progress.ProcessRunner.RunStep(Step step) in C:\jenkins-ci\workspace\AppStudio3.0-Build@2\modeler\Mendix.Modeler.UIFramework\Progress\ProcessRunner.cs:line 81at Mendix.Modeler.UIFramework.Progress.ProcessRunner.OnDoWork(Object sender, DoWorkEventArgs e) in C:\jenkins-ci\workspace\AppStudio3.0-Build@2\modeler\Mendix.Modeler.UIFramework\Progress\ProcessRunner.cs:line 63at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)   Any leads will be appreciated.
asked
1 answers
0

I had the same error today and found a solution for my specific case. I copy-pasted a list view to another page and the listview did a search by xpath containing '[%CurrentObject%]']

The new page however did not have a dataview. The Modeler does not detect this error and on startup you get:

System.NullReferenceException: Object reference not set to an instance of an object.

answered