Brikster / Chatty

Bukkit-compatible chat management system
MIT License
92 stars 47 forks source link

[v3] Error when loading plugin #308

Open f1f1stashka opened 3 months ago

f1f1stashka commented 3 months ago

when loading plugin error occured. Server: Paper 1.21 build 66 Chatty v3 ff0144c

[06:35:35] [Server thread/INFO]: [Chatty] Enabling Chatty v3.0.0-SNAPSHOT
[06:35:35] [Server thread/INFO]: [Chatty] Using native Adventure audience provider
[06:35:37] [Server thread/INFO]: [ru.brikster.chatty.shaded.com.google.inject.Guice] An exception was caught and reported. Message: java.lang.ArithmeticException: Rounding necessary
eu.okaeri.configs.exception.OkaeriException: failed to initialize ru.brikster.chatty.config.file.ChatsConfig [class eu.okaeri.configs.validator.okaeri.OkaeriValidator]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.ConfigManager.create(ConfigManager.java:55) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/ru.brikster.chatty.guice.GeneralGuiceModule.createConfig(GeneralGuiceModule.java:359) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/ru.brikster.chatty.guice.GeneralGuiceModule.configure(GeneralGuiceModule.java:154) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/ru.brikster.chatty.shaded.com.google.inject.AbstractModule.configure(AbstractModule.java:66) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/ru.brikster.chatty.shaded.com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:409) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/ru.brikster.chatty.shaded.com.google.inject.spi.Elements.getElements(Elements.java:108) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/ru.brikster.chatty.shaded.com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:160) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/ru.brikster.chatty.shaded.com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:107) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/ru.brikster.chatty.shaded.com.google.inject.Guice.createInjector(Guice.java:87) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/ru.brikster.chatty.shaded.com.google.inject.Guice.createInjector(Guice.java:69) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/ru.brikster.chatty.shaded.com.google.inject.Guice.createInjector(Guice.java:59) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/ru.brikster.chatty.Chatty.initialize(Chatty.java:155) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/ru.brikster.chatty.Chatty.onEnable(Chatty.java:95) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:288) ~[paper-api-1.21-R0.1-SNAPSHOT.jar:?]
    at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:202) ~[paper-1.21.jar:1.21-66-99ae7bb]
    at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:109) ~[paper-1.21.jar:1.21-66-99ae7bb]
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:520) ~[paper-api-1.21-R0.1-SNAPSHOT.jar:?]
    at org.bukkit.craftbukkit.CraftServer.enablePlugin(CraftServer.java:629) ~[paper-1.21.jar:1.21-66-99ae7bb]
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:578) ~[paper-1.21.jar:1.21-66-99ae7bb]
    at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:753) ~[paper-1.21.jar:1.21-66-99ae7bb]
    at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:515) ~[paper-1.21.jar:1.21-66-99ae7bb]
    at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:327) ~[paper-1.21.jar:1.21-66-99ae7bb]
    at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1220) ~[paper-1.21.jar:1.21-66-99ae7bb]
    at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:330) ~[paper-1.21.jar:1.21-66-99ae7bb]
    at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]
Caused by: eu.okaeri.configs.exception.OkaeriException: failed to #getValue for chats
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.OkaeriConfig.update(OkaeriConfig.java:647) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.OkaeriConfig.load(OkaeriConfig.java:467) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.OkaeriConfig.load(OkaeriConfig.java:489) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.OkaeriConfig.load(OkaeriConfig.java:503) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.OkaeriConfig.load(OkaeriConfig.java:477) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.OkaeriConfig.load(OkaeriConfig.java:424) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/ru.brikster.chatty.guice.GeneralGuiceModule.lambda$createConfig$1(GeneralGuiceModule.java:413) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.ConfigManager.create(ConfigManager.java:52) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    ... 24 more
Caused by: eu.okaeri.configs.exception.OkaeriException: failed to #getValue for cooldown
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.OkaeriConfig.update(OkaeriConfig.java:647) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.configurer.Configurer.resolveType(Configurer.java:189) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.configurer.Configurer.resolveType(Configurer.java:223) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.configurer.Configurer.getValue(Configurer.java:157) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.configurer.WrappedConfigurer.getValue(WrappedConfigurer.java:11) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.OkaeriConfig.update(OkaeriConfig.java:645) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.OkaeriConfig.load(OkaeriConfig.java:467) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.OkaeriConfig.load(OkaeriConfig.java:489) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.OkaeriConfig.load(OkaeriConfig.java:503) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.OkaeriConfig.load(OkaeriConfig.java:477) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.OkaeriConfig.load(OkaeriConfig.java:424) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/ru.brikster.chatty.guice.GeneralGuiceModule.lambda$createConfig$1(GeneralGuiceModule.java:413) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.ConfigManager.create(ConfigManager.java:52) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    ... 24 more
Caused by: java.lang.ArithmeticException: Rounding necessary
    at java.base/java.math.BigDecimal.longValueExact(BigDecimal.java:3639) ~[?:?]
    at java.base/java.math.BigDecimal.intValueExact(BigDecimal.java:3712) ~[?:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.serdes.standard.StringToIntegerTransformer.transform(StringToIntegerTransformer.java:19) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.serdes.standard.StringToIntegerTransformer.transform(StringToIntegerTransformer.java:10) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.configurer.Configurer.resolveType(Configurer.java:311) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.configurer.Configurer.resolveType(Configurer.java:279) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.configurer.WrappedConfigurer.resolveType(WrappedConfigurer.java:11) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.configurer.InMemoryWrappedConfigurer.getValue(InMemoryWrappedConfigurer.java:41) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.OkaeriConfig.update(OkaeriConfig.java:645) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.configurer.Configurer.resolveType(Configurer.java:189) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.configurer.Configurer.resolveType(Configurer.java:223) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.configurer.Configurer.getValue(Configurer.java:157) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.configurer.WrappedConfigurer.getValue(WrappedConfigurer.java:11) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.OkaeriConfig.update(OkaeriConfig.java:645) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.OkaeriConfig.load(OkaeriConfig.java:467) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.OkaeriConfig.load(OkaeriConfig.java:489) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.OkaeriConfig.load(OkaeriConfig.java:503) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.OkaeriConfig.load(OkaeriConfig.java:477) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.OkaeriConfig.load(OkaeriConfig.java:424) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/ru.brikster.chatty.guice.GeneralGuiceModule.lambda$createConfig$1(GeneralGuiceModule.java:413) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.ConfigManager.create(ConfigManager.java:52) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    ... 24 more
[06:35:37] [Server thread/ERROR]: Error occurred while enabling Chatty v3.0.0-SNAPSHOT (Is it up to date?)
ru.brikster.chatty.shaded.com.google.inject.CreationException: Unable to create injector, see the following errors:

1) An exception was caught and reported. Message: failed to initialize ChatsConfig [class OkaeriValidator]
  at [unknown source]

2) [Guice/MissingImplementation]: No implementation for Set<MessageTransformStrategy<?>> was bound.

Requested by:
1  : MessageTransformStrategiesProcessorImpl.strategies(MessageTransformStrategiesProcessorImpl.java:21)
      \_ for field strategies
     at Chatty-3.0.0-SNAPSHOT.jar//GeneralGuiceModule.configure(GeneralGuiceModule.java:133)

Learn more:
  https://github.com/google/guice/wiki/MISSING_IMPLEMENTATION

2 errors

======================
Full classname legend:
======================
ChatsConfig:                             "ru.brikster.chatty.config.file.ChatsConfig"
GeneralGuiceModule:                      "ru.brikster.chatty.guice.GeneralGuiceModule"
MessageTransformStrategiesProcessorImpl: "ru.brikster.chatty.chat.message.transform.processor.MessageTransformStrategiesProcessorImpl"
MessageTransformStrategy:                "ru.brikster.chatty.api.chat.message.strategy.MessageTransformStrategy"
OkaeriValidator:                         "eu.okaeri.configs.validator.okaeri.OkaeriValidator"
========================
End of classname legend:
========================

    at Chatty-3.0.0-SNAPSHOT.jar/ru.brikster.chatty.shaded.com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:576) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/ru.brikster.chatty.shaded.com.google.inject.internal.InternalInjectorCreator.initializeStatically(InternalInjectorCreator.java:163) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/ru.brikster.chatty.shaded.com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:110) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/ru.brikster.chatty.shaded.com.google.inject.Guice.createInjector(Guice.java:87) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/ru.brikster.chatty.shaded.com.google.inject.Guice.createInjector(Guice.java:69) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/ru.brikster.chatty.shaded.com.google.inject.Guice.createInjector(Guice.java:59) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/ru.brikster.chatty.Chatty.initialize(Chatty.java:155) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/ru.brikster.chatty.Chatty.onEnable(Chatty.java:95) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:288) ~[paper-api-1.21-R0.1-SNAPSHOT.jar:?]
    at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:202) ~[paper-1.21.jar:1.21-66-99ae7bb]
    at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:109) ~[paper-1.21.jar:1.21-66-99ae7bb]
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:520) ~[paper-api-1.21-R0.1-SNAPSHOT.jar:?]
    at org.bukkit.craftbukkit.CraftServer.enablePlugin(CraftServer.java:629) ~[paper-1.21.jar:1.21-66-99ae7bb]
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:578) ~[paper-1.21.jar:1.21-66-99ae7bb]
    at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:753) ~[paper-1.21.jar:1.21-66-99ae7bb]
    at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:515) ~[paper-1.21.jar:1.21-66-99ae7bb]
    at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:327) ~[paper-1.21.jar:1.21-66-99ae7bb]
    at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1220) ~[paper-1.21.jar:1.21-66-99ae7bb]
    at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:330) ~[paper-1.21.jar:1.21-66-99ae7bb]
    at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]
Caused by: eu.okaeri.configs.exception.OkaeriException: failed to initialize ru.brikster.chatty.config.file.ChatsConfig [class eu.okaeri.configs.validator.okaeri.OkaeriValidator]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.ConfigManager.create(ConfigManager.java:55) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/ru.brikster.chatty.guice.GeneralGuiceModule.createConfig(GeneralGuiceModule.java:359) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/ru.brikster.chatty.guice.GeneralGuiceModule.configure(GeneralGuiceModule.java:154) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/ru.brikster.chatty.shaded.com.google.inject.AbstractModule.configure(AbstractModule.java:66) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/ru.brikster.chatty.shaded.com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:409) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/ru.brikster.chatty.shaded.com.google.inject.spi.Elements.getElements(Elements.java:108) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/ru.brikster.chatty.shaded.com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:160) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/ru.brikster.chatty.shaded.com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:107) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    ... 17 more
Caused by: eu.okaeri.configs.exception.OkaeriException: failed to #getValue for chats
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.OkaeriConfig.update(OkaeriConfig.java:647) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.OkaeriConfig.load(OkaeriConfig.java:467) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.OkaeriConfig.load(OkaeriConfig.java:489) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.OkaeriConfig.load(OkaeriConfig.java:503) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.OkaeriConfig.load(OkaeriConfig.java:477) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.OkaeriConfig.load(OkaeriConfig.java:424) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/ru.brikster.chatty.guice.GeneralGuiceModule.lambda$createConfig$1(GeneralGuiceModule.java:413) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.ConfigManager.create(ConfigManager.java:52) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/ru.brikster.chatty.guice.GeneralGuiceModule.createConfig(GeneralGuiceModule.java:359) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/ru.brikster.chatty.guice.GeneralGuiceModule.configure(GeneralGuiceModule.java:154) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/ru.brikster.chatty.shaded.com.google.inject.AbstractModule.configure(AbstractModule.java:66) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/ru.brikster.chatty.shaded.com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:409) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/ru.brikster.chatty.shaded.com.google.inject.spi.Elements.getElements(Elements.java:108) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/ru.brikster.chatty.shaded.com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:160) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/ru.brikster.chatty.shaded.com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:107) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    ... 17 more
Caused by: eu.okaeri.configs.exception.OkaeriException: failed to #getValue for cooldown
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.OkaeriConfig.update(OkaeriConfig.java:647) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.configurer.Configurer.resolveType(Configurer.java:189) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.configurer.Configurer.resolveType(Configurer.java:223) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.configurer.Configurer.getValue(Configurer.java:157) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.configurer.WrappedConfigurer.getValue(WrappedConfigurer.java:11) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.OkaeriConfig.update(OkaeriConfig.java:645) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.OkaeriConfig.load(OkaeriConfig.java:467) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.OkaeriConfig.load(OkaeriConfig.java:489) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.OkaeriConfig.load(OkaeriConfig.java:503) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.OkaeriConfig.load(OkaeriConfig.java:477) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.OkaeriConfig.load(OkaeriConfig.java:424) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/ru.brikster.chatty.guice.GeneralGuiceModule.lambda$createConfig$1(GeneralGuiceModule.java:413) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.ConfigManager.create(ConfigManager.java:52) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/ru.brikster.chatty.guice.GeneralGuiceModule.createConfig(GeneralGuiceModule.java:359) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/ru.brikster.chatty.guice.GeneralGuiceModule.configure(GeneralGuiceModule.java:154) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/ru.brikster.chatty.shaded.com.google.inject.AbstractModule.configure(AbstractModule.java:66) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/ru.brikster.chatty.shaded.com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:409) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/ru.brikster.chatty.shaded.com.google.inject.spi.Elements.getElements(Elements.java:108) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/ru.brikster.chatty.shaded.com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:160) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/ru.brikster.chatty.shaded.com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:107) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    ... 17 more
Caused by: java.lang.ArithmeticException: Rounding necessary
    at java.base/java.math.BigDecimal.longValueExact(BigDecimal.java:3639) ~[?:?]
    at java.base/java.math.BigDecimal.intValueExact(BigDecimal.java:3712) ~[?:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.serdes.standard.StringToIntegerTransformer.transform(StringToIntegerTransformer.java:19) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.serdes.standard.StringToIntegerTransformer.transform(StringToIntegerTransformer.java:10) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.configurer.Configurer.resolveType(Configurer.java:311) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.configurer.Configurer.resolveType(Configurer.java:279) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.configurer.WrappedConfigurer.resolveType(WrappedConfigurer.java:11) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.configurer.InMemoryWrappedConfigurer.getValue(InMemoryWrappedConfigurer.java:41) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.OkaeriConfig.update(OkaeriConfig.java:645) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.configurer.Configurer.resolveType(Configurer.java:189) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.configurer.Configurer.resolveType(Configurer.java:223) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.configurer.Configurer.getValue(Configurer.java:157) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.configurer.WrappedConfigurer.getValue(WrappedConfigurer.java:11) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.OkaeriConfig.update(OkaeriConfig.java:645) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.OkaeriConfig.load(OkaeriConfig.java:467) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.OkaeriConfig.load(OkaeriConfig.java:489) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.OkaeriConfig.load(OkaeriConfig.java:503) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.OkaeriConfig.load(OkaeriConfig.java:477) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.OkaeriConfig.load(OkaeriConfig.java:424) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/ru.brikster.chatty.guice.GeneralGuiceModule.lambda$createConfig$1(GeneralGuiceModule.java:413) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/eu.okaeri.configs.ConfigManager.create(ConfigManager.java:52) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/ru.brikster.chatty.guice.GeneralGuiceModule.createConfig(GeneralGuiceModule.java:359) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/ru.brikster.chatty.guice.GeneralGuiceModule.configure(GeneralGuiceModule.java:154) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/ru.brikster.chatty.shaded.com.google.inject.AbstractModule.configure(AbstractModule.java:66) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/ru.brikster.chatty.shaded.com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:409) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/ru.brikster.chatty.shaded.com.google.inject.spi.Elements.getElements(Elements.java:108) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/ru.brikster.chatty.shaded.com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:160) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/ru.brikster.chatty.shaded.com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:107) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    ... 17 more
[06:35:37] [Server thread/INFO]: [Chatty] Disabling Chatty v3.0.0-SNAPSHOT
[06:35:37] [Server thread/ERROR]: Error occurred while disabling Chatty v3.0.0-SNAPSHOT
java.lang.NullPointerException: Cannot invoke "ru.brikster.chatty.shaded.cloud.commandframework.bukkit.BukkitCommandManager.commandTree()" because "commandManager" is null
    at Chatty-3.0.0-SNAPSHOT.jar/ru.brikster.chatty.Chatty.unregisterAllCommands(Chatty.java:372) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at Chatty-3.0.0-SNAPSHOT.jar/ru.brikster.chatty.Chatty.onDisable(Chatty.java:362) ~[Chatty-3.0.0-SNAPSHOT.jar:?]
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:291) ~[paper-api-1.21-R0.1-SNAPSHOT.jar:?]
    at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.disablePlugin(PaperPluginInstanceManager.java:237) ~[paper-1.21.jar:1.21-66-99ae7bb]
    at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.disablePlugin(PaperPluginManagerImpl.java:114) ~[paper-1.21.jar:1.21-66-99ae7bb]
    at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:550) ~[paper-api-1.21-R0.1-SNAPSHOT.jar:?]
    at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:206) ~[paper-1.21.jar:1.21-66-99ae7bb]
    at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:109) ~[paper-1.21.jar:1.21-66-99ae7bb]
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:520) ~[paper-api-1.21-R0.1-SNAPSHOT.jar:?]
    at org.bukkit.craftbukkit.CraftServer.enablePlugin(CraftServer.java:629) ~[paper-1.21.jar:1.21-66-99ae7bb]
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:578) ~[paper-1.21.jar:1.21-66-99ae7bb]
    at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:753) ~[paper-1.21.jar:1.21-66-99ae7bb]
    at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:515) ~[paper-1.21.jar:1.21-66-99ae7bb]
    at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:327) ~[paper-1.21.jar:1.21-66-99ae7bb]
    at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1220) ~[paper-1.21.jar:1.21-66-99ae7bb]
    at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:330) ~[paper-1.21.jar:1.21-66-99ae7bb]
    at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]
Brikster commented 3 months ago

Hello! Please, let me see your chats.yml config file.

f1f1stashka commented 3 months ago
################################################################
#
#    Chatty (version 3.0.0-SNAPSHOT)
#    Author: Brikster
#
################################################################

# List of chats.
# You can use declared or add you own chats
chats:
  global:
    # Display name of chat.
    # Used in commands, messages etc.
    display-name: Global

    # Chat messages format.
    # Supports: 
    # * PlaceholderAPI (including relational placeholders)
    # * MiniMessage interactive components (click handlers etc.)
    # * Vault or LuckPerms prefixes/suffixes ({prefix} and {suffix})
    # * Legacy color codes format ("&c&lTHAT'S BOLD TEXT")
    # * Various hex formats (&#ffffff, {#ffffff}, &x&f&f&f&f&f&f etc.)

    # Use https://webui.advntr.dev/ for convenient format creation.

    # You can use replacements from "replacements.yml" here.
    format: "&a{player} &7> &f{message}"

    # Player message format ("{message}" part in "format" property).
    # You can use gradient here to make player messages colorful.
    # This part renders as if player message were explicitly written in MiniMessage component
    message-format: '{original-message}'

    # Custom format styles. Players that have permission
    # for a style will see all the messages from the chat
    # with corresponding format.
    # Permission: chatty.style.<style-name>, for example: chatty.style.red
    styles:
      red:
        # Custom format for the style
        format: "&7[<hover:show_text:'&aUse &2&l! &afor global chat'><click:suggest_command:!>&4Global</click></hover>&7] &r{prefix}{player}{suffix}&8: &c{message}"

        # Custom message format for the style
        message-format: <gradient:#B14444:#972929>{original-message}</gradient>

        # If player has several permissions, chat with higher priority will be selected
        priority: 10
      green:
        # Custom format for the style
        format: "&7[<hover:show_text:'&aUse &2&l! &afor global chat'><click:suggest_command:!>&2Global</click></hover>&7] &r{prefix}{player}{suffix}&8: &a{message}"

        # Custom message format for the style
        message-format: <gradient:#15B120:#19C224>{original-message}</gradient>

        # If player has several permissions, chat with higher priority will be selected
        priority: 20

    # Symbol (or prefix) that should be placed before message
    # to send message into this that.
    # Example for symbol: "!":
    # !Hello world -> send message "Hello world" to this chat

    # Empty symbol ('') is allowed also
    symbol: '!'

    # Range in blocks for chat message recipients.
    # Possible values: 
    #  -2 -> message will be sent to all online players
    #  -1 -> message will be sent to all players of the sender's world
    #  >= 0 -> message will be sent to all players in this blocks range
    range: -2

    # If true, you must add permissions for using chat: 
    #  - chatty.chat.<chat-name> -> full chat access
    #  - chatty.chat.<chat-name>.read -> read access only
    #  - chatty.chat.<chat-name>.write -> write access only

    # Example: chatty.chat.global -> full access for "global" chat
    permission-required: false

    # If true, player will receive a special message, 
    # when his message has no recipients.
    # Message can be configured in locale files
    notify-nobody-heard: false

    # If true, URLs from player messages will be processed
    # and made clickable.
    # Check settings.yml for more parameters
    parse-links: true

    # Cooldown in seconds for sending messages in chat.
    # Bypass permission: chatty.bypass.cooldown.<chat>
    cooldown: 0.1

    # Disable this, if you don't want to specify sound for this chat
    play-sound: false
    sound:
      name: minecraft:entity.experience_orb.pickup
      source: MASTER
      volume: 1.0
      pitch: 1.0

    # Permission for spy: chatty.spy.<chat>
    spy:
      # Enable spy for the chat?
      enable: false
      # Custom format for spy message
      format: ''

Hello! Please, let me see your chats.yml config file.