-
Notifications
You must be signed in to change notification settings - Fork 34
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
A JSONObject text must begin with '{' #348
Comments
16:18:38 WARN: at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:67) |
I have 8 leaderboards and have problem. |
[15:44:31 WARN]: de.leonhard.storage.shaded.json.JSONException: A JSONObject text must begin with '{' at 0 [character 1 line 1]
[15:44:31 WARN]: at Parkour-7.2.1-RELEASE.jar//de.leonhard.storage.shaded.json.JSONTokener.syntaxError(JSONTokener.java:501)
[15:44:31 WARN]: at Parkour-7.2.1-RELEASE.jar//de.leonhard.storage.shaded.json.JSONObject.(JSONObject.java:208)
[15:44:31 WARN]: at Parkour-7.2.1-RELEASE.jar//de.leonhard.storage.Json.readToMap(Json.java:110)
[15:44:31 WARN]: at Parkour-7.2.1-RELEASE.jar//de.leonhard.storage.internal.FlatFile.forceReload(FlatFile.java:296)
[15:44:31 WARN]: at Parkour-7.2.1-RELEASE.jar//de.leonhard.storage.Json.(Json.java:68)
[15:44:31 WARN]: at Parkour-7.2.1-RELEASE.jar//io.github.a5h73y.parkour.type.player.PlayerConfig.(PlayerConfig.java:41)
[15:44:31 WARN]: at Parkour-7.2.1-RELEASE.jar//io.github.a5h73y.parkour.type.player.PlayerConfig.getConfig(PlayerConfig.java:58)
[15:44:31 WARN]: at Parkour-7.2.1-RELEASE.jar//io.github.a5h73y.parkour.ParkourPlaceholders.getPlayerPlaceholderValue(ParkourPlaceholders.java:151)
[15:44:31 WARN]: at Parkour-7.2.1-RELEASE.jar//io.github.a5h73y.parkour.ParkourPlaceholders.retrieveValue(ParkourPlaceholders.java:98)
[15:44:31 WARN]: at Parkour-7.2.1-RELEASE.jar//io.github.a5h73y.parkour.ParkourPlaceholders.onRequest(ParkourPlaceholders.java:78)
[15:44:31 WARN]: at PlaceholderAPI-2.11.3.jar//me.clip.placeholderapi.replacer.CharsReplacer.apply(CharsReplacer.java:119)
[15:44:31 WARN]: at PlaceholderAPI-2.11.3.jar//me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:71)
[15:44:31 WARN]: at PlaceholderAPI-2.11.3.jar//me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:99)
[15:44:31 WARN]: at DecentHolograms-2.8.3.jar//eu.decentsoftware.holograms.api.utils.PAPI.setPlaceholders(PAPI.java:32)
[15:44:31 WARN]: at DecentHolograms-2.8.3.jar//eu.decentsoftware.holograms.api.holograms.HologramLine.parsePlaceholders(HologramLine.java:349)
[15:44:31 WARN]: at DecentHolograms-2.8.3.jar//eu.decentsoftware.holograms.api.holograms.HologramLine.getText(HologramLine.java:310)
[15:44:31 WARN]: at DecentHolograms-2.8.3.jar//eu.decentsoftware.holograms.api.holograms.HologramLine.update(HologramLine.java:468)
[15:44:31 WARN]: at DecentHolograms-2.8.3.jar//eu.decentsoftware.holograms.api.holograms.Hologram.lambda$update$6(Hologram.java:669)
[15:44:31 WARN]: at com.google.common.collect.ImmutableList.forEach(ImmutableList.java:422)
[15:44:31 WARN]: at DecentHolograms-2.8.3.jar//eu.decentsoftware.holograms.api.holograms.Hologram.update(Hologram.java:669)
[15:44:31 WARN]: at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
[15:44:31 WARN]: at DecentHolograms-2.8.3.jar//eu.decentsoftware.holograms.api.holograms.Hologram.updateAll(Hologram.java:677)
[15:44:31 WARN]: at DecentHolograms-2.8.3.jar//eu.decentsoftware.holograms.api.holograms.Hologram.tick(Hologram.java:316)
[15:44:31 WARN]: at DecentHolograms-2.8.3.jar//eu.decentsoftware.holograms.api.utils.tick.Ticker.lambda$tick$1(Ticker.java:79)
[15:44:31 WARN]: at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804)
[15:44:31 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
[15:44:31 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
[15:44:31 WARN]: at java.base/java.lang.Thread.run(Thread.java:1623)
[15:44:31 WARN]: de.leonhard.storage.shaded.json.JSONException: A JSONObject text must begin with '{' at 0 [character 1 line 1]
[15:44:31 WARN]: at Parkour-7.2.1-RELEASE.jar//de.leonhard.storage.shaded.json.JSONTokener.syntaxError(JSONTokener.java:501)
[15:44:31 WARN]: at Parkour-7.2.1-RELEASE.jar//de.leonhard.storage.shaded.json.JSONObject.(JSONObject.java:208)
[15:44:31 WARN]: at Parkour-7.2.1-RELEASE.jar//de.leonhard.storage.Json.readToMap(Json.java:110)
[15:44:31 WARN]: at Parkour-7.2.1-RELEASE.jar//de.leonhard.storage.internal.FlatFile.forceReload(FlatFile.java:296)
[15:44:31 WARN]: at Parkour-7.2.1-RELEASE.jar//de.leonhard.storage.Json.(Json.java:68)
[15:44:31 WARN]: at Parkour-7.2.1-RELEASE.jar//io.github.a5h73y.parkour.type.player.PlayerConfig.(PlayerConfig.java:41)
[15:44:31 WARN]: at Parkour-7.2.1-RELEASE.jar//io.github.a5h73y.parkour.type.player.PlayerConfig.getConfig(PlayerConfig.java:58)
[15:44:31 WARN]: at Parkour-7.2.1-RELEASE.jar//io.github.a5h73y.parkour.ParkourPlaceholders.getPlayerPlaceholderValue(ParkourPlaceholders.java:151)
[15:44:31 WARN]: at Parkour-7.2.1-RELEASE.jar//io.github.a5h73y.parkour.ParkourPlaceholders.retrieveValue(ParkourPlaceholders.java:98)
[15:44:31 WARN]: at Parkour-7.2.1-RELEASE.jar//io.github.a5h73y.parkour.ParkourPlaceholders.onRequest(ParkourPlaceholders.java:78)
[15:44:31 WARN]: at PlaceholderAPI-2.11.3.jar//me.clip.placeholderapi.replacer.CharsReplacer.apply(CharsReplacer.java:119)
[15:44:31 WARN]: at PlaceholderAPI-2.11.3.jar//me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:71)
[15:44:31 WARN]: at PlaceholderAPI-2.11.3.jar//me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:99)
[15:44:31 WARN]: at DecentHolograms-2.8.3.jar//eu.decentsoftware.holograms.api.utils.PAPI.setPlaceholders(PAPI.java:32)
[15:44:31 WARN]: at DecentHolograms-2.8.3.jar//eu.decentsoftware.holograms.api.holograms.HologramLine.parsePlaceholders(HologramLine.java:349)
[15:44:31 WARN]: at DecentHolograms-2.8.3.jar//eu.decentsoftware.holograms.api.holograms.HologramLine.getText(HologramLine.java:310)
[15:44:31 WARN]: at DecentHolograms-2.8.3.jar//eu.decentsoftware.holograms.api.holograms.HologramLine.update(HologramLine.java:468)
[15:44:31 WARN]: at DecentHolograms-2.8.3.jar//eu.decentsoftware.holograms.api.holograms.Hologram.lambda$update$6(Hologram.java:669)
[15:44:31 WARN]: at com.google.common.collect.ImmutableList.forEach(ImmutableList.java:422)
[15:44:31 WARN]: at DecentHolograms-2.8.3.jar//eu.decentsoftware.holograms.api.holograms.Hologram.update(Hologram.java:669)
[15:44:31 WARN]: at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
[15:44:31 WARN]: at DecentHolograms-2.8.3.jar//eu.decentsoftware.holograms.api.holograms.Hologram.updateAll(Hologram.java:677)
[15:44:31 WARN]: at DecentHolograms-2.8.3.jar//eu.decentsoftware.holograms.api.holograms.Hologram.tick(Hologram.java:316)
[15:44:31 WARN]: at DecentHolograms-2.8.3.jar//eu.decentsoftware.holograms.api.utils.tick.Ticker.lambda$tick$1(Ticker.java:79)
[15:44:31 WARN]: at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804)
[15:44:31 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
[15:44:31 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
[15:44:31 WARN]: at java.base/java.lang.Thread.run(Thread.java:1623)
[15:45:28 WARN]: java.lang.NullPointerException
[15:45:28 WARN]: at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:67)
[15:45:28 WARN]: at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
[15:45:28 WARN]: at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:484)
[15:45:28 WARN]: at java.base/java.util.concurrent.ForkJoinTask.getThrowableException(ForkJoinTask.java:542)
[15:45:28 WARN]: at java.base/java.util.concurrent.ForkJoinTask.reportException(ForkJoinTask.java:567)
[15:45:28 WARN]: at java.base/java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:670)
[15:45:28 WARN]: at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateParallel(ReduceOps.java:927)
[15:45:28 WARN]: at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:233)
[15:45:28 WARN]: at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
[15:45:28 WARN]: at Parkour-7.2.1-RELEASE.jar//io.github.a5h73y.parkour.utility.cache.GenericCache.getExpiredKeys(GenericCache.java:50)
[15:45:28 WARN]: at Parkour-7.2.1-RELEASE.jar//io.github.a5h73y.parkour.utility.cache.GenericCache.clean(GenericCache.java:36)
[15:45:28 WARN]: at Parkour-7.2.1-RELEASE.jar//io.github.a5h73y.parkour.utility.cache.GenericCache.get(GenericCache.java:70)
[15:45:28 WARN]: at Parkour-7.2.1-RELEASE.jar//io.github.a5h73y.parkour.ParkourPlaceholders.getOrRetrieveCache(ParkourPlaceholders.java:492)
[15:45:28 WARN]: at Parkour-7.2.1-RELEASE.jar//io.github.a5h73y.parkour.ParkourPlaceholders.getCourseRecord(ParkourPlaceholders.java:442)
[15:45:28 WARN]: at Parkour-7.2.1-RELEASE.jar//io.github.a5h73y.parkour.ParkourPlaceholders.getCourseLeaderboardPlaceholderValue(ParkourPlaceholders.java:408)
[15:45:28 WARN]: at Parkour-7.2.1-RELEASE.jar//io.github.a5h73y.parkour.ParkourPlaceholders.retrieveValue(ParkourPlaceholders.java:117)
[15:45:28 WARN]: at Parkour-7.2.1-RELEASE.jar//io.github.a5h73y.parkour.ParkourPlaceholders.onRequest(ParkourPlaceholders.java:78)
[15:45:28 WARN]: at PlaceholderAPI-2.11.3.jar//me.clip.placeholderapi.replacer.CharsReplacer.apply(CharsReplacer.java:119)
[15:45:28 WARN]: at PlaceholderAPI-2.11.3.jar//me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:71)
[15:45:28 WARN]: at PlaceholderAPI-2.11.3.jar//me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:99)
[15:45:28 WARN]: at DecentHolograms-2.8.3.jar//eu.decentsoftware.holograms.api.utils.PAPI.setPlaceholders(PAPI.java:32)
[15:45:28 WARN]: at DecentHolograms-2.8.3.jar//eu.decentsoftware.holograms.api.holograms.HologramLine.parsePlaceholders(HologramLine.java:349)
[15:45:28 WARN]: at DecentHolograms-2.8.3.jar//eu.decentsoftware.holograms.api.holograms.HologramLine.getText(HologramLine.java:310)
[15:45:28 WARN]: at DecentHolograms-2.8.3.jar//eu.decentsoftware.holograms.api.holograms.HologramLine.update(HologramLine.java:468)
[15:45:28 WARN]: at DecentHolograms-2.8.3.jar//eu.decentsoftware.holograms.api.holograms.Hologram.lambda$update$6(Hologram.java:669)
[15:45:28 WARN]: at com.google.common.collect.ImmutableList.forEach(ImmutableList.java:422)
[15:45:28 WARN]: at DecentHolograms-2.8.3.jar//eu.decentsoftware.holograms.api.holograms.Hologram.update(Hologram.java:669)
[15:45:28 WARN]: at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
[15:45:28 WARN]: at DecentHolograms-2.8.3.jar//eu.decentsoftware.holograms.api.holograms.Hologram.updateAll(Hologram.java:677)
[15:45:28 WARN]: at DecentHolograms-2.8.3.jar//eu.decentsoftware.holograms.api.holograms.Hologram.tick(Hologram.java:316)
[15:45:28 WARN]: at DecentHolograms-2.8.3.jar//eu.decentsoftware.holograms.api.utils.tick.Ticker.lambda$tick$1(Ticker.java:79)
[15:45:28 WARN]: at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804)
[15:45:28 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
[15:45:28 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
[15:45:28 WARN]: at java.base/java.lang.Thread.run(Thread.java:1623)
[15:45:28 WARN]: Caused by: java.lang.NullPointerException
The text was updated successfully, but these errors were encountered: