Skip to main content

Labeler v7: crashes at launch, logged error: ViewModelLocator Constructor Error: Index was out of range. Must be non-negative and less than the size of the collection. - Knowledgebase / Software / Labeler / Version 7 - Wasp Helpdesk

Labeler v7: crashes at launch, logged error: ViewModelLocator Constructor Error: Index was out of range. Must be non-negative and less than the size of the collection.

Authors list

Labeler crashes every time when launched, with the following error logged:

2020-07-09 07:55:47.015          1 FATAL       | ViewModelLocator Constructor Error
 Index was out of range. Must be non-negative and less than the size of the collection.
                                    | Parameter name: index
    at WASP.WPF.Common.ViewModel.MainViewModel..ctor()
                                    |    at WASP.WPF.Common.ViewModel.ViewModelLocator.CreateMain()
                                    |    at WASP.WPF.Common.ViewModel.ViewModelLocator..ctor()

Cause: Windows Regional formatting is not set to English (United States) which is required.

Resolution: In the Windows control panel Region and Language, Formats tab, change the Format to English (United States)
Helpful Unhelpful

0 of 2 people found this page helpful