ProjectPortals - One stop shop for all things portal


#85

Good evening!
I love all your plugins. They all used to work happily until I updated my server.
Now, almost all of them work… except for this one. Project Portals doesn’t seem to work properly and fills my server console with errors.

Some data before continuing:
OS: Windows 7 (x64), Java: 1.8.0_211,
Forge Version: forge-1.12.2-14.23.5.2768-universal.jar
Sponge Version: spongeforge-1.12.2-2768-7.1.5
Sponge API Version: spongeapi-7.2.0-20190425.042712-16-shaded
Other Trentech mods installed (that do work): projectcore-7.0.0-0.2.1, projectworlds-7.1.0-0.12.2
Other mods installed: Craftbook S7.1-4.0-Alpha, LangSwitch, LuckPerms-Sponge-4.4.25, NPCs-3.0.0-MC1.12.2, PlaceholderAPI-4.4, prism-3.0.0-beta2-75-g9b005fd-12-g5435fdd-all, TotalEconomy-1.8.1, worldedit-sponge-6.1.9-SNAPSHOT-dist

I have tested Project Portals 7.2.0-0.15.2, 7.1.0-0.15.0, and 7.1.0-0.14.3. All of them either crash the server or (in the case of the latest one) don’t work.

Not sure if I’ll be able to paste an error log but if I cannot, I will try to post on the development page for the mod. I just hope you see this, because I used to really enjoy warping around worlds using this plugin as I have an adventure server.

The error I get happens right after the second “/portal save” command. On the /portal create command there aren’t issues in the client. Then I build the frame. Then it asks me to type “/portal save”, which I do. Then it asks me to fill it in. It doesn’t matter what I fill it with as, when I’m done, it asks me to type again “/portal save”, which, on the client, gives me this error: “Error occurred while executing command:null”. The console has a small red error spam. It doesn’t crash the server but it doesn’t create the portal:

[20:41:32] [Server thread/ERROR] [Sponge]: Error occurred while executing command ‘portal save’ for source EntityPlayerMP[‘TGMagus’/567, l=‘world’, x=190.95, y=172.00, z=-179.07]: null
java.lang.NullPointerException: null
at com.gmail.trentech.pjp.portal.PortalBuilder.build(PortalBuilder.java:98) ~[PortalBuilder.class:?]
at com.gmail.trentech.pjp.commands.portal.CMDSave.execute(CMDSave.java:48) ~[CMDSave.class:?]
at org.spongepowered.api.command.args.ChildCommandElementExecutor.execute(ChildCommandElementExecutor.java:255) ~[ChildCommandElementExecutor.class:1.12.2-2768-7.1.5]
at org.spongepowered.api.command.spec.CommandSpec.process(CommandSpec.java:388) ~[CommandSpec.class:1.12.2-2768-7.1.5]
at org.spongepowered.api.command.dispatcher.SimpleDispatcher.process(SimpleDispatcher.java:340) ~[SimpleDispatcher.class:1.12.2-2768-7.1.5]
at org.spongepowered.common.command.SpongeCommandManager.process(SpongeCommandManager.java:334) [SpongeCommandManager.class:1.12.2-2768-7.1.5]
at net.minecraft.command.ServerCommandManager.func_71556_a(SourceFile:1083) [dh.class:?]
at net.minecraft.network.NetHandlerPlayServer.func_147361_d(NetHandlerPlayServer.java:960) [pa.class:?]
at net.minecraft.network.NetHandlerPlayServer.func_147354_a(NetHandlerPlayServer.java:939) [pa.class:?]
at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:37) [la.class:?]
at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:9) [la.class:?]
at org.spongepowered.common.event.tracking.phase.packet.PacketPhaseUtil.onProcessPacket(PacketPhaseUtil.java:193) [PacketPhaseUtil.class:1.12.2-2768-7.1.5]
at net.minecraft.network.PacketThreadUtil$1.redirect$onProcessPacket$zli000(SourceFile:539) [hv$1.class:?]
at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13) [hv$1.class:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_211]
at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_211]
at net.minecraft.util.Util.func_181617_a(SourceFile:46) [h.class:?]
at org.spongepowered.common.SpongeImplHooks.onUtilRunTask(SpongeImplHooks.java:297) [SpongeImplHooks.class:1.12.2-2768-7.1.5]
at net.minecraft.server.MinecraftServer.redirect$onRun$zjm000(MinecraftServer.java:3963) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:723) [MinecraftServer.class:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:397) [nz.class:?]
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) [MinecraftServer.class:?]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_211]

Help?
UPDATE: even if I update ProjectCore to version “projectcore-7.2.0-0.4.0-unstable” (the latest), it still fills my server console with red errors and fails to create portals.