#(ZeeEzel) Metadata is null

23 messages · Page 1 of 1 (latest)

shy ginkgo
#

Hi,

I have an question i got an error in my console with the code:

   public void CitizensHooker(CitizensEnableEvent e){
       NPC npc = CitizensAPI.getNPCRegistry().createNPC(EntityType.PLAYER, "fullwall");

       Location loc = new Location(Bukkit.getWorld("world"), 238.275, 75.5, 209.677);

       npc.spawn(loc);
   }```

Can anyone help me?

The error:
```java.lang.NullPointerException: Cannot invoke "io.netty.channel.ChannelMetadata.defaultMaxMessagesPerRead()" because "metadata" is null
   at io.netty.channel.DefaultChannelConfig.setRecvByteBufAllocator(DefaultChannelConfig.java:313) ~[server.jar:3284-a-Spigot-3892929-0ab8487] ```

Thanks
jade sonnetBOT
#

(ZeeEzel) Metadata is null

jade sonnetBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
You can block this bot if you don't want to see these messages, I won't mind.
<@&525394568410038282>

kind sandal
#

!logs

karmic prawnBOT
# kind sandal !logs
Info: logs

Please post your full latest log file.

Background Info: One of the most helpful tools to identifying the source of a problem is your server logs file! Logs contain all sorts of important information like server and plugin versions, any error messages, and a lot more important information (More Info).

How To: Your log can be found in the logs folder within your server folder. The most recent log is a text file labeled latest.log. To get help using these logs, please open that file in a text editor and copy all of the text, then open https://paste.denizenscript.com/New/Log and paste the text into the box on the page. Then click "Submit" and copy the URL and paste that back into this channel.

Please do not upload the file to Discord or to other pastebin services, use the log pastebin linked above.

shy ginkgo
old onyx
karmic prawnBOT
# old onyx !logcheck https://paste.denizenscript.com/View/103575
Server Version

CraftBukkit version 3284-a-Spigot-3892929-0ab8487 (MC: 1.17.1)

Plugin Version(s)

Citizens v2.0.30-SNAPSHOT (build 2773) -- (Current build :white_check_mark:)

Checked For

@old onyx

Online/Offline

Offline (proxy status unknown).

Other Noteworthy Plugin(s)

WorldGuard v7.0.5+3827266

Possibly Relevant Plugin(s)

ViaVersion v4.4.2 - Mixed client vs server versions can sometimes cause packet-related issues.

Potentially Bad Line(s)

Starting Minecraft server on *:25575 - server is offline but has no address bind. This might mean you're using a system level firewall, but if not, it means your proxy is bypassable by hackers. Either enable a system level firewall, or bind your server to localhost in server.properties via server-ip=127.0.0.1.
[14:20:59] [Server thread/INFO]: [MinehutCosmetics] Loading MinehutCosmetics v1.0.0 :warning: Free server providers cannot be properly supported. Refer to https://wiki.citizensnpcs.co/Frequently_Asked_Questions#I_have_a_free_server_.28Aternos.2C_Minehut.2C_....29_but_there.27s_problems.
Caused by: java.lang.ClassNotFoundException: net.kyori.adventure.text.format.TextColor :warning: Log contains error messages.

kind sandal
#

ok thanks, looking into this

shy ginkgo
#

Thanks!

kind sandal
#

try newest build

shy ginkgo
#

i will, one moment please 🙂

#

That works

#

Thank you for help!

quaint birchBOT
#
Thread Closing Reminder

Has your issue been resolved, or your question been answered?
If so, please type </resolved:1028673926114594866> to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.

If not yet resolved, please reply below to tell us what you still need.

(Note that if there is no reply for a few days, this thread will eventually close itself.)

#

@shy ginkgo