Error while upgrading to Mx 9

0
I am trying to upgrade a project from Mx 8.18.3 to Mx 9.0.4 and keep running into this error: Mendix.Modeler.Storage.Caches.TypeCacheUnknownTypeException: The type cache does not contain a type with qualified name Microflows$AppServiceCallAction.   This happens as I try to open the project in the new modeler before I am even prompted for a conversion. Any ideas how to move forward?   I have tried deleting all AppServices from the project without success. Full error message below:
asked
3 answers
0
Mendix.Modeler.Storage.Caches.TypeCacheUnknownTypeException: The type cache does not contain a type with qualified name Microflows$AppServiceCallAction.
   at Mendix.Modeler.Storage.Caches.TypeCache.GetCachedType(String qualifiedName) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Storage\Caches\TypeCache.cs:line 158
   at Mendix.Modeler.Storage.Operations.UnitContentsLoader.ConstructObjectInternal(IStorageUnit containingUnit, IStorageObject container, JObject jObject) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Storage\Operations\UnitContentsLoader.cs:line 55
   at Mendix.Modeler.Storage.Operations.UnitContentsLoader.ConvertFromStorage(IStorageUnit containingUnit, IStorageObject obj, ICachedProperty prop, JToken token) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Storage\Operations\UnitContentsLoader.cs:line 177
   at Mendix.Modeler.Storage.Operations.UnitContentsLoader.FillProperties(IStorageUnit containingUnit, IStorageObject obj, JObject jObject, ICachedType cachedType) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Storage\Operations\UnitContentsLoader.cs:line 102
   at Mendix.Modeler.Storage.Operations.UnitContentsLoader.ConstructObjectInternal(IStorageUnit containingUnit, IStorageObject container, JObject jObject) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Storage\Operations\UnitContentsLoader.cs:line 66
   at Mendix.Modeler.Storage.Operations.UnitContentsLoader.ConvertFromStorage(IStorageUnit containingUnit, IStorageObject obj, ICachedProperty prop, JToken token) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Storage\Operations\UnitContentsLoader.cs:line 177
   at Mendix.Modeler.Storage.Operations.UnitContentsLoader.FillProperties(IStorageUnit containingUnit, IStorageObject obj, JObject jObject, ICachedType cachedType) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Storage\Operations\UnitContentsLoader.cs:line 97
   at Mendix.Modeler.Storage.Operations.UnitContentsLoader.ConstructObjectInternal(IStorageUnit containingUnit, IStorageObject container, JObject jObject) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Storage\Operations\UnitContentsLoader.cs:line 66
   at Mendix.Modeler.Storage.Operations.UnitContentsLoader.ConvertFromStorage(IStorageUnit containingUnit, IStorageObject obj, ICachedProperty prop, JToken token) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Storage\Operations\UnitContentsLoader.cs:line 177
   at Mendix.Modeler.Storage.Operations.UnitContentsLoader.FillProperties(IStorageUnit containingUnit, IStorageObject obj, JObject jObject, ICachedType cachedType) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Storage\Operations\UnitContentsLoader.cs:line 102
   at Mendix.Modeler.Storage.Operations.UnitContentsLoader.ConstructObjectInternal(IStorageUnit containingUnit, IStorageObject container, JObject jObject) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Storage\Operations\UnitContentsLoader.cs:line 66
   at Mendix.Modeler.Storage.Operations.UnitContentsLoader.ConstructUnitFromContents(IStorageUnit container, Byte[] contents) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Storage\Operations\UnitContentsLoader.cs:line 39
   at Mendix.Modeler.Storage.Operations.UnitLoader.ConstructUnit(IStorageUnit container, DbDataReader reader) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Storage\Operations\UnitLoader.cs:line 233
   at Mendix.Modeler.Storage.Operations.UnitLoader.LoadUnits(IStorageUnit unit, IList`1 unitIDs) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Storage\Operations\UnitLoader.cs:line 189
   at Mendix.Modeler.Storage.Operations.UnitLoader.LoadChildUnits(IStorageUnit unit) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Storage\Operations\UnitLoader.cs:line 131
   at Mendix.Modeler.Storage.Operations.UnitLoader.LoadChildUnits(IStorageUnit unit) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Storage\Operations\UnitLoader.cs:line 158
   at Mendix.Modeler.Storage.Operations.UnitLoader.LoadChildUnits(IStorageUnit unit) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Storage\Operations\UnitLoader.cs:line 158
   at Mendix.Modeler.Storage.Operations.UnitLoader.LoadChildUnits(IStorageUnit unit) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Storage\Operations\UnitLoader.cs:line 158
   at Mendix.Modeler.Storage.Operations.UnitLoader.Load[T](IProgressInfo info, Dictionary`2 _knownUnits) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Storage\Operations\UnitLoader.cs:line 48
   at Mendix.Modeler.Operations.ProjectFileLoader.<>c__DisplayClass0_0.<Load>b__0(Database database) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\Operations\ProjectFileLoader.cs:line 23
   at Mendix.Modeler.Utility.DbConnectors.DbConnector.WithoutTransactionDo[TResult](Func`1 action) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Storage\DbConnectors\DbConnector.cs:line 65
   at Mendix.Modeler.Utility.DbConnectors.SQLiteConnector.Do[TResult](String filePath, Boolean useTransaction, Func`2 action) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Storage\DbConnectors\SQLiteConnector.cs:line 0
   at Mendix.Modeler.Storage.Database.Do[TResult](String filePath, Boolean useTransaction, Func`2 action) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Storage\Database.cs:line 0
   at Mendix.Modeler.Operations.ProjectFileLoader.Load(IProgressInfo info, String filePath, Boolean debugLogEnabled) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\Operations\ProjectFileLoader.cs:line 19

 

answered
0

This error happens when in one of your microflows, you have an app service call action. Could you try deleting all app service call actions from your app and then opening it in Mendix 9?

answered
0

I came across a similar problem like yours @Andrej

In my project directory / java souce I found that the Consumed App service was still present. Delete those too

Make sure that any usage of (excluded) Consumed or Published app services are not being used.

This solved the issue for me

answered