Convert projects to 5.9 / 5.10 doenst work: project file not supported

1
For 2 of our projects we can't convert projects to 5.9. One of them is on 5.7 and can't be converted to 5.8.1 or directly 5.10. One of them is on 5.8.1 and can't be converted to 5.9 or directly to 5.10 Exact error message is: "The project located at x cannot be opened, because the version of the original project file is not supported by this Modeler. Please commit the project first using the Modeler that you last opened it with." Anybody recognizing this issue? Is there a quick fix? If not I'll file a ticket but it seems that more projects should have this issue.
asked
6 answers
2

The error message that you mention should only occur in the corner case where you upgrade a Team Server project from version 3.x via 4.x to 5.x without committing in between.

However, this error message also inadvertently hides other errors that occur when opening your project, for example the NullReferenceException that Pim mentioned.

Try renaming the hidden '.svn' folder in your project directory to something else and then opening your project. This circumvents the first error message and you will see the real error that occurs when opening the project. Please file a ticket if you cannot proceed with your project because of this error.

Do not forget to rename the folder back to '.svn' afterwards. :)

answered
0

What happens if you move to 5.9.1? After the memory leak issue i've updated our 5.8.1. application to 5.9.1. without any problems.

answered
0

And if you download again from team server using the new release or export the working project in the old release and import it in the new release?

answered
0

Ok it's the mapping of the PAIN008 xml. These mappings are different in version 5.2 and 5.8.1 and 5.10 see screenshot

answered
0

Same issue with an other project. However there are no XML mappings, Web Service or App Service in the project. The error directed towards an issue converting an app service.

System.NullReferenceException: Object reference not set to an instance of an object.
   at Mendix.Modeler.Integration.Msd.GetEnumerationIdentifier(IAttr attribute) in c:\jenkins\workspace\AppStudio-Integration-Modeler\src\modeler\Mendix.Modeler.Integration\MendixServiceDefinition\Msd.cs:line 229
   at Mendix.Modeler.Integration.ConnectorVariableBuilder.WalkObjectMappingElement(IObjectMappingElement objectMappingElement, Boolean fromString) in c:\jenkins\workspace\AppStudio-Integration-Modeler\src\modeler\Mendix.Modeler.Integration\AppServices\ConnectorVariableBuilder.cs:line 42
   at Mendix.Modeler.Integration.ConnectorVariableBuilder.AttachConverterMicroflow(MappingDocument mappingDocument, Boolean fromString) in c:\jenkins\workspace\AppStudio-Integration-Modeler\src\modeler\Mendix.Modeler.Integration\AppServices\ConnectorVariableBuilder.cs:line 30
   at Mendix.Modeler.Integration.ConnectorParameterBuilder.CreateObjectParameterMapping(MsdMicroflowParameter msdParameter) in c:\jenkins\workspace\AppStudio-Integration-Modeler\src\modeler\Mendix.Modeler.Integration\AppServices\ConnectorParameterBuilder.cs:line 126
   at Mendix.Modeler.Integration.ConnectorParameterBuilder.CreateParameterMappings() in c:\jenkins\workspace\AppStudio-Integration-Modeler\src\modeler\Mendix.Modeler.Integration\AppServices\ConnectorParameterBuilder.cs:line 45
   at Mendix.Modeler.Integration.ConnectorModuleBuilder.CreateActionMicroflow(MsdMicroflow msdMicroflow) in c:\jenkins\workspace\AppStudio-Integration-Modeler\src\modeler\Mendix.Modeler.Integration\AppServices\ConnectorModuleBuilder.cs:line 84
   at Mendix.Modeler.Integration.ConnectorModuleBuilder.FillModule() in c:\jenkins\workspace\AppStudio-Integration-Modeler\src\modeler\Mendix.Modeler.Integration\AppServices\ConnectorModuleBuilder.cs:line 53
   at Mendix.Modeler.Integration.ConnectorModuleBuilder..ctor(IConsumedAppService consumedAppService) in c:\jenkins\workspace\AppStudio-Integration-Modeler\src\modeler\Mendix.Modeler.Integration\AppServices\ConnectorModuleBuilder.cs:line 31
   at Mendix.Modeler.Integration.ConsumedAppService.SetImplementationModule(IProject project) in c:\jenkins\workspace\AppStudio-Integration-Modeler\src\modeler\Mendix.Modeler.Integration\AppServices\ConsumedAppService.cs:line 242
   at Mendix.Modeler.Integration.ConsumedAppService.SetMsd(Msd msd) in c:\jenkins\workspace\AppStudio-Integration-Modeler\src\modeler\Mendix.Modeler.Integration\AppServices\ConsumedAppService.cs:line 150
   at Mendix.Modeler.Integration.ConvertAppServiceMsd.Convert(IProject project) in c:\jenkins\workspace\AppStudio-Integration-Modeler\src\modeler\Mendix.Modeler.Integration\Conversions\ConvertAppServiceMsd.cs:line 39

After removing them it did not solved the issue Ill submit a ticket

answered
0

I'm getting a similar issue when trying to convert from 4.8.9 to 5.12.0 :-(

I initially got the same error: The project located at x cannot be opened, because the version of the original project file is not supported by this Modeler. Please commit the project first using the Modeler that you last opened it with.

And after deleting the hidden .svn folder I get the below stack trace:

System.NullReferenceException: Object reference not set to an instance of an object.
   at Mendix.Modeler.Integration.SchemaImporter.HandleComplexType(XmlSchemaComplexType xmlComplexType, XmlSchemaElement xmlElement, ISchemaType schemaType) in c:\jenkins\workspace\AppStudio-Integration-Modeler\src\modeler\Mendix.Modeler.Integration\XmlSchemas\SchemaImporter.cs:line 288
   at Mendix.Modeler.Integration.SchemaImporter.ImportXmlType(XmlSchemaType xmlSchemaType, XmlSchemaElement xmlElement) in c:\jenkins\workspace\AppStudio-Integration-Modeler\src\modeler\Mendix.Modeler.Integration\XmlSchemas\SchemaImporter.cs:line 173
   at Mendix.Modeler.Integration.SchemaImporter.ImportXmlElement(XmlSchemaElement xmlElement) in c:\jenkins\workspace\AppStudio-Integration-Modeler\src\modeler\Mendix.Modeler.Integration\XmlSchemas\SchemaImporter.cs:line 139
   at Mendix.Modeler.Integration.SchemaImporter.ImportSchema(XmlSchema xmlSchema) in c:\jenkins\workspace\AppStudio-Integration-Modeler\src\modeler\Mendix.Modeler.Integration\XmlSchemas\SchemaImporter.cs:line 127
   at Mendix.Modeler.Integration.SchemaImporter.ImportSchemas(List`1 newXmlSchemas) in c:\jenkins\workspace\AppStudio-Integration-Modeler\src\modeler\Mendix.Modeler.Integration\XmlSchemas\SchemaImporter.cs:line 91
   at Mendix.Modeler.Integration.SchemaImporter.ImportSchemas(IEnumerable`1 schemaContents) in c:\jenkins\workspace\AppStudio-Integration-Modeler\src\modeler\Mendix.Modeler.Integration\XmlSchemas\SchemaImporter.cs:line 77
   at Mendix.Modeler.Integration.WsdlDescription.get_Schema() in c:\jenkins\workspace\AppStudio-Integration-Modeler\src\modeler\Mendix.Modeler.Integration\Wsdl\WsdlDescription.cs:line 116
   at Mendix.Modeler.Integration.OperationInfo.get_ResponseBodySchemaElement() in c:\jenkins\workspace\AppStudio-Integration-Modeler\src\modeler\Mendix.Modeler.Integration\WebServices\Call\OperationInfo.cs:line 179
   at Mendix.Modeler.Integration.OperationInfo.get_ResponseBodyElement() in c:\jenkins\workspace\AppStudio-Integration-Modeler\src\modeler\Mendix.Modeler.Integration\WebServices\Call\OperationInfo.cs:line 167
   at Mendix.Modeler.Integration.OperationInfo.get_OptimizedResponseElement() in c:\jenkins\workspace\AppStudio-Integration-Modeler\src\modeler\Mendix.Modeler.Integration\WebServices\Call\OperationInfo.cs:line 200
   at Mendix.Modeler.Integration.OperationInfo.GetResultKind(OperationInfo operationInfo) in c:\jenkins\workspace\AppStudio-Integration-Modeler\src\modeler\Mendix.Modeler.Integration\WebServices\Call\OperationInfo.cs:line 398
   at Mendix.Modeler.Integration.ResultHandlingConfig.GetPrimitiveReturnType() in c:\jenkins\workspace\AppStudio-Integration-Modeler\src\modeler\Mendix.Modeler.Integration\MicroflowActions\ResultHandlings\ResultHandlingConfig.cs:line 38
   at Mendix.Modeler.Integration.ResultHandling.GetReturnType(Boolean storeInVariable, ResultHandlingConfig config, ImportMappingCall importMappingCall) in c:\jenkins\workspace\AppStudio-Integration-Modeler\src\modeler\Mendix.Modeler.Integration\MicroflowActions\ResultHandlings\ResultHandling.cs:line 85
   at Mendix.Modeler.Integration.ResultHandling.GetReturnType() in c:\jenkins\workspace\AppStudio-Integration-Modeler\src\modeler\Mendix.Modeler.Integration\MicroflowActions\ResultHandlings\ResultHandling.cs:line 78
   at Mendix.Modeler.Integration.ResultHandling.get_VariableDataType() in c:\jenkins\workspace\AppStudio-Integration-Modeler\src\modeler\Mendix.Modeler.Integration\MicroflowActions\ResultHandlings\ResultHandling.cs:line 57
   at Mendix.Modeler.Integration.CallWebServiceAction.get_VariableDataType() in c:\jenkins\workspace\AppStudio-Integration-Modeler\src\modeler\Mendix.Modeler.Integration\MicroflowActions\CallWebserviceAction\CallWebServiceAction.cs:line 303
   at Mendix.Modeler.MicroFlows.VariableSourceUtil.GetVariableDefinition(Object obj) in c:\jenkins\workspace\AppStudio-Modeler\src\Mendix.Modeler.Core\MicroFlows\Common\VariableSourceUtil.cs:line 22
   at Mendix.Modeler.MicroFlows.ActionActivity.get_Variable() in c:\jenkins\workspace\AppStudio-Modeler\src\Mendix.Modeler.Core\MicroFlows\FlowObjects\ActionActivity.cs:line 130
   at Mendix.Modeler.MicroFlows.VariableSourceUtil.GetVariableDefinition(Object obj) in c:\jenkins\workspace\AppStudio-Modeler\src\Mendix.Modeler.Core\MicroFlows\Common\VariableSourceUtil.cs:line 25
   at Mendix.Modeler.MicroFlows.ScopeAlgorithm.CalculateScopeVariables(IMicroflowObjectInternal obj, Dictionary`2 infos, IEnumerable`1 incomingScope) in c:\jenkins\workspace\AppStudio-Modeler\src\Mendix.Modeler.Core\MicroFlows\ScopeAlgorithm.cs:line 125
   at Mendix.Modeler.MicroFlows.ScopeAlgorithm.CalculateScopeVariables(IMicroflowObjectInternal obj, Dictionary`2 infos, IEnumerable`1 incomingScope) in c:\jenkins\workspace\AppStudio-Modeler\src\Mendix.Modeler.Core\MicroFlows\ScopeAlgorithm.cs:line 165
   at Mendix.Modeler.MicroFlows.ScopeAlgorithm.CalculateScopeVariables(MicroFlowObjectCollection collection, Dictionary`2 infos, List`1 currentScope) in c:\jenkins\workspace\AppStudio-Modeler\src\Mendix.Modeler.Core\MicroFlows\ScopeAlgorithm.cs:line 108
   at Mendix.Modeler.MicroFlows.ScopeAlgorithm.CalculateScopeVariables() in c:\jenkins\workspace\AppStudio-Modeler\src\Mendix.Modeler.Core\MicroFlows\ScopeAlgorithm.cs:line 32
   at Mendix.Modeler.MicroFlows.MicroflowBase.Postprocess() in c:\jenkins\workspace\AppStudio-Modeler\src\Mendix.Modeler.Core\MicroFlows\MicroflowBase.cs:line 484
   at Mendix.Modeler.Projects.Postprocessor.<Postprocess>b__0(IPostprocess obj) in c:\jenkins\workspace\AppStudio-Modeler\src\Mendix.Modeler.Core\Projects\Postprocessor.cs:line 11
   at Mendix.Modeler.Storage.StorageUtil.<>c__DisplayClass4`1.<ForEachStorageObjectDo>b__3(IStorageObject a) in c:\jenkins\workspace\AppStudio-Modeler\src\Mendix.Modeler.Storage\StorageUtil.cs:line 106
   at Mendix.Modeler.Storage.Operations.TypeWalk.ForEachObjectDo(IStorageObject root, Func`2 work, Boolean skipExcludedObjects) in c:\jenkins\workspace\AppStudio-Modeler\src\Mendix.Modeler.Storage\Operations\TypeWalk.cs:line 87
   at Mendix.Modeler.Storage.Operations.TypeWalk.ForEachObjectDo(IStorageObject root, Func`2 work, Boolean skipExcludedObjects) in c:\jenkins\workspace\AppStudio-Modeler\src\Mendix.Modeler.Storage\Operations\TypeWalk.cs:line 92
   at Mendix.Modeler.Storage.Operations.TypeWalk.ForEachObjectDo(IStorageObject root, Func`2 work, Boolean skipExcludedObjects) in c:\jenkins\workspace\AppStudio-Modeler\src\Mendix.Modeler.Storage\Operations\TypeWalk.cs:line 92
   at Mendix.Modeler.Storage.Operations.TypeWalk.ForEachObjectDo(IStorageObject root, Func`2 work, Boolean skipExcludedObjects) in c:\jenkins\workspace\AppStudio-Modeler\src\Mendix.Modeler.Storage\Operations\TypeWalk.cs:line 92
   at Mendix.Modeler.Storage.Operations.TypeWalk.ForEachObjectDo(IStorageObject root, Func`2 work, Boolean skipExcludedObjects) in c:\jenkins\workspace\AppStudio-Modeler\src\Mendix.Modeler.Storage\Operations\TypeWalk.cs:line 92
   at Mendix.Modeler.Storage.StorageUtil.ForEachStorageObjectDo[T](IStorageObject obj, Func`2 action, Boolean skipExcludedObjects) in c:\jenkins\workspace\AppStudio-Modeler\src\Mendix.Modeler.Storage\StorageUtil.cs:line 106
   at Mendix.Modeler.Projects.Postprocessor.Postprocess(IStorageObject root) in c:\jenkins\workspace\AppStudio-Modeler\src\Mendix.Modeler.Core\Projects\Postprocessor.cs:line 9
   at Mendix.Modeler.Projects.ProjectUtil.PostprocessProject(IProject project) in c:\jenkins\workspace\AppStudio-Modeler\src\Mendix.Modeler.Core\Projects\ProjectUtil.cs:line 28
   at Mendix.Modeler.Integration.ConvertAppserviceActionIds.Convert(IProject project) in c:\jenkins\workspace\AppStudio-Integration-Modeler\src\modeler\Mendix.Modeler.Integration\Conversions\ConvertAppserviceActionIds.cs:line 21
   at Mendix.Modeler.Projects.Conversions.ProjectConversion.PerformOneTimeConversion(IOneTimeConversion oneTimeConversion) in c:\jenkins\workspace\AppStudio-Modeler\src..
answered