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

When using serviceio instead of vault, cmi reports an error when using other economic plugins. #9361

Open
3 tasks done
JellyBubb1e opened this issue Dec 18, 2024 · 3 comments
Labels
bug report Reports of bugs/inconsistencies

Comments

@JellyBubb1e
Copy link

Description of Issue

When using serviceio instead of vault, cmi reports an error when using other economic plugins.

Version Information

CMI v9.7.8.1

Errors

https://mclo.gs/KaT5Bjl

Relevant Config Sections

[16:03:57] [Server thread/ERROR]: Error occurred while enabling CMI v9.7.8.1 (Is it up to date?)
java.lang.NullPointerException: Cannot invoke "String.contains(java.lang.CharSequence)" because the return value of "org.bukkit.plugin.PluginDescriptionFile.getDescription()" is null
	at CMI-9.7.8.1.jar/com.Zrips.CMI.Modules.Economy.VaultManager.setupVault(VaultManager.java:45) ~[CMI-9.7.8.1.jar:?]
	at CMI-9.7.8.1.jar/com.Zrips.CMI.Modules.Economy.EconomyManager.<init>(EconomyManager.java:90) ~[CMI-9.7.8.1.jar:?]
	at CMI-9.7.8.1.jar/com.Zrips.CMI.CMI.getEconomyManager(CMI.java:649) ~[CMI-9.7.8.1.jar:?]
	at CMI-9.7.8.1.jar/com.Zrips.CMI.Config.load(Config.java:640) ~[CMI-9.7.8.1.jar:?]
	at CMI-9.7.8.1.jar/com.Zrips.CMI.CMIOnEnable.init(CMIOnEnable.java:306) ~[CMI-9.7.8.1.jar:?]
	at CMI-9.7.8.1.jar/com.Zrips.CMI.CMI.onEnable(CMI.java:1306) ~[CMI-9.7.8.1.jar:?]
	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:288) ~[purpur-api-1.21.4-R0.1-SNAPSHOT.jar:?]
	at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:202) ~[purpur-1.21.4.jar:1.21.4-2372-73dae7f]
	at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:109) ~[purpur-1.21.4.jar:1.21.4-2372-73dae7f]
	at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:520) ~[purpur-api-1.21.4-R0.1-SNAPSHOT.jar:?]
	at org.bukkit.craftbukkit.CraftServer.enablePlugin(CraftServer.java:669) ~[purpur-1.21.4.jar:1.21.4-2372-73dae7f]
	at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:618) ~[purpur-1.21.4.jar:1.21.4-2372-73dae7f]
	at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:773) ~[purpur-1.21.4.jar:1.21.4-2372-73dae7f]
	at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:535) ~[purpur-1.21.4.jar:1.21.4-2372-73dae7f]
	at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:363) ~[purpur-1.21.4.jar:1.21.4-2372-73dae7f]
	at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1252) ~[purpur-1.21.4.jar:1.21.4-2372-73dae7f]
	at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:345) ~[purpur-1.21.4.jar:1.21.4-2372-73dae7f]
	at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]

Relevant Plugins

ServiceIO (2.1.0) Economist (0.1.0)

Agreements

  • My server is supported by CMI.
  • My version of CMI at the time of this report is up to date.
  • I have searched the github and asked around before making this report.
@JellyBubb1e JellyBubb1e added the bug report Reports of bugs/inconsistencies label Dec 18, 2024
@JellyBubb1e
Copy link
Author

@mrfloris
Copy link
Contributor

And you have disabled CMI economy?

@JellyBubb1e
Copy link
Author

Yes. I have disabled CMI economy in the config.yml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Reports of bugs/inconsistencies
Projects
None yet
Development

No branches or pull requests

2 participants