Details
-
Bug
-
Resolution: Fixed
-
High
-
None
-
3.4.9, 3.4.10
-
None
-
Severity 2 - Major
Description
Issue Summary
This is reproducible on Data Center: (yes) / (no)
Steps to Reproduce
- Sourcetree does not launch.
- Community ticket for this issue https://community.atlassian.com/t5/Sourcetree-questions/Can-not-launch-Sourcetree/qaq-p/2191396?utm_source=atlcomm&utm_medium=email&utm_campaign=immediate_general_question&utm_content=topic#U2195163
- https://community.atlassian.com/t5/Sourcetree-questions/Sourcetree-installer-Failed-to-start-System-Management/qaq-p/2196885?utm_source=atlcomm&utm_medium=email&utm_campaign=immediate_general_question&utm_content=topic#U2197513
- https://community.atlassian.com/t5/Sourcetree-questions/Sourcetree-won-t-install/qaq-p/2234999?utm_source=atlcomm&utm_medium=email&utm_campaign=immediate_general_question&utm_content=topic#U2235889
Expected Results
Sourcetree should launch without any error.
Actual Results
The below exception is thrown in the xxxxxxx.log file:
ERROR [2022-11-15 17:44:14,345] [1] [SourceTree.Model.Repository] [Log] - Repository: [] does not exist ERROR [2022-11-15 17:44:16,250] [1] [SourceTree.App] [Log] - Failed to start System.Management.ManagementException: Invalid class at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode) at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext() at SourceTree.UI.Theme.Wpf.Utilities.NativeHelper.GetWindowsVersion() at SourceTree.UI.Theme.Wpf.Controls.PerMonitorDpiWindow.OnSourceInitialized(EventArgs e) at System.Windows.Window.CreateSourceWindow(Boolean duringShow) at System.Windows.Window.ShowHelper(Object booleanBox) at SourceTree.AppRoot.<OnStartup>d__24.MoveNext() --- 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 System.Runtime.CompilerServices.TaskAwaiter.GetResult() at SourceTree.App.<OnStartup>d__9.MoveNext()
Workaround
WMI service need to be configured properly.
Attachments
Issue Links
- is duplicated by
-
SRCTREEWIN-13990 Failed to start after windows update
- Closed