com.feed_the_beast.ftblib.lib.math.TeleporterDimPos cannot be cast to org.spongepowered.api.world.PortalAgent

:confounded:
Time: 12/5/18 2:40 PM
Description: Exception in server tick loop

java.lang.ClassCastException: com.feed_the_beast.ftblib.lib.math.TeleporterDimPos cannot be cast to org.spongepowered.api.world.PortalAgent
	at org.spongepowered.common.SpongeImplHooks.registerPortalAgentType(SpongeImplHooks.java:1400)
	at org.spongepowered.common.entity.EntityUtil.handleDisplaceEntityPortalEvent(EntityUtil.java:349)
	at org.spongepowered.common.entity.EntityUtil.teleportPlayerToDimension(EntityUtil.java:220)
	at net.minecraft.entity.player.EntityPlayerMP.changeDimension(EntityPlayerMP.java:5063)
	at com.feed_the_beast.ftblib.lib.math.TeleporterDimPos.teleport(TeleporterDimPos.java:81)
	at com.feed_the_beast.ftbutilities.data.FTBUtilitiesPlayerData$TeleportTask.execute(FTBUtilitiesPlayerData.java:128)
	at com.feed_the_beast.ftblib.lib.data.Universe.onTickEvent(Universe.java:221)
	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_342_Universe_onTickEvent_WorldTickEvent.invoke(.dynamic)
	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
	at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:687)
	at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:641)
	at net.minecraftforge.fml.common.FMLCommonHandler.onPostWorldTick(FMLCommonHandler.java:274)
	at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:776)
	at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:397)
	at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668)
	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526)
	at java.lang.Thread.run(Thread.java:748)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Server thread
Stacktrace:
	at org.spongepowered.common.SpongeImplHooks.registerPortalAgentType(SpongeImplHooks.java:1400)
	at org.spongepowered.common.entity.EntityUtil.handleDisplaceEntityPortalEvent(EntityUtil.java:349)
	at org.spongepowered.common.entity.EntityUtil.teleportPlayerToDimension(EntityUtil.java:220)
	at net.minecraft.entity.player.EntityPlayerMP.changeDimension(EntityPlayerMP.java:5063)
	at com.feed_the_beast.ftblib.lib.math.TeleporterDimPos.teleport(TeleporterDimPos.java:81)
	at com.feed_the_beast.ftbutilities.data.FTBUtilitiesPlayerData$TeleportTask.execute(FTBUtilitiesPlayerData.java:128)
	at com.feed_the_beast.ftblib.lib.data.Universe.onTickEvent(Universe.java:221)
	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_342_Universe_onTickEvent_WorldTickEvent.invoke(.dynamic)
	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
	at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:687)
	at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:641)
	at net.minecraftforge.fml.common.FMLCommonHandler.onPostWorldTick(FMLCommonHandler.java:274)

-- Sponge PhaseTracker --
Details:
	Phase Stack: [Empty stack]
Stacktrace:
	at net.minecraft.server.MinecraftServer.handler$onCrashReport$zjl000(MinecraftServer.java:3980)
	at net.minecraft.server.MinecraftServer.func_71230_b(MinecraftServer.java:889)
	at net.minecraft.server.dedicated.DedicatedServer.func_71230_b(DedicatedServer.java:371)
	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:558)
	at java.lang.Thread.run(Thread.java:748)

-- System Details --
Details:
	Minecraft Version: 1.12.2
	Operating System: Windows Server 2012 R2 (amd64) version 6.3
	Java Version: 1.8.0_181, Oracle Corporation
	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
	Memory: 1087521144 bytes (1037 MB) / 2524798976 bytes (2407 MB) up to 12562792448 bytes (11980 MB)
	JVM Flags: 31 total; -XX:-UseVMInterruptibleIO -XX:NewRatio=3 -XX:+UseStringCache -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:ParallelGCThreads=40 -XX:+AggressiveOpts -XX:+UseFastAccessorMethods -XX:+UseBiasedLocking -XX:PermSize=128m -XX:MaxPermSize=256m -XX:+CMSParallelRemarkEnabled -XX:MaxGCPauseMillis=50 -XX:+UseAdaptiveGCBoundary -XX:-UseGCOverheadLimit -XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=15 -XX:+UseAdaptiveSizePolicy -XX:+DisableExplicitGC -Xnoclassgc -Xoss4M -Xss4M -XX:CMSInitiatingOccupancyFraction=60 -XX:+UseCMSCompactAtFullCollection -XX:CMSFullGCsBeforeCompaction=1 -XX:SoftRefLRUPolicyMSPerMB=2048 -XX:UseSSE=2 -XX:UseAVX=1 -Xmx12G

Please upload the entire log file to a place like gist or pastebin.

It would also be helpful if you specify what version of Sponge, Forge, and the modpack name and version if you are using a public one.

1 Like

stoneblock1.0.31
log1
log2
crash

Sorry, Beijing time is now 18:00, my reply may be a bit slow