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

[Bug] 本地化资源 "_NoSuitableJava" 的错误键名称导致的 "找不到 NamedResource",从而引发的启动失败 #187

Closed
Maxdontron opened this issue Oct 1, 2023 · 4 comments
Labels
bug Something isn't working need to fix 需要修复

Comments

@Maxdontron
Copy link

描述遇到的问题

提示:
原因:找不到 NamedResource

不太懂是什么原因,重装过很多次软件仍然不行,不清楚是不是缺少运行时之类的

复现问题的步骤

1.打开应用
2.点击 启动Minecraft
3.问题出现

期望的表现

正常启动游戏

环境

Windows 11 22621.2283
Fluent Launcher 2.2.0.0

附件

Message: 找不到 NamedResource。

HelpLink:
======================================== InnerException: ========================================
Source:
StackTrace: at WinRT.ExceptionHelpers.g__Throw|20_0(Int32 hr)
at ABI.Microsoft.Windows.ApplicationModel.Resources.IResourceMapMethods.GetValue(IObjectReference _obj, String resource)
at Natsurainko.FluentLauncher.Utils.ResourceUtils.GetValue(String[] strings)
at Natsurainko.FluentLauncher.Services.Launch.LaunchService.<>c__DisplayClass13_0.b__0()
at Natsurainko.FluentLauncher.Components.Launch.LaunchProcess.RunLaunch()
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)

@Maxdontron Maxdontron added the bug Something isn't working label Oct 1, 2023
@natsurainko
Copy link
Member

emmmm 我昨天找了这个问题,原因是发现这个错误提示的本地化资源名称打错了导致解析失败,
这个错误的提示原本是 "没有找到合适版本的 Java 来启动这个游戏,需要版本 ${version}"

@natsurainko
Copy link
Member

昨天后来改过了 但是还没有推送商店

@natsurainko
Copy link
Member

临时的解决方案是去设置中关掉这个
image

@natsurainko natsurainko changed the title 启动失败 [Bug] 本地化资源 "_NoSuitableJava" 的错误键名称导致的 "找不到 NamedResource",从而引发的启动失败 Oct 1, 2023
@natsurainko natsurainko added the need to fix 需要修复 label Oct 1, 2023
@Maxdontron
Copy link
Author

临时的解决方案是去设置中关掉这个 image

可以了,谢谢作者大大

natsurainko added a commit that referenced this issue Oct 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working need to fix 需要修复
Projects
None yet
Development

No branches or pull requests

2 participants