初回起動時に ArgumentNullException で落ちる

Issue #514 closed
sk ☃#QQ repo owner created an issue

Hyper-V Windows 10 開発環境 で初回起動時に謎いエラーが発生する。
ユーザーID取得時にへんてこりんなことになってるんだろうけど、なぜかが不明。

---------------------------

---------------------------
System.ArgumentNullException: String reference not set to an instance of a String. (Parameter 's')

   at System.Text.Encoding.GetBytes(String s)

   at ContentTypeTextNet.Pe.Main.Models.Logic.UserIdManager.CreateFromEnvironment()

   at ContentTypeTextNet.Pe.Main.Models.Applications.ApplicationInitializer.Initialize(App app, StartupEventArgs e)

   at ContentTypeTextNet.Pe.Main.App.OnStartup(StartupEventArgs e)

   at System.Windows.Application.<.ctor>b__1_0(Object unused)

   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)

   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
---------------------------
OK   
---------------------------

Comments (6)

  1. Log in to comment