AMLSim期间出现问题:线程“ main” org.json.JSONException中找不到异常

时间:2019-12-04 14:13:04

标签: java json jsonexception

我正在尝试从Windows上的https://github.com/IBM/AMLSim运行AMLSim。它正在使用java和python模拟事务数据。但是我收到一条错误消息,但我不知道如何解决。

我的命令提示符代码:

Microsoft Windows [Version 10.0.17763.864]
(c) 2018 Microsoft Corporation. All rights reserved.

C:\Path\to\AMLSim-master

C:\Path\to\AMLSim-master> python scripts/transaction_graph_generator.py conf.json
Random seed: 0
Simulation name: sample
Generated 10000 accounts.
Add 99900 base transactions
Exported 10000 accounts to tmp\sample\accounts.csv
Exported 100632 transactions to tmp\sample\transactions.csv
Output alert member list to: tmp\sample\alert_members.csv
Exported 792 members for 100 AML typologies to tmp\sample\alert_members.csv

C:\Path\to\AMLSim-master> sh scripts/build_AMLSim.sh

C:\Path\to\AMLSim-master>sh scripts/run_AMLSim.sh conf.json
Exception in thread "main" org.json.JSONException: JSONObject["sar_interval"] not found.
at org.json.JSONObject.get(JSONObject.java:566)
at org.json.JSONObject.getInt(JSONObject.java:740)
at amlsim.SimProperties.(SimProperties.java:41)
at amlsim.AMLSim.main(AMLSim.java:486)

C:\Path\to\AMLSim-master>

问题:

Exception in thread "main" org.json.JSONException: JSONObject["sar_interval"] not found.
at org.json.JSONObject.get(JSONObject.java:566)
at org.json.JSONObject.getInt(JSONObject.java:740)
at amlsim.SimProperties.(SimProperties.java:41)
at amlsim.AMLSim.main(AMLSim.java:486)

如果有人知道如何解决此问题,那将真的很有帮助。

预先感谢

0 个答案:

没有答案