Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GUI can't start after changing language #1664

Closed
Alex-302 opened this issue Apr 7, 2017 · 1 comment
Closed

GUI can't start after changing language #1664

Alex-302 opened this issue Apr 7, 2017 · 1 comment
Assignees
Labels
bug
Milestone

Comments

@Alex-302
Copy link
Member

@Alex-302 Alex-302 commented Apr 7, 2017

image

ERROR, Adguard, 4, 07.04.2017 13:37:21.700, Error on connection success: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
Source: mscorlib
Stack trace:    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Reflection.RuntimePropertyInfo.SetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, Object[] index, CultureInfo culture)
   at System.Reflection.RuntimePropertyInfo.SetValue(Object obj, Object value, Object[] index)
   at Adguard.Commons.Utils.ReflectionUtils.CopyProperties(Object source, Object destination)
   at Adguard.UI.Service.Impl.ClientSettingsService.ReloadGeneralSettings()
   at Adguard.UI.Service.Impl.ClientSettingsService.Reload()
   at Adguard.App.ReloadAll()
   at Adguard.App.OnConnectionSuccess(ClientConnectionSuccessMessage clientConnectionSuccessMessage)

    System.TypeInitializationException: The type initializer for 'Adguard.UI.Model.GeneralSettingsFilterUpdatesUI' threw an exception.
    Source: Adguard.UI
    Stack trace:    at Adguard.UI.Model.GeneralSettingsFilterUpdatesUI.set_PeriodString(String value)
   at Adguard.UI.Model.GeneralSettingsFilterUpdatesUI..ctor(Int64 periodLong)
   at Adguard.UI.Model.GeneralSettingsUI.set_FiltersUpdatePeriod(Int64 value)

        System.ArgumentNullException: Value cannot be null.
Parameter name: key
        Source: mscorlib
        Stack trace:    at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
   at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector)
   at Adguard.UI.Model.GeneralSettingsFilterUpdatesUI..cctor()
@Alex-302 Alex-302 added the bug label Apr 7, 2017
@ameshkov ameshkov added this to the 6.2 milestone Apr 7, 2017
@adbuker

This comment has been minimized.

Copy link

@adbuker adbuker commented Apr 7, 2017

resolved in ADWIN-CR-175

@adbuker adbuker closed this Apr 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.