App Open Error when git clone with depth=1 option

2
Hi At First, I cloned a mendix project repo  from git with the option “depth = 1”,  then when I open the .mpr file , at the [Open App] Dialog Window, Steps [Update original app] Mendix throw an exception as below :   Mendix.Modeler.Utility.Progress.ProgressException ---> LibGit2Sharp.NotFoundException: object not found - no match for id (4c9a48e4e92e584a11acbf0cd3c8be0feab725a9) at LibGit2Sharp.Core.Ensure.HandleError(Int32 result) at LibGit2Sharp.Core.Proxy.git_revwalk_next(RevWalkerHandle walker) at LibGit2Sharp.CommitLog.CommitEnumerator.MoveNext() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate) at Mendix.Modeler.VersionControl.Operations.GitGetFileInfoOperation.Execute(String filePath) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.VersionControl\Operations\Git\GitGetFileInfoOperation.cs:line 25 at Mendix.Modeler.VersionControl.BaseFileCacheManager.EnsureUpToDate(String projectFilePath, IProgressInfo info) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\VersionControl\BaseFileCacheManager.cs:line 54 at Mendix.Modeler.ProjectHandling.Openers.ProjectFileOpenerUI.<AddConvertProjectBaseFileStep>b__37_0(IProgressInfo info) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.ProjectHandling\Openers\ProjectFileOpenerUI.cs:line 214 at Mendix.Modeler.UIFramework.Progress.ProcessRunner.RunStep(Step step) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.UIFramework\Progress\ProcessRunner.cs:line 101 at Mendix.Modeler.UIFramework.Progress.ProcessRunner.OnDoWork(Object sender, DoWorkEventArgs e) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.UIFramework\Progress\ProcessRunner.cs:line 74 at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e) at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument) --- End of inner exception stack trace --- at Mendix.Modeler.UIFramework.Progress.ProcessRunner.Run() in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.UIFramework\Progress\ProcessRunner.cs:line 52 at Mendix.Modeler.ProjectHandling.Openers.ProjectFileOpenerUI.DoOpenProject() in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.ProjectHandling\Openers\ProjectFileOpenerUI.cs:line 177 at Mendix.Modeler.ProjectHandling.Openers.ProjectFileOpenerUI.OpenProject() in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.ProjectHandling\Openers\ProjectFileOpenerUI.cs:line 152 at Mendix.Modeler.ProjectHandling.Openers.ProjectOpenerUI.OpenOrImportProject(String projectPath) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.ProjectHandling\Openers\ProjectOpenerUI.cs:line 167 at Mendix.Modeler.ProjectHandling.CommandLine.CommandLineHandler.HandleCommandLineOptions() in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.ProjectHandling\CommandLine\CommandLineHandler.cs:line 78 at Eto.PropertyStore.TriggerEvent[T](Object key, Object sender, T args) at Eto.Forms.Control.OnShown(EventArgs e) at Eto.Forms.Control.Callback.OnShown(Control widget, EventArgs e) at Eto.Wpf.Forms.WpfWindow`3.<AttachEvent>b__36_6() 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)  It comes good when not use the “depth =1” option of git clone command , which took a long time to download all the git commit logs. Can anyone solve this problem?     
asked
0 answers