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 for factionless /f status #12

Closed
FOLLGAD opened this issue Feb 11, 2019 · 2 comments
Closed

Error for factionless /f status #12

FOLLGAD opened this issue Feb 11, 2019 · 2 comments
Labels
question Further information is requested

Comments

@FOLLGAD
Copy link

FOLLGAD commented Feb 11, 2019

Affected Plugin

  • Affected Plugin Name: Factions
  • Affected Plugin Version: 3.1.2

Describe your Environment

  • Server Version: Paper 522 (MC 1.13.2)

Steps to Reproduce this Bug

  1. Have no faction
  2. Type /f status

Observed Results

I get this in console

[17:03:08 ERROR]: null                                                                                                                                                                                                                       |
org.bukkit.command.CommandException: Unhandled exception executing 'f status' in com.massivecraft.massivecore.command.MassiveCoreBukkitCommand(f)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:159) ~[patched_1.13.2.jar:git-Paper-522]
        at org.bukkit.craftbukkit.v1_13_R2.CraftServer.dispatchCommand(CraftServer.java:734) ~[patched_1.13.2.jar:git-Paper-522]
        at net.minecraft.server.v1_13_R2.PlayerConnection.handleCommand(PlayerConnection.java:1797) ~[patched_1.13.2.jar:git-Paper-522]
        at net.minecraft.server.v1_13_R2.PlayerConnection.a(PlayerConnection.java:1605) ~[patched_1.13.2.jar:git-Paper-522]
        at net.minecraft.server.v1_13_R2.PacketPlayInChat.a(PacketPlayInChat.java:45) ~[patched_1.13.2.jar:git-Paper-522]
        at net.minecraft.server.v1_13_R2.PacketPlayInChat.a(PacketPlayInChat.java:5) ~[patched_1.13.2.jar:git-Paper-522]
        at net.minecraft.server.v1_13_R2.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:15) ~[patched_1.13.2.jar:git-Paper-522]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514) ~[?:?]
        at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
        at net.minecraft.server.v1_13_R2.SystemUtils.a(SystemUtils.java:108) ~[patched_1.13.2.jar:git-Paper-522]
        at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:1011) ~[patched_1.13.2.jar:git-Paper-522]
        at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:439) ~[patched_1.13.2.jar:git-Paper-522]
        at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:938) ~[patched_1.13.2.jar:git-Paper-522]
        at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:836) ~[patched_1.13.2.jar:git-Paper-522]
        at java.lang.Thread.run(Thread.java:844) [?:?]
Caused by: java.lang.NullPointerException: senderObject
        at com.massivecraft.massivecore.util.IdUtil.getId(IdUtil.java:658) ~[?:?]
        at com.massivecraft.massivecore.util.IdUtil.isOnline(IdUtil.java:804) ~[?:?]
        at com.massivecraft.massivecore.mixin.MixinPlayed.isOnline(MixinPlayed.java:27) ~[?:?]
        at com.massivecraft.massivecore.store.SenderEntity.isOnline(SenderEntity.java:193) ~[?:?]
        at com.massivecraft.factions.comparator.ComparatorMPlayerInactivity.compareInner(ComparatorMPlayerInactivity.java:30) ~[?:?]
        at com.massivecraft.factions.comparator.ComparatorMPlayerInactivity.compareInner(ComparatorMPlayerInactivity.java:7) ~[?:?]
        at com.massivecraft.massivecore.comparator.ComparatorAbstract.compareSystem(ComparatorAbstract.java:79) ~[?:?]
        at com.massivecraft.massivecore.comparator.ComparatorAbstract.compare(ComparatorAbstract.java:45) ~[?:?]
        at java.util.TimSort.binarySort(TimSort.java:296) ~[?:?]
        at java.util.TimSort.sort(TimSort.java:239) ~[?:?]
        at java.util.Arrays.sort(Arrays.java:1514) ~[?:?]
        at java.util.ArrayList.sort(ArrayList.java:1585) ~[?:?]
        at java.util.Collections.sort(Collections.java:176) ~[?:?]
        at com.massivecraft.factions.cmd.CmdFactionsStatus.perform(CmdFactionsStatus.java:49) ~[?:?]
        at com.massivecraft.massivecore.command.MassiveCommand.execute(MassiveCommand.java:1177) ~[?:?]
        at com.massivecraft.massivecore.command.MassiveCommand.execute(MassiveCommand.java:1133) ~[?:?]
        at com.massivecraft.massivecore.command.MassiveCoreBukkitCommand.execute(MassiveCoreBukkitCommand.java:60) ~[?:?]
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:149) ~[patched_1.13.2.jar:git-Paper-522]
        ... 14 more
@magnusulf magnusulf added the question Further information is requested label Feb 12, 2019
@magnusulf
Copy link
Owner

I can't reproduce this with someone just being factionless. Are there any more information you can supply?
And could you try to reproduce this in 3.1.4 and post the new stacktrace? The update will probably give me more info I can use.

@magnusulf
Copy link
Owner

This will be closed soon, if no more information is specified.

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

No branches or pull requests

2 participants