Can not commit change after rename MyFirstModule -> UserManger
3
Can not commit change after rename "MyFirstModule" -> "UserManger" Mendis studio version: 8.13.0 Err Message as below: Mendix.Modeler.Utility.Progress.ProgressException ---> System.IO.DirectoryNotFoundException: Could not find a part of the path '\\vmware-host\Shared Folders\Projects\2020\mendix\SummerhillHospital-main\javasource\myfirstmodule'. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileSystemEnumerableIterator`1.CommonInit() at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost) at System.IO.Directory.GetFiles(String path, String searchPattern, SearchOption searchOption) at Mendix.Modeler.VersionControl.Operations.Svn.SvnDoFileManagementOperation.HandleStatus(DoFileManagementRequest request, Change change, IEnumerable`1 changes) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.VersionControl\Operations\Svn\SvnDoFileManagementOperation.cs:line 95 at Mendix.Modeler.VersionControl.Operations.Svn.SvnDoFileManagementOperation.Execute(DoFileManagementRequest request) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.VersionControl\Operations\Svn\SvnDoFileManagementOperation.cs:line 56 at Mendix.Modeler.VersionControl.CommitPreparer.<>c__DisplayClass17_0.<AddFileManagementStep>b__0(IProgressInfo info) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.VersionControl\CommitPreparer.cs:line 129 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 99 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 72 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 51 at Mendix.Modeler.VersionControl.CommitPreparer.PrepareCommit(IProject project, Boolean silent) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.VersionControl\CommitPreparer.cs:line 100 at Mendix.Modeler.VersionControl.RevCommitter.CommitInternal(IProject project, Boolean silent, String initialMessage, RevOperationSource source) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.VersionControl\RevCommitter.cs:line 99 at Mendix.Modeler.VersionControl.RevCommitter.Commit(IProject project, String initialMessage, RevOperationSource source) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.VersionControl\RevCommitter.cs:line 68 at Eto.Forms.Command.OnExecuted(EventArgs e) at Eto.Forms.Command.System.Windows.Input.ICommand.Execute(Object parameter) at Eto.PropertyStore.TriggerEvent[T](Object key, Object sender, T args) at Eto.Forms.Button.OnClick(EventArgs e) at Eto.Forms.Button.Callback.OnClick(Button widget, EventArgs e) at Eto.Wpf.Forms.Controls.ButtonHandler`3.<Initialize>b__5_0(Object sender, RoutedEventArgs e) 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)
asked
Ben HB-Lin
4 answers
1
Remove the directory javasource\myfirstmodule and try again. That will probably solve it.
answered
Tim v Steenbergen
1
This is fixed in Mendix Pro Version 8.14.
You can bypass this error by creating a new folder with the name ‘myfirstmodule’ in
Project-root-dir\javasource
Project-root-dir\javascriptsource
You can navigate to the project root directory from Studio Pro Menu – Project → ‘Show Project Directory In Explorer’
answered
Monu Michael Jose
0
The directory is missing, that's the problem. I've created a ticket about this. For now, just an empty “MyFirstModule” in the project (newly added, after renaming the original one)
answered
Sven Franke
0
I’m facing the same error when merge Mainline code , in which branch , the folder have been deleted , but it still have the link to that folder on my own branch, does this a bug of mendix studio pro?