Mendix Initialization

0
Hi, I’ve just converted my project from Mendix 7.23.10 to Mendix 8.9 and I get an initialization error when I try to run the project. Please see the details below. A few more steps I’ve taken: Create a new, project in Mendix 8.9 and run it – this works, suggesting something goes wrong with the conversion of my project specifically Convert from Mendix 7.23.10 to Mendix 7.23.14, then to 8.9 – Same result Convert from Mendix 7.23.10 to 8.7 and 8.0 – same result Convert using different PCs with different JDKs installed (8 or 11) – same resuult   Does anyone have any ideas? Thanks! ‘An error occured while running the project. Error message: Type (Not set) is not supported.   System.Exception: Type (Not set) is not supported    at Mendix.Modeler.Integration.EdmPropertyBuilder.ConvertToEdmType(DataType type) in C:\jenkins-ci\workspace\AppStudio4.0-Build@2\modeler\Mendix.Modeler.Integration\Services\OData\EdmPropertyBuilder.cs:line 56    at Mendix.Modeler.Integration.EdmPropertyBuilder.BuildProperty(IDataMember dataMember, DataType dataType) in C:\jenkins-ci\workspace\AppStudio4.0-Build@2\modeler\Mendix.Modeler.Integration\Services\OData\EdmPropertyBuilder.cs:line 18    at Mendix.Modeler.Integration.EdmEntityTypeBuilder.<GetPropertyElements>d__6.MoveNext() in C:\jenkins-ci\workspace\AppStudio4.0-Build@2\modeler\Mendix.Modeler.Integration\Services\OData\EdmEntityTypeBuilder.cs:line 84    at System.Xml.Linq.XContainer.AddContentSkipNotify(Object content)    at Mendix.Modeler.Integration.EdmEntityTypeBuilder.Build(IPublishedOdataResource publishedODataResource, IList`1 associationSets) in C:\jenkins-ci\workspace\AppStudio4.0-Build@2\modeler\Mendix.Modeler.Integration\Services\OData\EdmEntityTypeBuilder.cs:line 39    at Mendix.Modeler.Integration.ODataMetadataBuilder.<GetEntityTypeElements>d__9.MoveNext() in C:\jenkins-ci\workspace\AppStudio4.0-Build@2\modeler\Mendix.Modeler.Integration\Services\OData\ODataMetadataBuilder.cs:line 81    at System.Xml.Linq.XContainer.AddContentSkipNotify(Object content)    at System.Xml.Linq.XContainer.AddContentSkipNotify(Object content)    at Mendix.Modeler.Integration.ODataMetadataBuilder.GetSchemaElement() in C:\jenkins-ci\workspace\AppStudio4.0-Build@2\modeler\Mendix.Modeler.Integration\Services\OData\ODataMetadataBuilder.cs:line 75    at Mendix.Modeler.Integration.ODataMetadataBuilder.GetDataServicesElement() in C:\jenkins-ci\workspace\AppStudio4.0-Build@2\modeler\Mendix.Modeler.Integration\Services\OData\ODataMetadataBuilder.cs:line 58    at Mendix.Modeler.Integration.ODataMetadataBuilder.GetEdmxElement() in C:\jenkins-ci\workspace\AppStudio4.0-Build@2\modeler\Mendix.Modeler.Integration\Services\OData\ODataMetadataBuilder.cs:line 47    at Mendix.Modeler.Integration.ODataMetadataBuilder.Build() in C:\jenkins-ci\workspace\AppStudio4.0-Build@2\modeler\Mendix.Modeler.Integration\Services\OData\ODataMetadataBuilder.cs:line 39    at Mendix.Modeler.Integration.Dependencies.PublishedOdataServicesDependencyBuilder.GetContracts(IPublishedOdataService service) in C:\jenkins-ci\workspace\AppStudio4.0-Build@2\modeler\Mendix.Modeler.Integration\Services\Dependencies\PublishedOdataServicesDependencyBuilder.cs:line 34    at Mendix.Modeler.Integration.Dependencies.PublishedOdataServicesDependencyBuilder.<>c__DisplayClass0_0.<Build>b__0(IPublishedOdataService service) in C:\jenkins-ci\workspace\AppStudio4.0-Build@2\modeler\Mendix.Modeler.Integration\Services\Dependencies\PublishedOdataServicesDependencyBuilder.cs:line 15    at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()    at System.Linq.Enumerable.<SelectManyIterator>d__17`2.MoveNext()    at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)    at Mendix.Modeler.Integration.Dependencies.ServiceDependenciesBuilder.Build(IProject project) in C:\jenkins-ci\workspace\AppStudio4.0-Build@2\modeler\Mendix.Modeler.Integration\Services\Dependencies\ServiceDependenciesBuilder.cs:line 23    at Mendix.Modeler.Integration.DependenciesDeploymentWorker.GenerateDependenciesJson(IProject project) in C:\jenkins-ci\workspace\AppStudio4.0-Build@2\modeler\Mendix.Modeler.Integration\Plugin\DependenciesDeploymentWorker.cs:line 42    at Mendix.Modeler.Deployment.DeploymentProcessBuilder.<>c__DisplayClass12_0.<AddBuildStepsForPhase>b__0(IProgressInfo info) in C:\jenkins-ci\workspace\AppStudio4.0-Build@2\modeler\Mendix.Modeler.Core\Deployment\DeploymentProcessBuilder.cs:line 124    at Mendix.Modeler.Deployment.FileIOExceptionHandlingProcess.CatchDiskException(Action action) in C:\jenkins-ci\workspace\AppStudio4.0-Build@2\modeler\Mendix.Modeler.Core\Deployment\FileIOExceptionHandlingProcess.cs:line 28    at Mendix.Modeler.Deployment.FileIOExceptionHandlingProcess.<>c__DisplayClass1_0.<AddStep>b__0(IProgressInfo info) in C:\jenkins-ci\workspace\AppStudio4.0-Build@2\modeler\Mendix.Modeler.Core\Deployment\FileIOExceptionHandlingProcess.cs:line 19    at Mendix.Modeler.UIFramework.Progress.ProcessRunner.RunStep(Step step) in C:\jenkins-ci\workspace\AppStudio4.0-Build@2\modeler\Mendix.Modeler.UIFramework\Progress\ProcessRunner.cs:line 83    at Mendix.Modeler.UIFramework.Progress.ProcessRunner.OnDoWork(Object sender, DoWorkEventArgs e) in C:\jenkins-ci\workspace\AppStudio4.0-Build@2\modeler\Mendix.Modeler.UIFramework\Progress\ProcessRunner.cs:line 63    at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)    at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
asked
1 answers
2

Hi,

This issue has been resolved.

There were some OData services which were excluded from the project before doing the upgrade from Mx7 to Mx8. All i had to do was, after the upgrade, delete those, or re-include them in the project and exclude them again.

Any OData services which were already present resulted in no issues. 

All the best,

Cris

answered