Skip to content
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

Statz upgrade failed #131

Open
SXRWahrheit opened this issue Aug 21, 2020 · 0 comments
Open

Statz upgrade failed #131

SXRWahrheit opened this issue Aug 21, 2020 · 0 comments

Comments

@SXRWahrheit
Copy link

SXRWahrheit commented Aug 21, 2020

I recently updated from 1.12.2 to 1.16.1 and updated Statz. Nevertheless, the upgrade is failing:

[10:36:48] [Craft Scheduler Thread - 10/WARN]: java.lang.IllegalArgumentException: Cannot get ID of Modern Material
[10:36:48] [Craft Scheduler Thread - 10/WARN]: 	at org.apache.commons.lang.Validate.isTrue(Validate.java:136)
[10:36:48] [Craft Scheduler Thread - 10/WARN]: 	at org.bukkit.Material.getId(Material.java:3591)
[10:36:48] [Craft Scheduler Thread - 10/WARN]: 	at me.staartvin.statz.util.XMaterial.getId(XMaterial.java:1444)
[10:36:48] [Craft Scheduler Thread - 10/WARN]: 	at me.staartvin.statz.util.XMaterial.lambda$matchXMaterial$6(XMaterial.java:1226)
[10:36:48] [Craft Scheduler Thread - 10/WARN]: 	at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
[10:36:48] [Craft Scheduler Thread - 10/WARN]: 	at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958)
[10:36:48] [Craft Scheduler Thread - 10/WARN]: 	at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
[10:36:48] [Craft Scheduler Thread - 10/WARN]: 	at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
[10:36:48] [Craft Scheduler Thread - 10/WARN]: 	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
[10:36:48] [Craft Scheduler Thread - 10/WARN]: 	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
[10:36:48] [Craft Scheduler Thread - 10/WARN]: 	at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
[10:36:48] [Craft Scheduler Thread - 10/WARN]: 	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
[10:36:48] [Craft Scheduler Thread - 10/WARN]: 	at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
[10:36:48] [Craft Scheduler Thread - 10/WARN]: 	at me.staartvin.statz.util.XMaterial.matchXMaterial(XMaterial.java:1226)
[10:36:48] [Craft Scheduler Thread - 10/WARN]: 	at me.staartvin.statz.util.StatzUtil.findMaterial(StatzUtil.java:658)
[10:36:48] [Craft Scheduler Thread - 10/WARN]: 	at me.staartvin.statz.patches.RemoveTypeIdAndDataValuesPatch.convertSQLiteTable(RemoveTypeIdAndDataValuesPatch.java:127)
[10:36:48] [Craft Scheduler Thread - 10/WARN]: 	at me.staartvin.statz.patches.RemoveTypeIdAndDataValuesPatch.applySQLiteChanges(RemoveTypeIdAndDataValuesPatch.java:86)
[10:36:48] [Craft Scheduler Thread - 10/WARN]: 	at me.staartvin.statz.patches.PatchManager.applyPatches(PatchManager.java:97)
[10:36:48] [Craft Scheduler Thread - 10/WARN]: 	at me.staartvin.statz.database.SQLiteConnector$1.run(SQLiteConnector.java:100)
[10:36:48] [Craft Scheduler Thread - 10/WARN]: 	at org.bukkit.craftbukkit.v1_16_R1.scheduler.CraftTask.run(CraftTask.java:99)
[10:36:48] [Craft Scheduler Thread - 10/WARN]: 	at org.bukkit.craftbukkit.v1_16_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54)
[10:36:48] [Craft Scheduler Thread - 10/WARN]: 	at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)
[10:36:48] [Craft Scheduler Thread - 10/WARN]: 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[10:36:48] [Craft Scheduler Thread - 10/WARN]: 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[10:36:48] [Craft Scheduler Thread - 10/WARN]: 	at java.lang.Thread.run(Thread.java:748)
[10:36:48] [Craft Scheduler Thread - 10/INFO]: [Statz] Failed to apply patch 'Remove type id and datavalue of materials' (id: 4).
[10:36:48] [Craft Scheduler Thread - 10/INFO]: [Statz] Consider rolling back this patch by looking into the backups of your data storage that were automatically created by Statz!
[10:36:48] [Craft Scheduler Thread - 10/INFO]: [Statz] ---------- [No patches have been applied, as one failed.] ----------

Statz 1.6 b30
Paper 1.16.1 134

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant