Comments (10)
Hey, thanks for your Bug-report! I do now work on it.
from lobbynpcs.
Good news. I was able to reproduce the error and was to fix it.
What caused the error?
The plugin tried to load a class in PluginLib that did not exist in the latest public available PluginLib version.
How to fix the issue:
Download newest version of LobbyNPCs and more important PluginLib.
Please let me know if this worked for you !
from lobbynpcs.
It worked! Also thanks for the fast response.
Edit
Console log:
[22:37:42 INFO]: vWinter issued server command: /pluginlibchoice yes
[22:40:16 INFO]: vWinter issued server command: /lobbynpc
[22:40:20 INFO]: vWinter issued server command: /lobbynpc help
[22:40:30 INFO]: vWinter issued server command: /lobbynpc create
[22:40:37 INFO]: vWinter issued server command: /pluginlibchoice yes
[22:40:54 INFO]: vWinter issued server command: /pluginlibchoice yes
[22:41:07 INFO]: vWinter issued server command: /pluginlibchoice no
[22:41:37 INFO]: vWinter issued server command: /pluginlibchoice yes
[22:41:42 INFO]: vWinter issued server command: /pluginlibchoice no
[22:41:45 INFO]: vWinter issued server command: /pluginlibchoice no
[22:41:48 INFO]: vWinter issued server command: /pluginlibchoice no
[22:41:48 WARN]: java.lang.NullPointerException
[22:41:48 WARN]: at de.raffi.pluginlib.utils.UUIDFetcher.getUUIDAt(UUIDFetcher.java:88)
[22:41:48 WARN]: at de.raffi.pluginlib.utils.UUIDFetcher.getUUID(UUIDFetcher.java:54)
[22:41:48 WARN]: at de.raffi.pluginlib.npc.NPC.(NPC.java:56)
[22:41:48 WARN]: at de.raffi.lobbynpcs.commands.LobbyNPCCommand.createNPC(LobbyNPCCommand.java:324)
[22:41:48 WARN]: at de.raffi.lobbynpcs.commands.LobbyNPCCommand$1$1$1$1$1$1$1$1$1$1.onHandlerRemoved(LobbyNPCCommand.java:128)
[22:41:48 WARN]: at de.raffi.pluginlib.test.InputHandler.onCommand(InputHandler.java:53)
[22:41:48 WARN]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[22:41:48 WARN]: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[22:41:48 WARN]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[22:41:48 WARN]: at java.lang.reflect.Method.invoke(Method.java:498)
[22:41:48 WARN]: at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:300)
[22:41:48 WARN]: at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78)
[22:41:48 WARN]: at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
[22:41:48 WARN]: at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:517)
[22:41:48 WARN]: at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:502)
[22:41:48 WARN]: at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1181)
[22:41:48 WARN]: at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1001)
[22:41:48 WARN]: at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45)
[22:41:48 WARN]: at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1)
[22:41:48 WARN]: at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13)
[22:41:48 WARN]: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[22:41:48 WARN]: at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[22:41:48 WARN]: at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44)
[22:41:48 WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:741)
[22:41:48 WARN]: at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:366)
[22:41:48 WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:680)
[22:41:48 WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:583)
[22:41:48 WARN]: at java.lang.Thread.run(Thread.java:748)
[22:41:49 ERROR]: java.lang.NullPointerException
[22:41:49 INFO]: vWinter lost connection: Internal Exception: java.io.IOException: Error while read(...): Connection reset by peer
from lobbynpcs.
Hey, unfortuneatly i was not able to reproduce this error yet. I need more information.
- Which name you gave the NPC
- From which player you tried to load the skin
- Did the NPC spawn, after the error occured
Thanks!
from lobbynpcs.
Npc name: &bPractice
The player i tried to load skin: vWinter
No it didnt.
from lobbynpcs.
Hey, i was able to identify the error.
Why does it happen?
When you click on [Yes] by "Fetch the UUID of ..." The plugin requests the UUID of the Player you entered befor. After that it spawns a player with exactly that UUID. But because you entered your name, the plugin tries to spawn a player that already exist (you). Minecraft does not allow to spawn the same player twice. You can avoid that problem by clicking on [No] when you are asked if you want to fetch the UUID. This should not influence how the NPC looks.
from lobbynpcs.
I did that but the npc is missing the second skin layer
from lobbynpcs.
Unfortunatly the plugin is not able to show the second skin layer at the moment
from lobbynpcs.
Well thanks for the fast support <3
from lobbynpcs.
I thank you for your using my plugin and reporting the bugs!
from lobbynpcs.
Related Issues (10)
- [BUG] NPC Data is not loading correctly and NPC is visible in tablist
- [BUG] HOT 3
- Planned Features HOT 1
- [BUG] HOT 1
- [BUG] HOT 5
- another 1.15.2 Bug HOT 4
- another 1.15.2 Bug but smaller HOT 1
- Setup not working [BUG] HOT 10
- Commands not having any effect HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lobbynpcs.