-
Type:
Bug
-
Resolution: Resolved Locally
-
Priority:
Low
-
None
-
Affects Version/s: 2.3.1.0
-
Component/s: None
-
Environment:
Windows 10 pro
1607
14393.1715
x64
-
Severity 2 - Major
When I install 2.3.1 I get this truncated configuration file and as such Sourcetree won't start after the upgrade.
It looks like it might have something to do with the fact that I have a custom merge tool defined given where it stops. I have attached the old.user.config too for your reference.
The workaround is to uninstall and revert back to an old version.
Here's the exception in the sourcetree log
ERROR [2017-09-18 15:31:28,280] [1] [SourceTree.App] [OnStartup] - Failed to start System.Configuration.ConfigurationErrorsException: '.', hexadecimal value 0x00, is an invalid character. Line 83, position 1. (C:\Users\sudsy\AppData\Local\Atlassian\SourceTree.exe_Url_5c5mtdh1y4lv32k0mznonzp41l4isfo3\2.3.1.0\user.config line 83) ---> System.Xml.XmlException: '.', hexadecimal value 0x00, is an invalid character. Line 83, position 1. at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.ParseText(Int32& startPos, Int32& endPos, Int32& outOrChars) at System.Xml.XmlTextReaderImpl.ParseText() at System.Xml.XmlTextReaderImpl.ParseElementContent() at System.Xml.XmlTextReaderImpl.Skip() at System.Configuration.XmlUtil.StrictSkipToNextElement(ExceptionAction action) at System.Configuration.BaseConfigurationRecord.ScanSectionsRecursive(XmlUtil xmlUtil, String parentConfigKey, Boolean inLocation, String locationSubPath, OverrideModeSetting overrideMode, Boolean skipInChildApps)