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

Error spam and lag #89

Closed
Endrjuu opened this issue May 18, 2020 · 7 comments
Closed

Error spam and lag #89

Endrjuu opened this issue May 18, 2020 · 7 comments
Labels
bug Something isn't working

Comments

@Endrjuu
Copy link

Endrjuu commented May 18, 2020

[10:04:35] [Netty Epoll Server IO #1/ERROR]: NPCLib Error in onPacketInAsync(). java.lang.NullPointerException at net.jitse.npclib.internal.NPCBase.isShown(NPCBase.java:129) ~[Tools-1.0-SNAPSHOT.jar:?] at net.jitse.npclib.listeners.PacketListener.handleInteractPacket(PacketListener.java:65) ~[Tools-1.0-SNAPSHOT.jar:?] at net.jitse.npclib.listeners.PacketListener.access$000(PacketListener.java:25) ~[Tools-1.0-SNAPSHOT.jar:?] at net.jitse.npclib.listeners.PacketListener$1.onPacketInAsync(PacketListener.java:46) ~[Tools-1.0-SNAPSHOT.jar:?] at com.comphenix.tinyprotocol.TinyProtocol$PacketInterceptor.channelRead(TinyProtocol.java:310) [Tools-1.0-SNAPSHOT.jar:?] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333) [spigot.jar:1.8.8-R0.1-SNAPSHOT] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319) [spigot.jar:1.8.8-R0.1-SNAPSHOT] at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) [spigot.jar:1.8.8-R0.1-SNAPSHOT] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333) [spigot.jar:1.8.8-R0.1-SNAPSHOT] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319) [spigot.jar:1.8.8-R0.1-SNAPSHOT] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:168) [spigot.jar:1.8.8-R0.1-SNAPSHOT] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333) [spigot.jar:1.8.8-R0.1-SNAPSHOT] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319) [spigot.jar:1.8.8-R0.1-SNAPSHOT] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:163) [spigot.jar:1.8.8-R0.1-SNAPSHOT] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333) [spigot.jar:1.8.8-R0.1-SNAPSHOT] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319) [spigot.jar:1.8.8-R0.1-SNAPSHOT] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:163) [spigot.jar:1.8.8-R0.1-SNAPSHOT] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333) [spigot.jar:1.8.8-R0.1-SNAPSHOT] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319) [spigot.jar:1.8.8-R0.1-SNAPSHOT] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:163) [spigot.jar:1.8.8-R0.1-SNAPSHOT] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333) [spigot.jar:1.8.8-R0.1-SNAPSHOT] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319) [spigot.jar:1.8.8-R0.1-SNAPSHOT] at com.comphenix.protocol.injector.netty.ChannelInjector$2.channelRead(ChannelInjector.java:259) [ProtocolLib.jar:4.5.0] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333) [spigot.jar:1.8.8-R0.1-SNAPSHOT] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319) [spigot.jar:1.8.8-R0.1-SNAPSHOT] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:163) [spigot.jar:1.8.8-R0.1-SNAPSHOT] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333) [spigot.jar:1.8.8-R0.1-SNAPSHOT] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319) [spigot.jar:1.8.8-R0.1-SNAPSHOT] at io.netty.handler.timeout.ReadTimeoutHandler.channelRead(ReadTimeoutHandler.java:150) [spigot.jar:1.8.8-R0.1-SNAPSHOT] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333) [spigot.jar:1.8.8-R0.1-SNAPSHOT] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319) [spigot.jar:1.8.8-R0.1-SNAPSHOT] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:787) [spigot.jar:1.8.8-R0.1-SNAPSHOT] at io.netty.channel.epoll.EpollSocketChannel$EpollSocketUnsafe.epollInReady(EpollSocketChannel.java:722) [spigot.jar:1.8.8-R0.1-SNAPSHOT] at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:326) [spigot.jar:1.8.8-R0.1-SNAPSHOT] at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:264) [spigot.jar:1.8.8-R0.1-SNAPSHOT] at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116) [spigot.jar:1.8.8-R0.1-SNAPSHOT] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_251] [10:04:35] [Netty Epoll Server IO #1/ERROR]: NPCLib Error in onPacketInAsync(). java.lang.NullPointerException [10:04:35] [Netty Epoll Server IO #1/ERROR]: NPCLib Error in onPacketInAsync(). java.lang.NullPointerException [10:04:35] [Netty Epoll Server IO #1/ERROR]: NPCLib Error in onPacketInAsync(). java.lang.NullPointerException [10:04:35] [Netty Epoll Server IO #1/ERROR]: NPCLib Error in onPacketInAsync(). java.lang.NullPointerException

@Endrjuu Endrjuu added the bug Something isn't working label May 18, 2020
@zPurge
Copy link

zPurge commented May 28, 2020

same problem :s

@JitseB
Copy link
Owner

JitseB commented Jun 22, 2020

Please use the provided issue template. Without I can help you much less effectively.

To me it seems like the library is checking a player that is no longer recorded by the server. Can you verify this?

@JitseB
Copy link
Owner

JitseB commented Jun 25, 2020

So I've looked over the code where the nullpointer is thrown on. The object that I think is null is the player object, but this makes no sense at all. However, I could make a pre-release with this included as a check. Would anyone be interested in that?

@zPurge
Copy link

zPurge commented Jun 26, 2020 via email

@ItsWind
Copy link

ItsWind commented Jul 31, 2020

Can confirm this bug is still a problem. :(

@JitseB
Copy link
Owner

JitseB commented Jan 23, 2021

Does this issue still occur using one of the more recent builds of the library?

@JitseB
Copy link
Owner

JitseB commented Feb 3, 2021

No activity, closing issue.

@JitseB JitseB closed this as completed Feb 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants