#(JoanFo) Generated an exception

106 messages · Page 1 of 1 (latest)

tight mantle
#

Hello, i was using BetonQuest and when i was creating a NPC for the plugin, this error appears spamming in console.
[21:34:19] [Server thread/WARN]: [BetonQuest] Task #5841 for BetonQuest v1.12.9 generated an exception
java.lang.NullPointerException: Cannot invoke "org.bukkit.Location.clone()" because the return value of "net.citizensnpcs.api.npc.NPC.getStoredLocation()" is null
at pl.betoncraft.betonquest.compatibility.citizens.CitizensHologram.updateHologramsForPlayers(CitizensHologram.java:250) ~[?:?]
at pl.betoncraft.betonquest.compatibility.citizens.CitizensHologram.updateHolograms(CitizensHologram.java:204) ~[?:?]
at pl.betoncraft.betonquest.compatibility.citizens.CitizensHologram.run(CitizensHologram.java:76) ~[?:?]
at org.bukkit.craftbukkit.v1_18_R2.scheduler.CraftTask.run(CraftTask.java:82) ~[spigot-1.18.2-R0.1-SNAPSHOT.jar:3498-Spigot-b081915-10ba1be]
at org.bukkit.craftbukkit.v1_18_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:415) ~[spigot-1.18.2-R0.1-SNAPSHOT.jar:3498-Spigot-b081915-10ba1be]
at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1285) ~[spigot-1.18.2-R0.1-SNAPSHOT.jar:3498-Spigot-b081915-10ba1be]
at net.minecraft.server.dedicated.DedicatedServer.b(DedicatedServer.java:429) ~[spigot-1.18.2-R0.1-SNAPSHOT.jar:3498-Spigot-b081915-10ba1be]
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1237) ~[spigot-1.18.2-R0.1-SNAPSHOT.jar:3498-Spigot-b081915-10ba1be]
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1047) ~[spigot-1.18.2-R0.1-SNAPSHOT.jar:3498-Spigot-b081915-10ba1be]
at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:304) ~[spigot-1.18.2-R0.1-SNAPSHOT.jar:3498-Spigot-b081915-10ba1be]
at java.lang.Thread.run(Thread.java:833) [?:?]
Is there a way to fix it?

solid jungleBOT
#

(JoanFo) Generated an exception

solid jungleBOT
#

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>

sweet edge
#

BetonQuest v1.12.9 generated an exception

#

citizens does not require BetonQuest to run, BetonQuest depends on Citizens, making it a BetonQuest problem

#

but we can still help you investigate to verify

outer oasisBOT
# sweet edge !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.

tight mantle
#

The logs of the server

scenic portal
outer oasisBOT
#
Server Version

CraftBukkit version 3498-Spigot-b081915-10ba1be (MC: 1.18.2)

Plugin Version(s)

Citizens v2.0.30-SNAPSHOT (build 2770) -- (:warning:Outdated build, behind by 129)

Checked For

@scenic portal

UUID Version

4 (:white_check_mark: Online)

Java Version

17 or newer (based on stack trace content) :white_check_mark:

Other Noteworthy Plugin(s)

WorldGuard v7.0.6+1cff55f, MythicMobs v5.0.2-a86da3b0, ProtocolLib v4.8.0-SNAPSHOT-b539, Quests v3.10.1

Suspicious Plugin(s)

SkinsRestorer v14.2.8 :triangular_flag_on_post: (Offline skins fixer plugin)

Problematic Plugin(s)

CommandNPC v2.1.2 - :warning: NPC Command plugins have never had a valid reason to exist, as there have always been better ways to do that. The modern way is https://wiki.citizensnpcs.co/NPC_Commands.

Possibly Relevant Plugin(s)

NametagEdit v4.5.5 - Some scoreboard or name-edit plugins may lead to scoreboard control instability.
ModelEngine vR2.5.1 - ModelEngine has Citizens support, but that support is known to be buggy. Issues related to NPCs that use ModelEngine should be reported to ModelEngine support, not Citizens.
FastAsyncWorldEdit v2.1.1-SNAPSHOT-133;05f80f2 - This plugin has been known to break the plugin load order on many servers, due to usage of the 'loadbefore' directive in its 'plugin.yml'.

Potentially Bad Line(s)

Caused by: java.lang.NoClassDefFoundError: io/lumine/mythic/lib/api/util/ui/FriendlyFeedbackPalette :warning: Log contains error messages.

scenic portal
#

updating citizens would be a good place to start given the nature of that error

#

!update citizens

outer oasisBOT
tight mantle
#

k

#

One sec

#

The new

scenic portal
outer oasisBOT
#
Server Version

CraftBukkit version 3498-Spigot-b081915-10ba1be (MC: 1.18.2)

Plugin Version(s)

Citizens v2.0.30-SNAPSHOT (build 2805) -- (:warning:Outdated build, behind by 94)

Checked For

@scenic portal

UUID Version

4 (:white_check_mark: Online)

Java Version

17 or newer (based on stack trace content) :white_check_mark:

Other Noteworthy Plugin(s)

WorldGuard v7.0.6+1cff55f, MythicMobs v5.0.2-a86da3b0, ProtocolLib v4.8.0-SNAPSHOT-b539, Quests v3.10.1

Suspicious Plugin(s)

SkinsRestorer v14.2.8 :triangular_flag_on_post: (Offline skins fixer plugin)

Problematic Plugin(s)

CommandNPC v2.1.2 - :warning: NPC Command plugins have never had a valid reason to exist, as there have always been better ways to do that. The modern way is https://wiki.citizensnpcs.co/NPC_Commands.

Possibly Relevant Plugin(s)

NametagEdit v4.5.5 - Some scoreboard or name-edit plugins may lead to scoreboard control instability.
ModelEngine vR2.5.1 - ModelEngine has Citizens support, but that support is known to be buggy. Issues related to NPCs that use ModelEngine should be reported to ModelEngine support, not Citizens.
FastAsyncWorldEdit v2.1.1-SNAPSHOT-133;05f80f2 - This plugin has been known to break the plugin load order on many servers, due to usage of the 'loadbefore' directive in its 'plugin.yml'.

Potentially Bad Line(s)

Caused by: java.util.zip.ZipException: zip file is empty :warning: Log contains error messages.

scenic portal
#

what is that build o-0

#

i hope that's not the spigot version lol

#

it's not latest, in any case

tight mantle
scenic portal
tight mantle
#

The owner is a slowpoke

#

Only give me the logs .-.

scenic portal
#

you can't be expected to do development work without inbuilt developer tools

#

We need you to use an updated version of the plugin before we can confirm the source of the error for certian

#

You can send the owner our way if that's an issue?

tight mantle
#

One moment please.

#

Says: I'm not in home, you are the responsable of this.

scenic portal
#

okay, well, if you're expected to be able to update plugins (which is reasonable), then you need to have access to files to update plugins?

tight mantle
scenic portal
#

there's not a whole lot we can do until then, but i'd advise you that getting access to the tools you need shouldn't be an issue, particularly if you're working for free

tight mantle
#

The owner send me the log

sweet edge
#

pass it on to him and ping him here, we can try and work together to fix it

tight mantle
#

Ok

#

I'm gonna talk with him

#

@bold vapor

bold vapor
#

Hello, my staff told me everything. Why you need me in there?

scenic portal
#

We need your server to use the latest citizens version to narrow down the issue in this thread

bold vapor
#

I don't know if they are legal or not.

sweet edge
#

@bold vaporyour friend also mentioned he doesn't have access to information required for debugging this problem

#

can you provide the startup logs for our bot to diagnose?

#

!logs

outer oasisBOT
# sweet edge !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.

bold vapor
bold vapor
sweet edge
#

we can see

sweet edge
outer oasisBOT
#
Server Version

CraftBukkit version 3498-Spigot-b081915-10ba1be (MC: 1.18.2)

Plugin Version(s)

Citizens v2.0.30-SNAPSHOT (build 2805) -- (:warning:Outdated build, behind by 94)

Checked For

@sweet edge

UUID Version

4 (:white_check_mark: Online)

Java Version

17 or newer (based on stack trace content) :white_check_mark:

Other Noteworthy Plugin(s)

WorldGuard v7.0.6+1cff55f, MythicMobs v5.0.2-a86da3b0, ProtocolLib v4.8.0-SNAPSHOT-b539, Quests v3.10.1

Suspicious Plugin(s)

SkinsRestorer v14.2.8 :triangular_flag_on_post: (Offline skins fixer plugin)

Problematic Plugin(s)

CommandNPC v2.1.2 - :warning: NPC Command plugins have never had a valid reason to exist, as there have always been better ways to do that. The modern way is https://wiki.citizensnpcs.co/NPC_Commands.

Possibly Relevant Plugin(s)

NametagEdit v4.5.5 - Some scoreboard or name-edit plugins may lead to scoreboard control instability.
ModelEngine vR2.5.1 - ModelEngine has Citizens support, but that support is known to be buggy. Issues related to NPCs that use ModelEngine should be reported to ModelEngine support, not Citizens.
FastAsyncWorldEdit v2.1.1-SNAPSHOT-133;05f80f2 - This plugin has been known to break the plugin load order on many servers, due to usage of the 'loadbefore' directive in its 'plugin.yml'.

Potentially Bad Line(s)

Caused by: java.util.zip.ZipException: zip file is empty :warning: Log contains error messages.

bold vapor
bold vapor
#

Hello?

bold vapor
sweet edge
#

im kind of busy and cant help to the fullest as i could earlier, we have a full team here who can answer so you don't need to rely on one person to help you both

sweet edge
#

!latest paper

outer oasisBOT
# sweet edge !latest paper
Update Paper

Paper is a higher-performance alternative to Spigot that is 100% compatible with the equivalent Spigot version. It's much easier to update than Spigot itself, and carries a lot of performance and quality-of-life benefits.

Latest Paper builds are at https://papermc.io/downloads.

(If you would prefer to use a Spigot build, refer to !update spigot).

sweet edge
#

your citizens version however is very outdated

#

that is probably going to primarily resolve any problems you're experiencing

#

!update Citizens

outer oasisBOT
sweet edge
#

top link is the most latest version

bold vapor
#

@tight mantle

sweet edge
#

CommandNPC is abandoned by the original author as it's built into Citizens; the command is /npc cmd

#

can read help guides on it with /npc help cmd

#

ProtocolLib has a new developmental build available, you may want to research their discord to verify it's updated

#

it can often cause problems

#

if outdated*

#

@bold vapor thanks for participating and helping provide information we needed to proceed

tight mantle
#

I'm going to try, now I tell you something.

#

Bye @bold vapor

#

Thanks for helping me

bold vapor
tight mantle
#

I'm installing Paper

tight mantle
tight mantle
wet canopyBOT
#
Thread Closing Reminder

Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command 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.)

#

@tight mantle

patent jetty
#

This is a betonquest problem

wet canopyBOT
#
Thread Closing Reminder

Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command 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.)

#

@tight mantle