Losing work after not committing but saving?

1
I’ve been working on an app for around 1 hour getting everything setup and the basics in place. I committed once ¼ of the way through.  I have been running locally every 5 minutes and saving the work.  I accidentally closed Mendix and it closed without warning (assuming everything is saved). Opened Mendix back up, and clicked on the app – it’s gone back to the very first commit.  Does anyone know how I recover this work? I assume it will be saved somewhere? 
asked
5 answers
0

Studio Pro is not known to lose work. We take great care in never losing any of your work!

If Studio Pro closed without a warning, then everything was saved to disk. I think Austin has a point. Perhaps you downloaded a fresh copy from the team server and then it makes sense that your latest (non-committed) changes are not there.

Can you have a look on your hard drive to see whether there is another copy of your project where the non-committed changes are stored?

Usually Studio Pro remembers that you have a check-out already and will open that but perhaps there was an issue there.

I hope and think you have the project on disk twice.

Update: I see nothing suspicious in the logs.

One final thing to check: can you look in the Event Viewer?

Hit the Windows Key, type "Event Viewer", Enter, go to Windows Logs > Application.

Check around the time that you closed Studio Pro yesterday. Do you see any error coming from ".NET Runtime" (Source, 3rd column)?

Instead of scrolling through all lines, you can also use "Filter Current Log..." (on the right) and choose ".NET Runtime" as Event source.

answered
0

Hi Jan,

Are you using Mendix studio or studio pro? For studio pro, every time you run locally it should have saved your changes locally to your computer. I would check your folder where your Mendix projects are stored to make sure that the project wasn’t redownloaded from the cloud when you opened it the second time. 

answered
0

Here is the log file… Can you see anything?

 

2019-08-07 15:26:49.7554 INFO Mendix.Modeler.WindowsGui.App Starting Mendix Studio Pro 8.0.0.56467.
2019-08-07 15:26:54.3810 INFO Mendix.Modeler.WindowsGui.App Mendix Studio Pro has successfully started.
2019-08-07 15:26:54.7615 INFO Mendix.Modeler.UserManagement.SsoContextCreator CreateContext OpenIdConfig response successful.
2019-08-07 15:28:05.9549 INFO Mendix.Modeler.WindowsGui.App Stopped Mendix Studio Pro 8.0.0.56467.
2019-08-07 15:28:25.6055 INFO Mendix.Modeler.WindowsGui.App Starting Mendix Studio Pro 8.0.0.56467.
2019-08-07 15:28:30.3965 INFO Mendix.Modeler.WindowsGui.App Mendix Studio Pro has successfully started.
2019-08-07 15:28:30.7833 INFO Mendix.Modeler.UserManagement.SsoContextCreator CreateContext OpenIdConfig response successful.
2019-08-07 15:28:41.2016 INFO Mendix.Modeler.WindowsGui.App Stopped Mendix Studio Pro 8.0.0.56467.
2019-08-07 15:28:48.7588 INFO Mendix.Modeler.WindowsGui.App Starting Mendix Studio Pro 8.0.0.56467.
2019-08-07 15:28:53.6936 INFO Mendix.Modeler.WindowsGui.App Mendix Studio Pro has successfully started.
2019-08-07 15:28:54.0764 INFO Mendix.Modeler.UserManagement.SsoContextCreator CreateContext OpenIdConfig response successful.
2019-08-07 15:38:16.2621 INFO Mendix.Modeler.WindowsGui.App Stopped Mendix Studio Pro 8.0.0.56467.
2019-08-07 16:08:19.7782 INFO Mendix.Modeler.WindowsGui.App Starting Mendix Studio Pro 8.0.0.56467.
2019-08-07 16:08:24.8449 INFO Mendix.Modeler.WindowsGui.App Mendix Studio Pro has successfully started.
2019-08-07 16:08:25.3042 INFO Mendix.Modeler.UserManagement.SsoContextCreator CreateContext OpenIdConfig response successful.
2019-08-07 16:08:36.5350 INFO Mendix.Modeler.WindowsGui.App Stopped Mendix Studio Pro 8.0.0.56467.
2019-08-07 16:08:42.3097 INFO Mendix.Modeler.WindowsGui.App Starting Mendix Studio Pro 8.0.0.56467.
2019-08-07 16:08:47.3433 INFO Mendix.Modeler.WindowsGui.App Mendix Studio Pro has successfully started.
2019-08-07 16:08:47.7781 INFO Mendix.Modeler.UserManagement.SsoContextCreator CreateContext OpenIdConfig response successful.
2019-08-07 16:23:04.4472 INFO Mendix.Modeler.WindowsGui.App Stopped Mendix Studio Pro 8.0.0.56467.
2019-08-07 16:23:10.6180 INFO Mendix.Modeler.WindowsGui.App Starting Mendix Studio Pro 8.0.0.56467.
2019-08-07 16:23:15.5705 INFO Mendix.Modeler.WindowsGui.App Mendix Studio Pro has successfully started.
2019-08-07 16:23:16.0303 INFO Mendix.Modeler.UserManagement.SsoContextCreator CreateContext OpenIdConfig response successful.
2019-08-07 16:34:56.3312 ERROR Mendix.Modeler.Operations.StorageUI Reverting the document of type Mendix.Modeler.Security.ModuleSecurity with Guid d9670b04-45ee-4145-978e-efd1047a0482 failed, because there was no disk version with that Guid.
2019-08-07 16:35:42.4955 ERROR Mendix.Modeler.Operations.StorageUI Reverting the document of type Mendix.Modeler.Security.ModuleSecurity with Guid d9670b04-45ee-4145-978e-efd1047a0482 failed, because there was no disk version with that Guid.
2019-08-07 16:42:45.0608 ERROR Mendix.Modeler.MxAssist.AssistService+<UpdateSuggestions>d__18 Error while trying to get suggestions
Mendix.Modeler.MxAssist.MarsService.MarsApiCallFailedException: Exception of type 'Mendix.Modeler.MxAssist.MarsService.MarsApiCallFailedException' was thrown.
   at Mendix.Modeler.MxAssist.MarsService.MarsServiceProxy.<Predict>d__10.MoveNext() in C:\jenkins-ci\workspace\AppStudio3.0-Build@3\modeler\Mendix.Modeler.MxAssist\MarsService\MarsServiceProxy.cs:line 128
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Mendix.Modeler.MxAssist.MarsApiService.<GetRecommendationsFromMars>d__2.MoveNext() in C:\jenkins-ci\workspace\AppStudio3.0-Build@3\modeler\Mendix.Modeler.MxAssist\MarsApiService.cs:line 35
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Mendix.Modeler.MxAssist.AssistService.<GetRecommendationsFromMars>d__26.MoveNext() in C:\jenkins-ci\workspace\AppStudio3.0-Build@3\modeler\Mendix.Modeler.MxAssist\AssistService.cs:line 157
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Mendix.Modeler.MxAssist.AssistService.<UpdateSuggestions>d__18.MoveNext() in C:\jenkins-ci\workspace\AppStudio3.0-Build@3\modeler\Mendix.Modeler.MxAssist\AssistService.cs:line 69
2019-08-07 17:00:08.2791 INFO lambda_method Successfully committed on project 38a839e6-1d82-4fa9-970e-8e257b69a03c for branch 'trunk'.
2019-08-07 17:00:48.9622 ERROR Mendix.Modeler.MxAssist.AssistService+<UpdateSuggestions>d__18 Error while trying to get suggestions
Mendix.Modeler.MxAssist.MarsService.MarsApiCallFailedException: Exception of type 'Mendix.Modeler.MxAssist.MarsService.MarsApiCallFailedException' was thrown.
   at Mendix.Modeler.MxAssist.MarsService.MarsServiceProxy.<Predict>d__10.MoveNext() in C:\jenkins-ci\workspace\AppStudio3.0-Build@3\modeler\Mendix.Modeler.MxAssist\MarsService\MarsServiceProxy.cs:line 128
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Mendix.Modeler.MxAssist.MarsApiService.<GetRecommendationsFromMars>d__2.MoveNext() in C:\jenkins-ci\workspace\AppStudio3.0-Build@3\modeler\Mendix.Modeler.MxAssist\MarsApiService.cs:line 35
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Mendix.Modeler.MxAssist.AssistService.<GetRecommendationsFromMars>d__26.MoveNext() in C:\jenkins-ci\workspace\AppStudio3.0-Build@3\modeler\Mendix.Modeler.MxAssist\AssistService.cs:line 157
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Mendix.Modeler.MxAssist.AssistService.<UpdateSuggestions>d__18.MoveNext() in C:\jenkins-ci\workspace\AppStudio3.0-Build@3\modeler\Mendix.Modeler.MxAssist\AssistService.cs:line 69
2019-08-07 17:26:23.6353 INFO lambda_method Successfully committed on project 38a839e6-1d82-4fa9-970e-8e257b69a03c for branch 'trunk'.
2019-08-07 17:28:32.5559 ERROR Mendix.Modeler.MxAssist.AssistService+<UpdateSuggestions>d__18 Error while trying to get suggestions
Mendix.Modeler.MxAssist.MarsService.MarsApiCallFailedException: Exception of type 'Mendix.Modeler.MxAssist.MarsService.MarsApiCallFailedException' was thrown.
   at Mendix.Modeler.MxAssist.MarsService.MarsServiceProxy.<Predict>d__10.MoveNext() in C:\jenkins-ci\workspace\AppStudio3.0-Build@3\modeler\Mendix.Modeler.MxAssist\MarsService\MarsServiceProxy.cs:line 128
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Mendix.Modeler.MxAssist.MarsApiService.<GetRecommendationsFromMars>d__2.MoveNext() in C:\jenkins-ci\workspace\AppStudio3.0-Build@3\modeler\Mendix.Modeler.MxAssist\MarsApiService.cs:line 35
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Mendix.Modeler.MxAssist.AssistService.<GetRecommendationsFromMars>d__26.MoveNext() in C:\jenkins-ci\workspace\AppStudio3.0-Build@3\modeler\Mendix.Modeler.MxAssist\AssistService.cs:line 157
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Mendix.Modeler.MxAssist.AssistService.<UpdateSuggestions>d__18.MoveNext() in C:\jenkins-ci\workspace\AppStudio3.0-Build@3\modeler\Mendix.Modeler.MxAssist\AssistService.cs:line 69
2019-08-07 17:36:23.1921 ERROR Mendix.Modeler.Operations.StorageUI Reverting the document of type Mendix.Modeler.Security.ModuleSecurity with Guid d9670b04-45ee-4145-978e-efd1047a0482 failed, because there was no disk version with that Guid.
2019-08-07 17:37:29.3496 INFO lambda_method Successfully committed on project 38a839e6-1d82-4fa9-970e-8e257b69a03c for branch 'trunk'.
2019-08-07 17:38:04.8371 INFO Mendix.Modeler.WindowsGui.App Stopped Mendix Studio Pro 8.0.0.56467.
2019-08-07 17:38:23.6963 INFO Mendix.Modeler.WindowsGui.App Starting Mendix Studio Pro 8.0.0.56467.
2019-08-07 17:38:28.7687 INFO Mendix.Modeler.WindowsGui.App Mendix Studio Pro has successfully started.
2019-08-07 17:38:29.2080 INFO Mendix.Modeler.UserManagement.SsoContextCreator CreateContext OpenIdConfig response successful.
2019-08-07 18:25:49.5857 INFO lambda_method Successfully committed on project 38a839e6-1d82-4fa9-970e-8e257b69a03c for branch 'trunk'.
2019-08-07 18:26:07.8169 ERROR Mendix.Modeler.Microflows.Debugger.DebuggerControl Debugging was disconnected.
System.Net.WebException: The underlying connection was closed: The connection was closed unexpectedly.
   at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
   at Mendix.Modeler.Utility.HttpUtil.<>c__DisplayClass0_0.<DoRequestAsync>b__0(IAsyncResult ar) in C:\jenkins-ci\workspace\AppStudio3.0-Build@3\modeler\Mendix.Modeler.Utility\Network\HttpUtil.cs:line 21
2019-08-07 18:26:08.6975 INFO Mendix.Modeler.WindowsGui.App Stopped Mendix Studio Pro 8.0.0.56467.
 

answered
0

Hi,

Go to your local Mendix folder (where all Mendix Projects are saved) -> Open your project folder - > Directly open your .mpr file.
This worked for me long time back.

answered
0

Hi, 

I have had the same problem (I lost my work after not committing but saving) on more than two occasions and in two different projects, do you know anything else about this?

answered