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

Windows10程序启动异常,请检查日志 #47

Open
miRemid opened this issue Nov 3, 2021 · 9 comments
Open

Windows10程序启动异常,请检查日志 #47

miRemid opened this issue Nov 3, 2021 · 9 comments
Labels
question Further information is requested

Comments

@miRemid
Copy link

miRemid commented Nov 3, 2021

疑问描述
Windows 10 20H2版本直接打开V5.0版本启动失败

2021-11-03 15:24:45 com.unclezs.jfx.launcher.Launcher loadLocalManifest
信息: 解析本地配置文件
2021-11-03 15:24:45 com.unclezs.jfx.launcher.LauncherView setPhase
信息: 正在检测更新...
2021-11-03 15:24:45 com.unclezs.jfx.launcher.Launcher syncManifest
信息: 获取远程配置文件:http://uncle-novel.unclezs.com/novel/prod/conf/app.json
2021-11-03 15:24:45 com.unclezs.jfx.launcher.LauncherView setPhase
信息: 正在检测是否有新版本...
2021-11-03 15:24:45 com.unclezs.jfx.launcher.Launcher syncManifest
严重: 更新失败
com.unclezs.jfx.launcher.LauncherException: Manifest加载失败: http://uncle-novel.unclezs.com/novel/prod/conf/app.json
	at com.unclezs.jfx.launcher@1.1.8/com.unclezs.jfx.launcher.Manifest.load(Manifest.java:89)
	at com.unclezs.jfx.launcher@1.1.8/com.unclezs.jfx.launcher.Launcher.syncManifest(Launcher.java:125)
	at com.unclezs.jfx.launcher@1.1.8/com.unclezs.jfx.launcher.Launcher.checkForUpgrade(Launcher.java:110)
	at com.unclezs.jfx.launcher@1.1.8/com.unclezs.jfx.launcher.Launcher.startApplication(Launcher.java:59)
	at com.unclezs.jfx.launcher@1.1.8/com.unclezs.jfx.launcher.Launcher.lambda$start$1(Launcher.java:97)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.io.FileNotFoundException: http://uncle-novel.unclezs.com/novel/prod/conf/app.json
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
	at java.base/java.net.URL.openStream(Unknown Source)
	at com.unclezs.jfx.launcher@1.1.8/com.unclezs.jfx.launcher.Manifest.load(Manifest.java:86)
	... 5 more

2021-11-03 15:24:45 com.unclezs.jfx.launcher.LauncherView setPhase
信息: 正在初始化运行环境...
2021-11-03 15:24:46 com.unclezs.jfx.launcher.LauncherView setPhase
信息: 程序启动异常!!!
2021-11-03 15:24:46 com.unclezs.jfx.launcher.LauncherView setError
严重: 程序启动异常
java.lang.NullPointerException
	at com.unclezs.novel.app.framework@5.0.1/com.unclezs.novel.app.framework.support.fonts.FontsLoader.loadFonts(FontsLoader.java:36)
	at com.unclezs.novel.app.main@5.0.1/com.unclezs.novel.app.main.App.init(App.java:124)
	at com.unclezs.jfx.launcher@1.1.8/com.unclezs.jfx.launcher.Launcher.lambda$startApplication$0(Launcher.java:70)
	at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(Unknown Source)
	at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(Unknown Source)
	at javafx.graphics/com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
	at javafx.graphics/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
@miRemid miRemid added the question Further information is requested label Nov 3, 2021
@konvict
Copy link

konvict commented Nov 6, 2021

疑问描述 Windows 10 20H2版本直接打开V5.0版本启动失败

2021-11-03 15:24:45 com.unclezs.jfx.launcher.Launcher loadLocalManifest
信息: 解析本地配置文件
2021-11-03 15:24:45 com.unclezs.jfx.launcher.LauncherView setPhase
信息: 正在检测更新...
2021-11-03 15:24:45 com.unclezs.jfx.launcher.Launcher syncManifest
信息: 获取远程配置文件:http://uncle-novel.unclezs.com/novel/prod/conf/app.json
2021-11-03 15:24:45 com.unclezs.jfx.launcher.LauncherView setPhase
信息: 正在检测是否有新版本...
2021-11-03 15:24:45 com.unclezs.jfx.launcher.Launcher syncManifest
严重: 更新失败
com.unclezs.jfx.launcher.LauncherException: Manifest加载失败: http://uncle-novel.unclezs.com/novel/prod/conf/app.json
	at com.unclezs.jfx.launcher@1.1.8/com.unclezs.jfx.launcher.Manifest.load(Manifest.java:89)
	at com.unclezs.jfx.launcher@1.1.8/com.unclezs.jfx.launcher.Launcher.syncManifest(Launcher.java:125)
	at com.unclezs.jfx.launcher@1.1.8/com.unclezs.jfx.launcher.Launcher.checkForUpgrade(Launcher.java:110)
	at com.unclezs.jfx.launcher@1.1.8/com.unclezs.jfx.launcher.Launcher.startApplication(Launcher.java:59)
	at com.unclezs.jfx.launcher@1.1.8/com.unclezs.jfx.launcher.Launcher.lambda$start$1(Launcher.java:97)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.io.FileNotFoundException: http://uncle-novel.unclezs.com/novel/prod/conf/app.json
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
	at java.base/java.net.URL.openStream(Unknown Source)
	at com.unclezs.jfx.launcher@1.1.8/com.unclezs.jfx.launcher.Manifest.load(Manifest.java:86)
	... 5 more

2021-11-03 15:24:45 com.unclezs.jfx.launcher.LauncherView setPhase
信息: 正在初始化运行环境...
2021-11-03 15:24:46 com.unclezs.jfx.launcher.LauncherView setPhase
信息: 程序启动异常!!!
2021-11-03 15:24:46 com.unclezs.jfx.launcher.LauncherView setError
严重: 程序启动异常
java.lang.NullPointerException
	at com.unclezs.novel.app.framework@5.0.1/com.unclezs.novel.app.framework.support.fonts.FontsLoader.loadFonts(FontsLoader.java:36)
	at com.unclezs.novel.app.main@5.0.1/com.unclezs.novel.app.main.App.init(App.java:124)
	at com.unclezs.jfx.launcher@1.1.8/com.unclezs.jfx.launcher.Launcher.lambda$startApplication$0(Launcher.java:70)
	at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(Unknown Source)
	at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(Unknown Source)
	at javafx.graphics/com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
	at javafx.graphics/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)

你试试放系统分区。。。
我放C盘运行没问题。其他分区就是不行

@miRemid
Copy link
Author

miRemid commented Nov 7, 2021

确实,放C盘就行了,其他盘不行

@dujixiang
Copy link

我放到C盘也不行

@Teastears
Copy link

遇到了同样的问题,放在C盘可以了。但是不理解,为什么放C盘就可以,其他盘就不行

@unclezs
Copy link
Member

unclezs commented Jun 20, 2022

同样问题可以删除 fonts 目录下面的字体重试

@jackzhum
Copy link

jackzhum commented Nov 9, 2022

同样问题可以删除 fonts 目录下面的字体重试

亲测可行

@XIN817
Copy link

XIN817 commented Nov 27, 2023

同样问题可以删除 fonts 目录下面的字体重试

试了还是不行
image

@jzbqy
Copy link

jzbqy commented Dec 31, 2023

找到症结了,是uncle-novel_5.0.44_win\uncle-novel\conf\core.db的这个文件有问题,解决方法是把老版本相同目录下的这个文件复制过来替换他,uncle-novel_5.0.40此版本的该文件替换可用,4.0版本的不可行,如没有该文件的可以继续留言,我上传到蓝奏云分享给各位。
此方法对免安装和安装版的均可用

@jzbqy
Copy link

jzbqy commented Dec 31, 2023

刚看见前面的提问者也提到了这个文件,这个文件可以在github上下载替换

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

8 participants