PluginBugs / Issues-CosmeticsCore

Repository used to keep track of issues of my plugin CosmeticsCore
https://lonedev.gitbook.io/cosmeticscore/
0 stars 0 forks source link

Console error #187

Closed Lerphie closed 12 months ago

Lerphie commented 1 year ago

Terms

Discord tag (optional)

Coder#6926

What happened?

image

Steps to reproduce the issue

*

Server version

This server is running GuardSpigot 1.16.5 version git-Airplane-"e37fa86" (MC: 1.16.5) (Implementing API version 1.16.5-R0.1-SNAPSHOT)

CosmeticsCore Version

image

ProtocolLib Version

image

LoneLibs Version

image

FULL server log

No response

Error (optional)

No response

CosmeticsCore config.yml

No response

Problematic items yml configuration file (optional)

No response

Other files, you can drag and drop them here to upload. (optional)

No response

Screenshots/Videos (you can drag and drop files or paste links)

No response

Lerphie commented 1 year ago

@LoneDev6

[23:11:14] [Server thread/INFO]: [CosmeticsCore] Enabling CosmeticsCore v1.2.3-r4
[23:11:14] [Server thread/ERROR]: Error occurred while enabling CosmeticsCore v1.2.3-r4 (Is it up to date?)
java.lang.ExceptionInInitializerError: null
    at dev.lone.itemsadder.api.ItemsAdder.areItemsLoaded(SourceFile:39) ~[?:?]
    at dev.lone.cosmeticscore.main.O.<init>(SourceFile:24) ~[?:?]
    at dev.lone.cosmeticscore.main.O.af(SourceFile:36) ~[?:?]
    at dev.lone.cosmeticscore.main.j.b(SourceFile:325) ~[?:?]
    at dev.lone.cosmeticscore.Main.onEnable(SourceFile:76) ~[?:?]
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(:263) ~[patched_1.16.5.jar:git-Airplane-"e37fa86"]
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(:370) ~[patched_1.16.5.jar:git-Airplane-"e37fa86"]
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(:500) ~[patched_1.16.5.jar:git-Airplane-"e37fa86"]
    at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugin(:518) ~[patched_1.16.5.jar:git-Airplane-"e37fa86"]
    at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugins(:432) ~[patched_1.16.5.jar:git-Airplane-"e37fa86"]
    at net.minecraft.server.v1_16_R3.MinecraftServer.loadWorld(:592) ~[patched_1.16.5.jar:git-Airplane-"e37fa86"]
    at net.minecraft.server.v1_16_R3.DedicatedServer.init(:311) ~[patched_1.16.5.jar:git-Airplane-"e37fa86"]
    at net.minecraft.server.v1_16_R3.MinecraftServer.w(:1071) ~[patched_1.16.5.jar:git-Airplane-"e37fa86"]
    at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$1(:289) ~[patched_1.16.5.jar:git-Airplane-"e37fa86"]
    at java.lang.Thread.run(Thread.java:1583) [?:?]
Caused by: java.lang.NullPointerException: Cannot invoke "dev.lone.itemsadder.Main.getDataFolder()" because the return value of "dev.lone.itemsadder.Main.a()" is null
    at ia.m.G.<clinit>(SourceFile:99) ~[?:?]
    ... 15 more
[23:11:14] [Server thread/INFO]: [CosmeticsCore] Disabling CosmeticsCore v1.2.3-r4

image

LoneDev6 commented 12 months ago

Please do not share screenshots of errors and please always use the latest version of the plugin. Some of the errors reported were already fixed in the current version of the plugin.

Provide the full server log while using the latest version of the plugin and when you get an error.