Warnings but working….
alfista-sk opened this issue · 24 comments
Hi,
I run MC 1.7.9 R0.2 and installed your latest AutoRank 3.1.1 and have this warnings:
[15:57:13 WARN]: Unexpected token END OF FILE at position 0.
[15:57:13 WARN]: at org.json.simple.parser.JSONParser.parse(Unknown Source)
[15:57:13 WARN]: at org.json.simple.parser.JSONParser.parse(Unknown Source)
[15:57:13 WARN]: at me.armar.plugins.autorank.util.uuid.NameFetcher.call(NameFetcher.java:43)
[15:57:13 WARN]: at me.armar.plugins.autorank.util.uuid.UUIDManager$2.run(UUIDManager.java:222)
[15:57:13 WARN]: at java.lang.Thread.run(Thread.java:722)
What is needed to do, that they disappear?
Thanks and regards.
Hi, this is everything that i have in data.yml
3a93ebbb-15b9-4587-8da5-7f7c58b10db9: 60
9a16dc9b-e5f7-4485-8517-53bf397910fd: 15
c58f92e2-459d-39f0-900c-76e2c5940b93: 5
It seems that your data.yml is okay. I'm unfamiliar with this exception but I'll try to find a solution.
After start there are no more warnings. We will see by longer work and testing. Thanks.
Hi, I have now installed the new 3.2 version and have the same warnings:
[14:53:44 WARN]: java.lang.Exception: Could not parse uuid to name!
[14:53:44 WARN]: at me.armar.plugins.autorank.util.uuid.NameFetcher.call(NameFetcher.java:51)
[14:53:44 WARN]: at me.armar.plugins.autorank.util.uuid.UUIDManager$2.run(UUIDManager.java:222)
[14:53:44 WARN]: at java.lang.Thread.run(Thread.java:722)
[14:53:44 WARN]: java.lang.Exception: Could not parse uuid to name!
[14:53:44 WARN]: at me.armar.plugins.autorank.util.uuid.NameFetcher.call(NameFetcher.java:51)
[14:53:44 WARN]: at me.armar.plugins.autorank.util.uuid.UUIDManager$2.run(UUIDManager.java:222)
[14:53:44 WARN]: at java.lang.Thread.run(Thread.java:722)
You need to download Dev build #269. It was fixed in that version.
I have it now more :-(
[15:16:41 WARN]: Unexpected token END OF FILE at position 0.
[15:16:41 WARN]: at org.json.simple.parser.JSONParser.parse(Unknown Source)
[15:16:41 WARN]: at org.json.simple.parser.JSONParser.parse(Unknown Source)
[15:16:41 WARN]: at org.json.simple.parser.JSONParser.parse(Unknown Source)
[15:16:41 WARN]: at me.armar.plugins.autorank.util.uuid.NameFetcher.call(NameFetcher.java:71)
[15:16:41 WARN]: at me.armar.plugins.autorank.util.uuid.UUIDManager$2.run(UUIDManager.java:224)
[15:16:41 WARN]: at java.lang.Thread.run(Thread.java:722)
[15:16:41 WARN]: Unexpected token END OF FILE at position 0.
[15:16:41 WARN]: at org.json.simple.parser.JSONParser.parse(Unknown Source)
[15:16:41 WARN]: at org.json.simple.parser.JSONParser.parse(Unknown Source)
[15:16:41 WARN]: at org.json.simple.parser.JSONParser.parse(Unknown Source)
[15:16:41 WARN]: at me.armar.plugins.autorank.util.uuid.NameFetcher.call(NameFetcher.java:71)
[15:16:41 WARN]: at me.armar.plugins.autorank.util.uuid.UUIDManager$2.run(UUIDManager.java:224)
[15:16:41 WARN]: at java.lang.Thread.run(Thread.java:722)
[15:16:41 WARN]: Unexpected token END OF FILE at position 0.
[15:16:41 WARN]: at org.json.simple.parser.JSONParser.parse(Unknown Source)
[15:16:41 WARN]: at org.json.simple.parser.JSONParser.parse(Unknown Source)
[15:16:41 WARN]: at org.json.simple.parser.JSONParser.parse(Unknown Source)
[15:16:41 WARN]: at me.armar.plugins.autorank.util.uuid.NameFetcher.call(NameFetcher.java:71)
[15:16:41 WARN]: at me.armar.plugins.autorank.util.uuid.UUIDManager$2.run(UUIDManager.java:224)
[15:16:41 WARN]: at java.lang.Thread.run(Thread.java:722)
[15:16:41 WARN]: Unexpected token END OF FILE at position 0.
[15:16:41 WARN]: at org.json.simple.parser.JSONParser.parse(Unknown Source)
[15:16:41 WARN]: at org.json.simple.parser.JSONParser.parse(Unknown Source)
[15:16:41 WARN]: at org.json.simple.parser.JSONParser.parse(Unknown Source)
[15:16:41 WARN]: at me.armar.plugins.autorank.util.uuid.NameFetcher.call(NameFetcher.java:71)
[15:16:41 WARN]: at me.armar.plugins.autorank.util.uuid.UUIDManager$2.run(UUIDManager.java:224)
[15:16:41 WARN]: at java.lang.Thread.run(Thread.java:722)
[16:03:38 INFO]: [Autorank] Enabling Autorank v3.2-Dev-269
[16:03:38 INFO]: [Autorank] Simple config file loaded
[16:03:38 INFO]: [Autorank] Advanced config file loaded
[16:03:38 INFO]: [Autorank] Settings config file loaded
[16:03:38 INFO]: [Autorank] Loaded playerdata.
[16:03:38 INFO]: [Autorank] No stats plugin found! Most requirements cannot be used!
[16:03:38 INFO]: [Autorank] Loaded libraries and dependencies
[16:03:38 INFO]: [Autorank] Interval check every 5 minutes.
[16:03:38 INFO]: [Autorank] Data file loaded
[16:03:38 INFO]: [Autorank] Config files have been correctly setup!
[16:03:38 INFO]: [Autorank] Language file loaded (lang.yml)
[16:03:38 INFO]: [Autorank] Using timings of: autorank
[16:03:38 INFO]: [Autorank] Autorank 3.2-Dev-269 has been enabled!
These are the warnings from last start:
[16:03:44 WARN]: Unexpected token END OF FILE at position 0.
[16:03:44 WARN]: at org.json.simple.parser.JSONParser.parse(Unknown Source)
[16:03:44 WARN]: at org.json.simple.parser.JSONParser.parse(Unknown Source)
[16:03:44 WARN]: at org.json.simple.parser.JSONParser.parse(Unknown Source)
[16:03:44 WARN]: at me.armar.plugins.autorank.util.uuid.NameFetcher.call(NameFetcher.java:71)
[16:03:44 WARN]: at me.armar.plugins.autorank.util.uuid.UUIDManager$2.run(UUIDManager.java:224)
[16:03:44 WARN]: at java.lang.Thread.run(Thread.java:722)
[16:03:44 WARN]: Unexpected token END OF FILE at position 0.
[16:03:44 WARN]: at org.json.simple.parser.JSONParser.parse(Unknown Source)
[16:03:44 WARN]: at org.json.simple.parser.JSONParser.parse(Unknown Source)
[16:03:44 WARN]: at org.json.simple.parser.JSONParser.parse(Unknown Source)
[16:03:44 WARN]: at me.armar.plugins.autorank.util.uuid.NameFetcher.call(NameFetcher.java:71)
[16:03:44 WARN]: at me.armar.plugins.autorank.util.uuid.UUIDManager$2.run(UUIDManager.java:224)
[16:03:44 WARN]: at java.lang.Thread.run(Thread.java:722)
Can it be in a settings? I don't updated it. Only put the new version ov this plugin in plugin folder. I try to delete the data.yml and this errors above are from start after delete.
Can you pastebin your data.yml? I'm going to need it to test and try to bugfix this issue.
Here is it:
3a93ebbb-15b9-4587-8da5-7f7c58b10db9: 60
9a16dc9b-e5f7-4485-8517-53bf397910fd: 15
c58f92e2-459d-39f0-900c-76e2c5940b93: 5
029a4042-493d-385b-8c56-e7d0e73636c2: 50
What is saved in data.yml?
No, unfortunately not. Yesterday I worked a full day on the issue and I came to conclude there is some kind of cooldown on looking up player names. So I'm trying to fix it, but it's getting very frustrating. Do you know when the error occurs exactly? What do you do to make it happen?
It shows when the start of MC is finished. This is the last start message in console. After that I din't find it there. But I have now on my server that is in building process and we don't have there now much traffic.
I have downloaded the last development build #276:
[08:17:39 INFO]: [Autorank] Enabling Autorank v3.2-Dev-276
[08:17:39 INFO]: [Autorank] Simple config file loaded
[08:17:40 INFO]: [Autorank] Advanced config file loaded
[08:17:40 INFO]: [Autorank] Settings config file loaded
[08:17:40 INFO]: [Autorank] Loaded playerdata.
[08:17:40 INFO]: [Autorank] No stats plugin found! Most requirements cannot be used!
[08:17:40 INFO]: [Autorank] Loaded libraries and dependencies
[08:17:40 INFO]: [Autorank] Interval check every 5 minutes.
[08:17:40 INFO]: [Autorank] Data file loaded
[08:17:40 INFO]: [Autorank] Config files have been correctly setup!
[08:17:40 INFO]: [Autorank] Language file loaded (lang.yml)
[08:17:40 INFO]: [Autorank] Using timings of: autorank
[08:17:40 INFO]: [Autorank] Autorank 3.2-Dev-276 has been enabled!
and it do the same warnings. They are shown immediately after finishing the startup process:
08:17:46 WARN]: Unexpected token END OF FILE at position 0.
[08:17:46 WARN]: at org.json.simple.parser.JSONParser.parse(Unknown Source)
[08:17:46 WARN]: at org.json.simple.parser.JSONParser.parse(Unknown Source)
[08:17:46 WARN]: at org.json.simple.parser.JSONParser.parse(Unknown Source)
[08:17:46 WARN]: at me.armar.plugins.autorank.util.uuid.NameFetcher.call(NameFetcher.java:102)
[08:17:46 WARN]: at me.armar.plugins.autorank.util.uuid.UUIDManager$1.run(UUIDManager.java:196)
[08:17:46 WARN]: at java.lang.Thread.run(Thread.java:722)
[08:17:46 WARN]: Unexpected token END OF FILE at position 0.
[08:17:46 WARN]: at org.json.simple.parser.JSONParser.parse(Unknown Source)
[08:17:46 WARN]: at org.json.simple.parser.JSONParser.parse(Unknown Source)
[08:17:46 WARN]: at org.json.simple.parser.JSONParser.parse(Unknown Source)
[08:17:46 WARN]: at me.armar.plugins.autorank.util.uuid.NameFetcher.call(NameFetcher.java:102)
[08:17:46 WARN]: at me.armar.plugins.autorank.util.uuid.UUIDManager$1.run(UUIDManager.java:196)
[08:17:46 WARN]: at java.lang.Thread.run(Thread.java:722)