GamerSafer / ablockalypse

MIT License
2 stars 0 forks source link

Cannot view past stories after death #2

Closed cafestifflered closed 2 years ago

cafestifflered commented 2 years ago

Steps:

[16:42:02 INFO]: stifflered issued server command: /ablockalypse backstory
[16:42:13 INFO]: [Ablockalypse] The player 3f03fc68-870c-45c2-94e9-ae670bad9195 just started a new story as a CONSTRUCTION_WORKER
[16:42:19 INFO]: stifflered issued server command: /ablockalypse stories
[16:42:23 INFO]: stifflered issued server command: /spawnb
[16:42:24 INFO]: stifflered issued server command: /spawn
[16:42:32 INFO]: stifflered issued server command: /gms
[16:42:40 INFO]: stifflered issued server command: /kill stifflered
[16:42:40 INFO]: stifflered fell out of the world
[16:42:40 INFO]: [stifflered: Killed stifflered]
[16:42:40 INFO]: [Ablockalypse] The player 3f03fc68-870c-45c2-94e9-ae670bad9195 just completed a story as a CONSTRUCTION_WORKER
[16:42:46 INFO]: stifflered issued server command: /gmc
[16:42:50 INFO]: stifflered issued server command: /ablockalypse stories stifflered
[16:42:50 WARN]: java.util.concurrent.CompletionException: java.lang.RuntimeException: java.sql.SQLException: Column 'deathCause' not found.
[16:42:50 WARN]:        at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)
[16:42:50 WARN]:        at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320)
[16:42:50 WARN]:        at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1770)
[16:42:50 WARN]:        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
[16:42:50 WARN]:        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[16:42:50 WARN]:        at java.base/java.lang.Thread.run(Thread.java:833)
[16:42:50 WARN]: Caused by: java.lang.RuntimeException: java.sql.SQLException: Column 'deathCause' not found.
[16:42:50 WARN]:        at ablockalypse-all-1.0-SNAPSHOT.jar//com.gamersafer.minecraft.ablockalypse.database.StoryDAO.lambda$getAllStories$4(StoryDAO.java:132)
[16:42:50 WARN]:        at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
[16:42:50 WARN]:        ... 3 more
[16:42:50 WARN]: Caused by: java.sql.SQLException: Column 'deathCause' not found.
[16:42:50 WARN]:        at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:129)
[16:42:50 WARN]:        at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97)
[16:42:50 WARN]:        at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:89)
[16:42:50 WARN]:        at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:63)
[16:42:50 WARN]:        at com.mysql.cj.jdbc.result.ResultSetImpl.findColumn(ResultSetImpl.java:581)
[16:42:50 WARN]:        at com.mysql.cj.jdbc.result.ResultSetImpl.getString(ResultSetImpl.java:888)
[16:42:50 WARN]:        at ablockalypse-all-1.0-SNAPSHOT.jar//lib.com.zaxxer.hikari.pool.HikariProxyResultSet.getString(HikariProxyResultSet.java)
[16:42:50 WARN]:        at ablockalypse-all-1.0-SNAPSHOT.jar//com.gamersafer.minecraft.ablockalypse.database.StoryDAO.lambda$getAllStories$4(StoryDAO.java:114)
[16:42:50 WARN]:        ... 4 more
[16:42:53 INFO]: stifflered issued server command: /ablockalypse stories
[16:43:11 INFO]: stifflered issued server command: /ablockalypse backstory
[16:43:20 WARN]: java.util.concurrent.CompletionException: java.lang.UnsupportedOperationException
[16:43:20 WARN]:        at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)
[16:43:20 WARN]:        at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320)
[16:43:20 WARN]:        at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:649)
[16:43:20 WARN]:        at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
[16:43:20 WARN]:        at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1773)
[16:43:20 WARN]:        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
[16:43:20 WARN]:        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[16:43:20 WARN]:        at java.base/java.lang.Thread.run(Thread.java:833)
[16:43:20 WARN]: Caused by: java.lang.UnsupportedOperationException
[16:43:20 WARN]:        at java.base/java.util.AbstractList.add(AbstractList.java:153)
[16:43:20 WARN]:        at java.base/java.util.AbstractList.add(AbstractList.java:111)
[16:43:20 WARN]:        at ablockalypse-all-1.0-SNAPSHOT.jar//com.gamersafer.minecraft.ablockalypse.story.StoryCache.lambda$startNewStory$2(StoryCache.java:50)
[16:43:20 WARN]:        at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:646)
[16:43:20 WARN]:        ... 5 more
[16:43:20 INFO]: [Ablockalypse] The player 3f03fc68-870c-45c2-94e9-ae670bad9195 just started a new story as a CHEF
[16:43:25 INFO]: stifflered issued server command: /ablockalypse stories
[16:43:27 INFO]: stifflered issued server command: /ablockalypse stories stifflered
cafestifflered commented 2 years ago

Still happening on latest commit with a fresh database.