Problem
ETS nie uruchamia się lub wyświetlane są komunikaty o błędach podobne do poniższego:
2023-04-03 14:48:02,961 [1] ERROR System.Windows.Application - System.ArgumentNullException: Der Wert darf nicht NULL sein.Parametername: keybei System.Collections.Generic.Dictionary`2. nsert(TKey key, TValue, Boolean add)bei System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)bei System.Linq. numerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector)bei Knx.Ets.ObjectModel.Operations.GroupRanges.DeleteGroupRangeOperation..ctor(IEnumerable`1 zakreses, Action`1 progress)bei Knx.Ets.ViewModel.Application.Workspace.OperationFactory.CreateDeleteOperation(IEnumerable`1 items, Action`1 callback)bei Knx.Ets.ViewModel.ContextMenu.ContextMenu.ContextMenuViewModel.<>c__DisplayClass163_0.<OnDelete>b__0(Action`1 action)bei Knx.Ets.ViewModel.Application.Wizards.GenericWizardPageVM..ctor(Kreator stringId, Func`2 getOperations, Func`2 getSubtitle, WizardPageAttachment)bei Knx. ts.ViewModel.Application.Wizards.GenericWizardViewModel..ctor(IList`1 objects)bei Knx.Ets.ViewModel.IocModule.<>c.<Load>b__0_39(Object[] objects)bei Knx.Ets. iewModel.Tools.WizardDialogService.GetWizard(wartość[])bei Knx.Ets.ViewModel.Tools.WizardDialogService.ShowGeneric(wartość logiczna withDelay, Object[])bei Knx.Ets.ViewModel.Service.ProgressDialogService.ShowDialog(WizardSubtype wizardType, Func`2 getOperationsCallback, Action`1 whenFinishedCallback, String localizedDescription, Boolean useDelay)bei Knx.Ets.ViewModel.ContextMenu.ContextMenuViewModel.OnDelete()
Przyczyna
Plik konfiguracji obszaru roboczego jest uszkodzony i ETS nie może go przetworzyć.
Rozwiązanie
- Zamknij ETS (jeśli jest otwarty).
- Zlokalizuj katalog projektu w folderze magazynu projektów.
- Zanotuj nazwę folderu projektu (tj. P-ABCD, gdzie ABCD to identyfikator projektu).
- Przejdź do folderu '%localappdata%\KNX\ETS6\Workspaces' (skopiuj zawartość w ' ' do Eksploratora plików Windows).
- Znajdź i usuń plik "P-ABCD.workspace", gdzie P-ABCD jest identyfikatorem projektu.
- Uruchom ponownie ETS.