wgpsec / fofa_viewer

A simple FOFA client written in JavaFX. Made by WgpSec, Maintained by f1ashine.
https://opensource.wgpsec.org
MIT License
1.56k stars 155 forks source link

[BUG] jdk 1.8导出文件内容为空 #157

Open NHPT opened 1 month ago

NHPT commented 1 month ago

描述你遇到的问题 结果导出为空

复现步骤

屏幕截图

image image image 运行环境

keac commented 1 month ago

请命令行运行 java -jar 查看是否有报错日志

Kiand1 commented 1 month ago

一样的问题 控制台报错 ERROR MainController.java.java:529-call: java.lang.NullPointerException at org.fofaviewer.utils.DataUtil.loadJsonData(DataUtil.java:123) at org.fofaviewer.controllers.MainController$7.call(MainController.java:508) at org.fofaviewer.controllers.MainController$7.call(MainController.java:494) at javafx.concurrent.Task$TaskCallable.call(Task.java:1423) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console...

0xShe commented 3 weeks ago

俺也一样

Mr-xn commented 1 week ago

@NHPT @0xShe @Kiand1 可能是分页的问题,尝试不导出整数页数据 比如查询结果显示有10页(假设每页100条数据,实际是912条,导出数据10页就可能报空指针错误) 导出9页 试试