I try to upgrade a project formmendix version5.18.0 to 5.19.0
Although we have succesfully converted other projects from a version lower than 5.18.0 to a version higher than 5.19.0
we have now a project origating in versie 5.13.1 which we couldn't upgrade to 5.21.2.
While it wasn't possible to convert immediately to 5.21.2, i did the conversion in little steps.
Unfortunately it ended at 5.18.0 with the following error before or at the beginning of the step load project.
Mendix.Modeler.Utility.Progress.ProgressException ---> System.InvalidOperationException: Opening the original project file failed. ---> System.NullReferenceException: De objectverwijzing is niet op een exemplaar van een object ingesteld.
at Mendix.Modeler.Integration.ConvertLocalizedContentsAndLocation.Convert(IProject project) in c:\jenkins\workspace\AppStudio-Integration-Modeler\src\modeler\Mendix.Modeler.Integration\Conversions\ConvertLocalizedContentsAndLocation.cs:line 29
at Mendix.Modeler.Projects.Conversions.ProjectConversion.PerformOneTimeConversion(IOneTimeConversion oneTimeConversion) in c:\jenkins\workspace\AppStudio-Modeler\src\Mendix.Modeler.Core\Projects\Conversions\ProjectConversion.cs:line 57
at Mendix.Modeler.Projects.Conversions.ProjectConversion.DoOneTimeConversions() in c:\jenkins\workspace\AppStudio-Modeler\src\Mendix.Modeler.Core\Projects\Conversions\ProjectConversion.cs:line 41
at Mendix.Modeler.Projects.Project.<Convert>b__0() in c:\jenkins\workspace\AppStudio-Modeler\src\Mendix.Modeler.Core\Projects\Project.cs:line 320
at Mendix.Modeler.Projects.Project.HackProjectInstance[T](Func`1 func) in c:\jenkins\workspace\AppStudio-Modeler\src\Mendix.Modeler.Core\Projects\Project.cs:line 354
at Mendix.Modeler.Projects.Project.Convert() in c:\jenkins\workspace\AppStudio-Modeler\src\Mendix.Modeler.Core\Projects\Project.cs:line 318
at Mendix.Modeler.Storage.Operations.UnitLoader.<>c__DisplayClass11.<IsConversionNeeded>b__10(IStorageObject o) in c:\jenkins\workspace\AppStudio-Modeler\src\Mendix.Modeler.Storage\Operations\UnitLoader.cs:line 235
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.UnitLoader.IsConversionNeeded(IStorageUnit rootUnit) in c:\jenkins\workspace\AppStudio-Modeler\src\Mendix.Modeler.Storage\Operations\UnitLoader.cs:line 233
at Mendix.Modeler.Storage.Operations.UnitLoader.Load[T](IProgressInfo info, Dictionary`2 _knownUnits, Boolean& conversionNeeded) in c:\jenkins\workspace\AppStudio-Modeler\src\Mendix.Modeler.Storage\Operations\UnitLoader.cs:line 45
at Mendix.Modeler.Operations.Loader30.<>c__DisplayClass2.<DoLoad>b__0(Database database) in c:\jenkins\workspace\AppStudio-Modeler\src\Mendix.Modeler.Core\Operations\Loader30.cs:line 21
at Mendix.Modeler.Utility.DbConnectors.DbConnector.WithoutTransactionDo[TResult](Func`1 action) in c:\jenkins\workspace\AppStudio-Modeler\src\Mendix.Modeler.Utility\DbConnectors\DbConnector.cs:line 64
at Mendix.Modeler.Utility.DbConnectors.SQLiteConnector.Do[TResult](String filePath, Boolean useTransaction, Func`2 action) in c:\jenkins\workspace\AppStudio-Modeler\src\Mendix.Modeler.Utility\DbConnectors\SQLiteConnector.cs:line 54
at Mendix.Modeler.Storage.Database.Do[TResult](String filePath, Boolean useTransaction, Func`2 action) in c:\jenkins\workspace\AppStudio-Modeler\src\Mendix.Modeler.Storage\Database.cs:line 163
at Mendix.Modeler.Operations.Loader30.DoLoad(IProgressInfo info, String filePath) in c:\jenkins\workspace\AppStudio-Modeler\src\Mendix.Modeler.Core\Operations\Loader30.cs:line 17
--- End of inner exception stack trace ---
at Mendix.Modeler.VersionControl.RevProjectBaseFileCache.ConvertBaseFileIfPossible(IProgressInfo info, Int64 desiredRevision) in c:\jenkins\workspace\AppStudio-Modeler\src\Mendix.Modeler.Core\VersionControl\RevProjectBaseFileCache.cs:line 81
at Mendix.Modeler.Main.ProjectFileOpener.<AddConvertProjectBaseFileStep>b__1(IProgressInfo info) in c:\jenkins\workspace\AppStudio-Modeler\src\Mendix.Modeler.Core\Main\ProjectFileOpener.cs:line 105
at Mendix.Modeler.Utility.Progress.ProcessRunner.RunStep(Step step) in c:\jenkins\workspace\AppStudio-Modeler\src\Mendix.Modeler.UIFramework\Progress\ProcessRunner.cs:line 87
at Mendix.Modeler.Utility.Progress.ProcessRunner.worker_DoWork(Object sender, DoWorkEventArgs e) in c:\jenkins\workspace\AppStudio-Modeler\src\Mendix.Modeler.UIFramework\Progress\ProcessRunner.cs:line 67
at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
--- End of inner exception stack trace ---
at Mendix.Modeler.Utility.Progress.ProcessRunner.Run() in c:\jenkins\workspace\AppStudio-Modeler\src\Mendix.Modeler.UIFramework\Progress\ProcessRunner.cs:line 49
at Mendix.Modeler.Main.ProjectFileOpener.DoOpenProject() in c:\jenkins\workspace\AppStudio-Modeler\src\Mendix.Modeler.Core\Main\ProjectFileOpener.cs:line 89
at Mendix.Modeler.Main.ProjectFileOpener.OpenProject() in c:\jenkins\workspace\AppStudio-Modeler\src\Mendix.Modeler.Core\Main\ProjectFileOpener.cs:line 64
at Mendix.Modeler.Utility.FuncUtil.CallMeMaybe(Action action) in c:\jenkins\workspace\AppStudio-Modeler\src\Mendix.Modeler.Utility\FuncUtil.cs:line 26
at Mendix.Modeler.Utility.FuncUtil.CallMeMaybe(Action action) in c:\jenkins\workspace\AppStudio-Modeler\src\Mendix.Modeler.Utility\FuncUtil.cs:line 26
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.Controls.Primitives.ButtonBase.OnClick()
at System.Windows.Controls.Button.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)