1. Guest, as per the stickied thread, this forum has not been in use since 2014. All bugs and feature requests should be posted to JIRA.

Spout + Spigot networking conflicts

Discussion in 'Bugs & Feature Requests' started by LigerXT5, Jun 30, 2013.

  1. Currently I have Netty disabled in spigot.yml and using build 952.

    When ever ScreenShot takes a screenshot, I get the following error:

    Code (Text):

    2013-06-30 13:42:19 [SEVERE] Could not pass event ScreenshotReceivedEvent to Screenshot v2.0
    org.bukkit.event.EventException
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
        at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:46)
        at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:478)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:463)
        at org.getspout.spoutapi.packet.PacketScreenshot.run(PacketScreenshot.java:89)
        at org.getspout.spout.packet.CustomPacket.handle(CustomPacket.java:139)
        at net.minecraft.server.v1_5_R3.NetworkManager.b(NetworkManager.java:292)
        at net.minecraft.server.v1_5_R3.PlayerConnection.d(PlayerConnection.java:115)
        at org.getspout.spout.SpoutPlayerConnection.d(SpoutPlayerConnection.java:195)
        at net.minecraft.server.v1_5_R3.ServerConnection.b(SourceFile:35)
        at org.spigotmc.MultiplexingServerConnection.b(MultiplexingServerConnection.java:61)
        at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:583)
        at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:233)
        at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:472)
        at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:404)
        at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573)
    Caused by: java.lang.NullPointerException
        at sun.awt.X11FontManager.getDefaultPlatformFont(X11FontManager.java:779)
        at sun.font.SunFontManager$2.run(SunFontManager.java:432)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.font.SunFontManager.<init>(SunFontManager.java:375)
        at sun.awt.X11FontManager.<init>(X11FontManager.java:32)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
        at java.lang.Class.newInstance0(Class.java:372)
        at java.lang.Class.newInstance(Class.java:325)
        at sun.font.FontManagerFactory$1.run(FontManagerFactory.java:83)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.font.FontManagerFactory.getInstance(FontManagerFactory.java:74)
        at java.awt.Font.getFont2D(Font.java:490)
        at java.awt.Font.access$000(Font.java:224)
        at java.awt.Font$FontAccessImpl.getFont2D(Font.java:228)
        at sun.font.FontUtilities.getFont2D(FontUtilities.java:180)
        at sun.java2d.SunGraphics2D.checkFontInfo(SunGraphics2D.java:607)
        at sun.java2d.SunGraphics2D.getFontInfo(SunGraphics2D.java:768)
        at sun.java2d.pipe.GlyphListPipe.drawString(GlyphListPipe.java:50)
        at sun.java2d.pipe.ValidatePipe.drawString(ValidatePipe.java:165)
        at sun.java2d.SunGraphics2D.drawString(SunGraphics2D.java:2829)
        at com.MaMaxi.ScreenShot.ScreenShotManager.watermarkPlayer(ScreenShotManager.java:264)
        at com.MaMaxi.ScreenShot.ScreenShotManager.scaleBufferedImage(ScreenShotManager.java:245)
        at com.MaMaxi.ScreenShot.ScreenShotManager.saveScreenShot(ScreenShotManager.java:166)
        at com.MaMaxi.ScreenShot.ScreenShotManager.saveScreenShot(ScreenShotManager.java:138)
        at com.MaMaxi.ScreenShot.listener.ScreenShotListener.onScreenshotReceived(ScreenShotListener.java:79)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
        ... 16 more
     

    Just tried installing Jukeit, and did a server restart, I can't get it to work either.

    Code (Text):

    2013-06-30 13:43:52 [SEVERE] java.net.MalformedURLException: no protocol:
    2013-06-30 13:43:53 [SEVERE]     at java.net.URL.<init>(URL.java:585)
    2013-06-30 13:43:53 [SEVERE]     at java.net.URL.<init>(URL.java:482)
    2013-06-30 13:43:53 [SEVERE]     at java.net.URL.<init>(URL.java:431)
    2013-06-30 13:43:53 [SEVERE]     at com.chrischurchwell.jukeit.JukeIt.finishIncompleteURL(JukeIt.java:202)
    2013-06-30 13:43:53 [SEVERE]     at com.chrischurchwell.jukeit.material.blocks.RecordPlayer.playMusic(RecordPlayer.java:290)
    2013-06-30 13:43:53 [SEVERE]     at com.chrischurchwell.jukeit.material.blocks.RecordPlayer.onBlockClicked(RecordPlayer.java:178)
    2013-06-30 13:43:53 [SEVERE]     at com.chrischurchwell.jukeit.gui.recordplayer.PlayButton.onButtonClick(PlayButton.java:61)
    2013-06-30 13:43:53 [SEVERE]     at org.getspout.spoutapi.packet.PacketControlAction.run(PacketControlAction.java:114)
    2013-06-30 13:43:53 [SEVERE]     at org.getspout.spout.packet.CustomPacket.handle(CustomPacket.java:139)
    2013-06-30 13:43:53 [SEVERE]     at net.minecraft.server.v1_5_R3.NetworkManager.b(NetworkManager.java:292)
    2013-06-30 13:43:53 [SEVERE]     at net.minecraft.server.v1_5_R3.PlayerConnection.d(PlayerConnection.java:115)
    2013-06-30 13:43:53 [SEVERE]     at org.getspout.spout.SpoutPlayerConnection.d(SpoutPlayerConnection.java:195)
    2013-06-30 13:43:53 [SEVERE]     at net.minecraft.server.v1_5_R3.ServerConnection.b(SourceFile:35)
    2013-06-30 13:43:53 [SEVERE]     at org.spigotmc.MultiplexingServerConnection.b(MultiplexingServerConnection.java:61)
    2013-06-30 13:43:53 [SEVERE]     at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:583)
    2013-06-30 13:43:53 [SEVERE]     at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:233)
    2013-06-30 13:43:53 [SEVERE]     at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:472)
    2013-06-30 13:43:53 [SEVERE]     at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:404)
    2013-06-30 13:43:53 [SEVERE]     at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573)
     

    I was first thinking it was Spout, but the other day Wolf told me spout and spigot work fine and told me to use CraftBukkit.
     
  2. Spout is still a thing apparently.
     
  3. Just tried
    30.06 23:36:08 [Server] INFO This server is running CraftBukkit version git-Bukkit-1.5.2-R0.1-5-gb89a351-b2785jnks (MC: 1.5.2) (Implementing API version 1.5.2-R0.2-SNAPSHOT)
    Still same issues.

    So my guess is, SpoutPlugin?
    30.06 23:38:30 [Server] INFO Server version: 1.5.2-R0.2-SNAPSHOT-b1458
     
  4. Fixed the issue.

    Screenshot's errors were due to no proper fonts installed on the sever.

    JukeIt was due to bad url setup. Needed http://

    Safe to close the thread.