Error occurred while copying files > The type initializer for SharpCompress.Common.ArchiveEncoding threw an exception.

3
While trying to start a project locally (on a new laptop where no previous project was ever started) I receive the following error: The type initializer for 'SharpCompress.Common.ArchiveEncoding' threw an exception. 2017-08-01 10:52:55.0775 ERROR Mendix.Modeler.ExceptionHandling Unhandled exception Mendix.Modeler.Utility.Progress.ProgressException ---> Mendix.Modeler.Deployment.DeploymentPhaseException: An error occurred while copying files.    at Mendix.Modeler.WebUI.Deployment.WebUIDeploymentWorker.CopyFiles(IProject project, IProgressInfo info, Boolean updateRunningProject, ISnapshotManager snapshotManager) in C:\jenkins\workspace\WebUI-Build-6\modeler\Mendix.Modeler.WebUI\Deployment\WebUIDeploymentWorker.cs:line 133    at Mendix.Modeler.WebUI.Forms.Widgets.CheckWidgeter.CheckWidgets(IProject project, IProgressInfo info) in C:\jenkins\workspace\WebUI-Build-6\modeler\Mendix.Modeler.WebUI\Forms\Widgets\CheckWidgeter.cs:line 25    at Mendix.Modeler.Utility.ProgressUtil.<>c__DisplayClass4_0`1.<Do>b__0(IProgressInfo info) in C:\jenkins\workspace\Modeler-Build-6\modeler\Mendix.Modeler.UIFramework\Progress\ProgressUtil.cs:line 77    at Mendix.Modeler.Utility.Progress.ProcessRunner.RunStep(Step step) in C:\jenkins\workspace\Modeler-Build-6\modeler\Mendix.Modeler.UIFramework\Progress\ProcessRunner.cs:line 88    at Mendix.Modeler.Utility.Progress.ProcessRunner.worker_DoWork(Object sender, DoWorkEventArgs e) in C:\jenkins\workspace\Modeler-Build-6\modeler\Mendix.Modeler.UIFramework\Progress\ProcessRunner.cs:line 68    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\Modeler-Build-6\modeler\Mendix.Modeler.UIFramework\Progress\ProcessRunner.cs:line 50    at Mendix.Modeler.Utility.ProgressUtil.Do[T](Boolean reportsProgress, Boolean supportsCancellation, Func`2 action) in C:\jenkins\workspace\Modeler-Build-6\modeler\Mendix.Modeler.UIFramework\Progress\ProgressUtil.cs:line 80    at Mendix.Modeler.WebUI.Forms.Widgets.CheckWidgeterUI.Update() in C:\jenkins\workspace\WebUI-Build-6\modeler\Mendix.Modeler.WebUI\Forms\Widgets\CheckWidgeterUI.cs:line 19    at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)    at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)    at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)    at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)    at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)    at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)    at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)    at System.Windows.Forms.Control.WndProc(Message& m)    at System.Windows.Forms.ToolStrip.WndProc(Message& m)    at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
asked
2 answers
9

Ok, fixed it.. laptop regional setting was set to English (en-nl) which seems to be not supported. While creating a new app I got a more specific error stating the codepage (=1) was is not supported. So I changed the default language to English (United States) and all is fine now.

answered
0

Just ran into this error also with one of the developers in my team. His issue seems to be that he has his projects folders in OneDrive and somehow OneDrive and SVN started biting each other suddenly. 

Solution was to delete the local project folders and download the project again from the teamserver.

(regarding : Error occurred while copying files)

Mx 8.4.1

answered