Internal server error in TF

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

007Nick700

New Member
Jul 29, 2019
5
0
0
So I was playing with some friends and I went to the twilight forest. From one moment to another I just got an internal server error and got kicked from the server. Yet, my friends said my character was still in the world and on the player list. One of them teleported to me and got the same thing. After a while a thrid one tried and got it aswell.
The result, the 3 of us both get an internal server error when trying to log on. The Twilight forest has been resey already, our .dat files have been deleted and the server has been restarted numerous times. We have ran out of ideas on how to possibly fix it. Any help is welcome.

Server Log:

19:01:05 t: Exception preparing structure feature
19:01:05 at im.c(ChunkProviderServer.java:140)
19:01:05 at il.<init>(PlayerInstance.java:43)
19:01:05 at ik.a(SourceFile:172)
19:01:05 at ik.a(SourceFile:203)
19:01:05 at gm.a(ServerConfigurationManager.java:163)
19:01:05 at gm.c(ServerConfigurationManager.java:206)
19:01:05 at gm.a(ServerConfigurationManager.java:123)
19:01:05 at it.completeConnection(NetLoginHandler.java:198)
19:01:05 at cpw.mods.fml.common.network.FMLNetworkHandler.handleClientConnection(FMLNetworkHandler.java:153)
19:01:05 at cpw.mods.fml.common.network.FMLNetworkHandler.onConnectionReceivedFromClient(FMLNetworkHandler.java:107)
19:01:05 at it.d(NetLoginHandler.java:182)
19:01:05 at it.c(NetLoginHandler.java:75)
19:01:05 at hu.a(ServerListenThread.java:56)
19:01:05 at ht.b(SourceFile:29)
19:01:05 at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:703)
19:01:05 at ho.r(DedicatedServer.java:269)
19:01:05 at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:599)
19:01:05 at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:497)
19:01:05 at fy.run(SourceFile:849)
19:01:05 Caused by: java.lang.IllegalArgumentException: n must be positive
19:01:05 at java.util.Random.nextInt(Random.java:300)
19:01:05 at twilightforest.structures.ComponentTFDarkTowerMain.a(ComponentTFDarkTowerMain.java:155)
19:01:05 at twilightforest.structures.ComponentTFDarkTowerMainBridge.makeTowerWing(ComponentTFDarkTowerMainBridge.java:21)
19:01:05 at twilightforest.structures.ComponentTFDarkTowerBridge.a(ComponentTFDarkTowerBridge.java:30)
19:01:05 at twilightforest.structures.ComponentTFDarkTowerMain.makeNewLargeTower(ComponentTFDarkTowerMain.java:197)
19:01:05 at twilightforest.structures.ComponentTFDarkTowerMain.a(ComponentTFDarkTowerMain.java:116)
19:01:05 at twilightforest.structures.StructureTFMajorFeatureStart.<init>(StructureTFMajorFeatureStart.java:30)
19:01:05 at twilightforest.world.MapGenTFMajorFeature.b(MapGenTFMajorFeature.java:22)
19:01:05 at aev.a(SourceFile:33)
19:01:05 at aaz.a(SourceFile:29)
19:01:05 at twilightforest.world.ChunkProviderTwilightForest.d(ChunkProviderTwilightForest.java:379)
19:01:05 at im.c(ChunkProviderServer.java:131)
19:01:05 ... 18 more
 

Natas

New Member
Jul 29, 2019
4
0
0
Tried to set up a new local server and when I fired it up, it crashed throwing the exact same exception about n not being positive.

Code:
[SEVERE] Encountered an unexpected exception t
t: Exception preparing structure feature
    at yc.<init>(World.java:303)
    at in.<init>(WorldServer.java:103)
    at ih.<init>(SourceFile:10)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:269)
    at ho.c(DedicatedServer.java:180)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:458)
    at fy.run(SourceFile:849)
Caused by: java.lang.IllegalArgumentException: n must be positive
    at java.util.Random.nextInt(Random.java:300)
    at twilightforest.structures.ComponentTFDarkTowerMain.a(ComponentTFDarkTowerMain.java:155)
    at twilightforest.structures.ComponentTFDarkTowerMainBridge.makeTowerWing(ComponentTFDarkTowerMainBridge.java:21)
    at twilightforest.structures.ComponentTFDarkTowerBridge.a(ComponentTFDarkTowerBridge.java:30)
    at twilightforest.structures.ComponentTFDarkTowerMain.makeNewLargeTower(ComponentTFDarkTowerMain.java:197)
    at twilightforest.structures.ComponentTFDarkTowerMain.a(ComponentTFDarkTowerMain.java:116)
    at twilightforest.structures.StructureTFMajorFeatureStart.<init>(StructureTFMajorFeatureStart.java:30)
    at twilightforest.world.MapGenTFMajorFeature.b(MapGenTFMajorFeature.java:22)
    at aev.a(SourceFile:33)
    at aaz.a(SourceFile:29)
    at twilightforest.world.ChunkProviderTwilightForest.d(ChunkProviderTwilightForest.java:379)
    at im.c(ChunkProviderServer.java:131)
    at im.d(ChunkProviderServer.java:166)
    at yc.e(World.java:524)
    at yc.a(World.java:404)
    at yc.c(World.java:433)
    at yc.b(World.java:375)
    at aaq.a(WorldProvider.java:100)
    at in.b(WorldServer.java:775)
    at in.a(WorldServer.java:739)
    at yc.<init>(World.java:288)
    ... 6 more
 

Zexmaxwell001

New Member
Jul 29, 2019
92
0
0
your server is borked from the Twforest mod. Make sure that mystcraft worlds are not conflicting with TWF.

Even though your client crashes on load. Your steve is still on the server. As soon as you login, hop into the server command console and type in /tpx <name> 0. this will tp you out of that world and take you back to overworld. re-log, and you should be free. Do the same to other trapped players till everyone is free.
 
  • Like
Reactions: Raunador

Naolas

New Member
Jul 29, 2019
190
0
0
Do you by any chance see some World Leaking messages after the server starts?

Does the crash happen after trying to place some chunk loading block?