Skip to content
This repository was archived by the owner on Oct 10, 2026. It is now read-only.
This repository was archived by the owner on Oct 10, 2026. It is now read-only.

[Bug] 程序出现了《启动失败、联系开发者》问题 #141

Open

Description

@l904218477-del

1️⃣ 简述遇到的问题

  1. 点击启动闪退

3️⃣ 提供程序日志

2026-05-25 15:06:59:528 [ERROR] System.Reflection.TargetInvocationException: 调用的目标发生了异常。 ---> System.NullReferenceException: 未将对象引用设置到对象的实例。
在 FreeControl.Main.LoadLangRes()
在 FreeControl.Main..ctor()
--- 内部异常堆栈跟踪的结尾 ---
在 System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
在 System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
在 System.Activator.CreateInstance(Type type, Boolean nonPublic)
在 FreeControl.Utils.Singleton`1.get_Instance()
在 FreeControl.Program.Main()

Activity

  1. jjj252525 commented on Jul 6, 2026

    @jjj252525

    metoo

    2026-07-06 09:29:23:409 [ERROR] System.Reflection.TargetInvocationException: 调用的目标发生了异常。 ---> System.NullReferenceException: 未将对象引用设置到对象的实例。
    在 FreeControl.Main.LoadLangRes()
    在 FreeControl.Main..ctor()
    --- 内部异常堆栈跟踪的结尾 ---
    在 System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
    在 System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
    在 System.Activator.CreateInstance(Type type, Boolean nonPublic)
    在 FreeControl.Utils.Singleton`1.get_Instance()
    在 FreeControl.Program.Main()

  2. jjj252525 commented on Jul 6, 2026

    @jjj252525

    哦,找到解决方法了,地址栏输入%AppData%\FreeControl,然后把config.json删了就好了

  3. luxiang1989 commented on Jul 20, 2026

    @luxiang1989

    哦,找到解决方法了,地址栏输入%AppData%\FreeControl,然后把config.json删了就好了

    今天遇到的,用你的方法立马解决了,感谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions