Portals fail to find matching frames when running on OpenJDK.
nycki93 opened this issue ยท 11 comments
Minecraft v1.15.2
Fabric API v0.5.1+build.294
Immersive Portals v0.21
No other mods installed on the server.
When creating a portal and lighting it, from the nether or the overworld, a new frame is always generated, even if a suitable frame exists. Additionally, sometimes the portal fails to light at all, leaving the player trapped in the nether.
What is the coordinate of the frame that you are lighting? And the coordinate of the existing frame.
When it "fails to light", does the loading indicator show up? Show the log when it fails to light.
Unfortunately, I cannot reproduce this issue on my end. Maybe something happens during searching, showing the server log may reveal it.
I don't think netherPortalSearchingRange should matter here, since I'm using the default portal locations. And this bug only happens when using a separate client/server, not when playing in single player locally.
Steps to reproduce:
- Install mod on client and server. Start server, connect with client. So far so good.
- Build a portal, anywhere seems to work. As this is the first time, it's expected to find no match.
- Wait for a frame to generate in the nether. Confirm that passing through the portal works as expected.
- From the overworld, break the portal so it un-lights.
- Re-complete the portal and re-light it.
- Observe that the portal fails to find the matching frame that was just created for it, and instead goes through the whole process again of searching, failing, and forcibly creating a new frame.
Can you check the config file? Maybe that option is filled by 0 when the mod updates.
I tested several configurations today, and I've found that I can only reproduce it if I'm running OpenJDK, instead of Oracle Java. Not sure why this would cause a bug, but I'll see if I can install Oracle's Java on my dedicated server.
Yep, installing Oracle Java on my linux box made the bug go away. I think this is worth looking into though, because OpenJDK is the standard on linux which is where most dedicated servers are running.
Dang. Making two Portal Helper frames right next to each other and lighting one didn't detect the other. Maybe this is why. I installed OpenJDK just recently hoping to get the Curse launcher working with 1.15, but it didn't want to, so I switched to the regular MC launcher but kept OpenJDK.
Long story short, I ended up with OpenJDK on macOS and I have this issue as well.
I would like to re-open this issue, as of it's still here. The common problem seems to be OpenJDK.
[03:56:39] [Server thread/INFO]: Broke NetherPortalEntity{8924,west,(minecraft:the_nether -39 79 -36)->(minecraft:overworld -228 68 -218),imm_ptl:intrinsic_nether_portal}
[03:56:39] [Server thread/INFO]: Broke NetherPortalEntity{8921,west,(minecraft:overworld -228 68 -218)->(minecraft:the_nether -39 79 -36),imm_ptl:intrinsic_nether_portal}
[03:56:39] [Server thread/INFO]: Broke NetherPortalEntity{8922,east,(minecraft:overworld -228 68 -218)->(minecraft:the_nether -39 79 -36),imm_ptl:intrinsic_nether_portal}
[03:56:40] [Server thread/INFO]: Portal Generation Attempted minecraft:overworld -229 69 -218
[03:56:40] [Server thread/INFO]: Cannot Find Portal Placement on Ground with 3 Spacing
[03:56:40] [Server thread/INFO]: Generated Portal On Ground
[03:56:42] [Server thread/INFO]: Acrivec :: (minecraft:overworld -228.70881199670993 67.0 -217.88331572396234)->(minecraft:the_nether -13 81 -35)
[03:56:46] [Server thread/INFO]: Acrivec :: (minecraft:the_nether -13.256676917320515 81.00002442408821 -35.61997746514897)->(minecraft:overworld -228 67 -217)
[03:56:47] [Server thread/INFO]: Broke NetherPortalEntity{9139,east,(minecraft:the_nether -13 82 -36)->(minecraft:overworld -228 68 -218),imm_ptl:intrinsic_nether_portal}
[03:56:47] [Server thread/INFO]: Broke NetherPortalEntity{9140,west,(minecraft:the_nether -13 82 -36)->(minecraft:overworld -228 68 -218),imm_ptl:intrinsic_nether_portal}
[03:56:47] [Server thread/INFO]: Broke NetherPortalEntity{9137,west,(minecraft:overworld -228 68 -218)->(minecraft:the_nether -13 82 -36),imm_ptl:intrinsic_nether_portal}
[03:56:47] [Server thread/INFO]: Broke NetherPortalEntity{9138,east,(minecraft:overworld -228 68 -218)->(minecraft:the_nether -13 82 -36),imm_ptl:intrinsic_nether_portal}
[03:56:49] [Server thread/INFO]: Portal Generation Attempted minecraft:overworld -229 68 -218
[03:56:49] [Server thread/INFO]: Cannot Find Portal Placement on Ground with 3 Spacing
[03:56:49] [Server thread/INFO]: Generated Portal On Ground
[03:56:51] [Server thread/INFO]: Acrivec :: (minecraft:overworld -228.67755513613648 67.0 -217.94905220516156)->(minecraft:the_nether -27 84 -37)
[03:56:53] [Server thread/INFO]: Acrivec :: (minecraft:the_nether -27.133857880834586 84.0 -37.83105507598905)->(minecraft:overworld -228 67 -217)
[03:56:54] [Server thread/INFO]: Broke NetherPortalEntity{9183,east,(minecraft:the_nether -27 85 -38)->(minecraft:overworld -228 68 -218),imm_ptl:intrinsic_nether_portal}
[03:56:54] [Server thread/INFO]: Broke NetherPortalEntity{9184,west,(minecraft:the_nether -27 85 -38)->(minecraft:overworld -228 68 -218),imm_ptl:intrinsic_nether_portal}
[03:56:54] [Server thread/INFO]: Broke NetherPortalEntity{9181,west,(minecraft:overworld -228 68 -218)->(minecraft:the_nether -27 85 -38),imm_ptl:intrinsic_nether_portal}
[03:56:54] [Server thread/INFO]: Broke NetherPortalEntity{9182,east,(minecraft:overworld -228 68 -218)->(minecraft:the_nether -27 85 -38),imm_ptl:intrinsic_nether_portal}
[03:56:57] [Server thread/INFO]: Portal Generation Attempted minecraft:overworld -229 67 -219
[03:56:57] [Server thread/INFO]: Cannot Find Portal Placement on Ground with 3 Spacing
[03:56:57] [Server thread/INFO]: Generated Portal On Ground
[03:57:00] [Server thread/INFO]: Broke NetherPortalEntity{9450,east,(minecraft:the_nether -25 85 -38)->(minecraft:overworld -228 68 -218),imm_ptl:intrinsic_nether_portal}
[03:57:00] [Server thread/INFO]: Broke NetherPortalEntity{9451,west,(minecraft:the_nether -25 85 -38)->(minecraft:overworld -228 68 -218),imm_ptl:intrinsic_nether_portal}
[03:57:00] [Server thread/INFO]: Broke NetherPortalEntity{9448,west,(minecraft:overworld -228 68 -218)->(minecraft:the_nether -25 85 -38),imm_ptl:intrinsic_nether_portal}
[03:57:00] [Server thread/INFO]: Broke NetherPortalEntity{9449,east,(minecraft:overworld -228 68 -218)->(minecraft:the_nether -25 85 -38),imm_ptl:intrinsic_nether_portal}
[03:57:02] [Server thread/INFO]: Portal Generation Attempted minecraft:overworld -229 67 -218
[03:57:02] [Server thread/INFO]: Cannot Find Portal Placement on Ground with 3 Spacing
[03:57:02] [Server thread/INFO]: Generated Portal On Ground
[03:57:03] [Server thread/INFO]: Broke NetherPortalEntity{9467,east,(minecraft:the_nether -23 85 -38)->(minecraft:overworld -228 68 -218),imm_ptl:intrinsic_nether_portal}
[03:57:03] [Server thread/INFO]: Broke NetherPortalEntity{9468,west,(minecraft:the_nether -23 85 -38)->(minecraft:overworld -228 68 -218),imm_ptl:intrinsic_nether_portal}
[03:57:03] [Server thread/INFO]: Broke NetherPortalEntity{9465,west,(minecraft:overworld -228 68 -218)->(minecraft:the_nether -23 85 -38),imm_ptl:intrinsic_nether_portal}
[03:57:03] [Server thread/INFO]: Broke NetherPortalEntity{9466,east,(minecraft:overworld -228 68 -218)->(minecraft:the_nether -23 85 -38),imm_ptl:intrinsic_nether_portal}
[03:57:03] [Server thread/INFO]: Portal Generation Attempted minecraft:overworld -229 67 -219
[03:57:03] [Server thread/INFO]: Cannot Find Portal Placement on Ground with 3 Spacing
[03:57:03] [Server thread/INFO]: Generated Portal On Ground
[03:57:04] [Server thread/INFO]: Broke NetherPortalEntity{9476,east,(minecraft:the_nether -41 78 -35)->(minecraft:overworld -228 68 -218),imm_ptl:intrinsic_nether_portal}
[03:57:04] [Server thread/INFO]: Broke NetherPortalEntity{9477,west,(minecraft:the_nether -41 78 -35)->(minecraft:overworld -228 68 -218),imm_ptl:intrinsic_nether_portal}
[03:57:04] [Server thread/INFO]: Broke NetherPortalEntity{9474,west,(minecraft:overworld -228 68 -218)->(minecraft:the_nether -41 78 -35),imm_ptl:intrinsic_nether_portal}
[03:57:04] [Server thread/INFO]: Broke NetherPortalEntity{9475,east,(minecraft:overworld -228 68 -218)->(minecraft:the_nether -41 78 -35),imm_ptl:intrinsic_nether_portal}
[03:57:04] [Server thread/INFO]: Portal Generation Attempted minecraft:overworld -229 67 -219
[03:57:04] [Server thread/INFO]: Cannot Find Portal Placement on Ground with 3 Spacing
[03:57:04] [Server thread/INFO]: Generated Portal On Ground
[03:57:05] [Server thread/INFO]: Broke NetherPortalEntity{9481,east,(minecraft:the_nether -11 81 -32)->(minecraft:overworld -228 68 -218),imm_ptl:intrinsic_nether_portal}
[03:57:05] [Server thread/INFO]: Broke NetherPortalEntity{9482,west,(minecraft:the_nether -11 81 -32)->(minecraft:overworld -228 68 -218),imm_ptl:intrinsic_nether_portal}
[03:57:05] [Server thread/INFO]: Broke NetherPortalEntity{9479,west,(minecraft:overworld -228 68 -218)->(minecraft:the_nether -11 81 -32),imm_ptl:intrinsic_nether_portal}
[03:57:05] [Server thread/INFO]: Broke NetherPortalEntity{9480,east,(minecraft:overworld -228 68 -218)->(minecraft:the_nether -11 81 -32),imm_ptl:intrinsic_nether_portal}
[03:57:05] [Server thread/INFO]: Portal Generation Attempted minecraft:overworld -229 67 -219
[03:57:05] [Server thread/INFO]: Cannot Find Portal Placement on Ground with 3 Spacing
[03:57:05] [Server thread/INFO]: Generated Portal On Ground
[03:57:06] [Server thread/INFO]: Broke NetherPortalEntity{9494,east,(minecraft:the_nether -43 75 -20)->(minecraft:overworld -228 68 -218),imm_ptl:intrinsic_nether_portal}
[03:57:06] [Server thread/INFO]: Broke NetherPortalEntity{9495,west,(minecraft:the_nether -43 75 -20)->(minecraft:overworld -228 68 -218),imm_ptl:intrinsic_nether_portal}
[03:57:06] [Server thread/INFO]: Broke NetherPortalEntity{9492,west,(minecraft:overworld -228 68 -218)->(minecraft:the_nether -43 75 -20),imm_ptl:intrinsic_nether_portal}
[03:57:06] [Server thread/INFO]: Broke NetherPortalEntity{9493,east,(minecraft:overworld -228 68 -218)->(minecraft:the_nether -43 75 -20),imm_ptl:intrinsic_nether_portal}
[03:57:06] [Server thread/INFO]: Portal Generation Attempted minecraft:overworld -229 67 -219
[03:57:06] [Server thread/INFO]: Cannot Find Portal Placement on Ground with 3 Spacing
[03:57:06] [Server thread/INFO]: Generated Portal On Ground
[03:57:07] [Server thread/INFO]: Broke NetherPortalEntity{9503,east,(minecraft:the_nether -35 80 -39)->(minecraft:overworld -228 68 -218),imm_ptl:intrinsic_nether_portal}
[03:57:07] [Server thread/INFO]: Broke NetherPortalEntity{9504,west,(minecraft:the_nether -35 80 -39)->(minecraft:overworld -228 68 -218),imm_ptl:intrinsic_nether_portal}
[03:57:07] [Server thread/INFO]: Broke NetherPortalEntity{9501,west,(minecraft:overworld -228 68 -218)->(minecraft:the_nether -35 80 -39),imm_ptl:intrinsic_nether_portal}
[03:57:07] [Server thread/INFO]: Broke NetherPortalEntity{9502,east,(minecraft:overworld -228 68 -218)->(minecraft:the_nether -35 80 -39),imm_ptl:intrinsic_nether_portal}
[03:57:07] [Server thread/INFO]: Reject cross portal block placing packet class_3222['Acrivec'/6767, l='ServerWorld minecraft:overworld Misiowo', x=-226.75, y=67.00, z=-217.88]
[03:57:07] [Server thread/INFO]: Portal Generation Attempted minecraft:overworld -229 67 -219
[03:57:08] [Server thread/INFO]: Cannot Find Portal Placement on Ground with 3 Spacing
[03:57:08] [Server thread/INFO]: Generated Portal On Ground
[03:57:12] [Server thread/INFO]: Acrivec :: (minecraft:overworld -228.6376003314568 67.0 -218.472909340535)->(minecraft:the_nether -43 74 -27)
[03:57:22] [Server thread/INFO]: Acrivec :: (minecraft:the_nether -43.099614477403996 74.00002442408821 -27.299546365337115)->(minecraft:overworld -228 67 -218)
[03:57:25] [Server thread/INFO]: Broke NetherPortalEntity{9512,east,(minecraft:the_nether -43 75 -27)->(minecraft:overworld -228 68 -218),imm_ptl:intrinsic_nether_portal}
[03:57:25] [Server thread/INFO]: Broke NetherPortalEntity{9513,west,(minecraft:the_nether -43 75 -27)->(minecraft:overworld -228 68 -218),imm_ptl:intrinsic_nether_portal}
[03:57:25] [Server thread/INFO]: Broke NetherPortalEntity{9510,west,(minecraft:overworld -228 68 -218)->(minecraft:the_nether -43 75 -27),imm_ptl:intrinsic_nether_portal}
[03:57:25] [Server thread/INFO]: Broke NetherPortalEntity{9511,east,(minecraft:overworld -228 68 -218)->(minecraft:the_nether -43 75 -27),imm_ptl:intrinsic_nether_portal}
[03:57:28] [Server thread/WARN]: Can't keep up! Is the server overloaded? Running 2017ms or 40 ticks behind
[04:01:16] [Server thread/WARN]: Fetching packet for removed entity class_1542['Air'/10191, l='ServerWorld minecraft:overworld Misiowo', x=-180.51, y=63.00, z=-274.99]
I've kept trying and trying, but never did find the frame. Just got a whole bunch of new ones.
And to continue: installing Oracle JDK did fix the problem (though you have to walk through and open from inside nether).
openjdk version "1.8.0_282"
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_282-b08)
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.282-b08, mixed mode)
Possibly difference in java version?
java version "1.8.0_281"
Java(TM) SE Runtime Environment (build 1.8.0_281-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.281-b09, mixed mode)
@Acrivec I am using OpenJdk14.0.1.7-hotspot and cannot reproduce the issue