Mendix Update From 7.23.33 to 8.18.23

0
I am trying to update mendix but I am getting the below error. How can I solve this error?   Mendix.Modeler.Utility.Progress.ProgressException ---> System.Xml.XmlException: '.', hexadecimal value 0x00, is an invalid character. Line 27, position 1.    at System.Xml.XmlTextReaderImpl.Throw(Exception e)    at System.Xml.XmlTextReaderImpl.ThrowInvalidChar(Char[] data, Int32 length, Int32 invCharPos)    at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()    at System.Xml.XmlTextReaderImpl.ParseDocumentContent()    at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r)    at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r, LoadOptions o)    at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)    at System.Xml.Linq.XDocument.Parse(String text, LoadOptions options)    at Mendix.Modeler.Integration.XmlSchemaUtil.GetTargetNamespaceOfRootElementXml(String contents) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Integration\XmlSchemas\XmlSchemaUtil.cs:line 303    at Mendix.Modeler.Integration.ConvertXmlSchemaTargetNamespaces.Convert(IProject project) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Integration\Services\OData\Conversions\ConvertXmlSchemaTargetNamespaces.cs:line 18    at Mendix.Modeler.Projects.Conversions.ProjectConversion.ApplyOneTimeConversion(IOneTimeConversion oneTimeConversion, ConversionMode mode) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\Projects\Conversions\ProjectConversion.cs:line 60    at Mendix.Modeler.Projects.Conversions.ProjectConversion.ApplyOneTimeConversions(ConversionMode mode) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\Projects\Conversions\ProjectConversion.cs:line 42    at Mendix.Modeler.Projects.Project.<>c__DisplayClass116_0.<ConvertProject>b__0() in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\Projects\Project.cs:line 225    at Mendix.Modeler.Projects.Project.HackProjectInstance[T](Func`1 func) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\Projects\Project.cs:line 256    at Mendix.Modeler.VersionControl.BaseFileCacheManager.ConvertBaseFileIfPossible(String projectFilePath, IProgressInfo info) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Core\VersionControl\BaseFileCacheManager.cs:line 162    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 76    at Mendix.Modeler.ProjectHandling.Openers.ProjectFileOpenerUI.<AddConvertProjectBaseFileStep>b__38_0(IProgressInfo info) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.ProjectHandling\Openers\ProjectFileOpenerUI.cs:line 221    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 98    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 71    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 50    at Mendix.Modeler.ProjectHandling.Openers.ProjectFileOpenerUI.DoOpenProject() in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.ProjectHandling\Openers\ProjectFileOpenerUI.cs:line 183    at Mendix.Modeler.ProjectHandling.Openers.ProjectFileOpenerUI.OpenProject() in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.ProjectHandling\Openers\ProjectFileOpenerUI.cs:line 158    at Mendix.Modeler.ProjectHandling.Openers.ProjectOpenerUI.DoOpenProject(OpenAppData openAppData) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.ProjectHandling\Openers\ProjectOpenerUI.cs:line 142    at Mendix.Modeler.ProjectHandling.Openers.ProjectOpenerUI.SelectAndOpenProject() in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.ProjectHandling\Openers\ProjectOpenerUI.cs:line 105    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
1 answers
0

Hi,

 

Have a look at the  StringSimplify function in https://docs.mendix.com/appstore/modules/community-commons-function-library/#39-stringutils maybe it can remove the chars that are causing the crash.

 

Go Make It

answered