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

ProtocolLib Error when spawning FakePlayer #3

Open
brainsynder-Dev opened this issue Mar 22, 2022 · 1 comment
Open

ProtocolLib Error when spawning FakePlayer #3

brainsynder-Dev opened this issue Mar 22, 2022 · 1 comment

Comments

@brainsynder-Dev
Copy link

Just putting this error here so can be fixed in the future ;)

[13:19:17 ERROR]: Could not pass event PlayerJoinEvent to ProtocolLib v4.8.0-SNAPSHOT-b540
java.lang.NullPointerException: null
[13:19:17 INFO]: Error Unable to inject player. (java.lang.NullPointerException) occured in com.comphenix.protocol.injector.PacketFilterManager@6dd472af.
[13:19:17 ERROR]:   [ProtocolLib] INTERNAL ERROR: Unable to inject player.
  If this problem hasn't already been reported, please open a ticket
  at https://github.com/dmulloy2/ProtocolLib/issues with the following data:
  Stack Trace:
  java.lang.NullPointerException
  Dump:
  Parameters: 
    org.bukkit.event.player.PlayerJoinEvent@345a6c2e[
      joinMessage=TranslatableComponentImpl{key="multiplayer.player.joined", args=[TextComponentImpl{content="TestPlayer2", style=StyleImpl{color=null, obfuscated=not_set, bold=not_set, strikethrough=not_set, underlined=not_set, italic=not_set, clickEvent=ClickEvent{action=suggest_command, value="/tell TestPlayer2 "}, hoverEvent=HoverEvent{action=show_entity, value=ShowEntity{type=KeyImpl{namespace="minecraft", value="player"}, id=67f79ba5-83e4-3e4c-bd13-65aae9e91ed3, name=TextComponentImpl{content="TestPlayer2", style=StyleImpl{color=null, obfuscated=not_set, bold=not_set, strikethrough=not_set, underlined=not_set, italic=not_set, clickEvent=null, hoverEvent=null, insertion=null, font=null}, children=[]}}}, insertion="TestPlayer2", font=null}, children=[]}], style=StyleImpl{color=NamedTextColor{name="yellow", value="#ffff55"}, obfuscated=not_set, bold=not_set, strikethrough=not_set, underlined=not_set, italic=not_set, clickEvent=null, hoverEvent=null, insertion=null, font=null}, children=[]}
      player=CraftPlayer{name=TestPlayer2}
      name=PlayerJoinEvent
      async=false
    ]
    manager:
      com.comphenix.protocol.injector.PacketFilterManager@6dd472af[
        unhookTask=com.comphenix.protocol.injector.DelayedSingleTask@581873ca
        packetListeners=[]
        packetInjector=com.comphenix.protocol.injector.netty.ProtocolInjector$5@58d33d8
        playerInjection=com.comphenix.protocol.injector.netty.ProtocolInjector$4@73ffe0e8
        inputBufferedPackets=[]
        recievedListeners=com.comphenix.protocol.injector.SortedPacketListenerList@3df0b532
        sendingListeners=com.comphenix.protocol.injector.SortedPacketListenerList@26ed0765
        hasClosed=false
        classLoader=PluginClassLoader{plugin=ProtocolLib v4.8.0-SNAPSHOT-b540, pluginEnabled=true, url=plugins/ProtocolLib(3).jar}
        reporter=com.comphenix.protocol.ProtocolLib$1@4a12e393
        server=CraftServer{serverName=Paper,serverVersion=git-Paper-397,minecraftVersion=1.17.1}
        library=ProtocolLib v4.8.0-SNAPSHOT-b540
        asyncFilterManager=com.comphenix.protocol.async.AsyncFilterManager@7e87c652
        knowsServerPackets=true
        knowsClientPackets=true
        phaseLoginCount=0
        phasePlayingCount=0
        packetCreation=false
        nettyInjector=com.comphenix.protocol.injector.netty.ProtocolInjector@5e3826b4
        pluginVerifier=com.comphenix.protocol.injector.PluginVerifier@176844db
        hasRecycleDistance=true
        minecraftVersion=(MC: 1.17.1)
        debug=false
      ]
  Sender:
    com.comphenix.protocol.injector.PacketFilterManager@6dd472af[
      unhookTask=com.comphenix.protocol.injector.DelayedSingleTask@581873ca
      packetListeners=[]
      packetInjector=com.comphenix.protocol.injector.netty.ProtocolInjector$5@58d33d8
      playerInjection=com.comphenix.protocol.injector.netty.ProtocolInjector$4@73ffe0e8
      inputBufferedPackets=[]
      recievedListeners=com.comphenix.protocol.injector.SortedPacketListenerList@3df0b532
      sendingListeners=com.comphenix.protocol.injector.SortedPacketListenerList@26ed0765
      hasClosed=false
      classLoader=PluginClassLoader{plugin=ProtocolLib v4.8.0-SNAPSHOT-b540, pluginEnabled=true, url=plugins/ProtocolLib(3).jar}
      reporter=com.comphenix.protocol.ProtocolLib$1@4a12e393
      server=CraftServer{serverName=Paper,serverVersion=git-Paper-397,minecraftVersion=1.17.1}
      library=ProtocolLib v4.8.0-SNAPSHOT-b540
      asyncFilterManager=com.comphenix.protocol.async.AsyncFilterManager@7e87c652
      knowsServerPackets=true
      knowsClientPackets=true
      phaseLoginCount=0
      phasePlayingCount=0
      packetCreation=false
      nettyInjector=com.comphenix.protocol.injector.netty.ProtocolInjector@5e3826b4
      pluginVerifier=com.comphenix.protocol.injector.PluginVerifier@176844db
      hasRecycleDistance=true
      minecraftVersion=(MC: 1.17.1)
      debug=false
    ]
  Version:
    ProtocolLib v4.8.0-SNAPSHOT-b540
  Java Version:
    17.0.2
  Server:
    git-Paper-397 (MC: 1.17.1)
@Thatsmusic99
Copy link
Owner

... since when did I not notice this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants