Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by RobertHerhold
, 1 year ago
com.erigitic.config.TEEconomyTransactionEvent cannot be cast to org.spongepowered.api.event.impl.AbstractEvent
via GitHub by Arckenver
, 1 year ago
com.arckenver.nations.event.PlayerTeleportEvent cannot be cast to org.spongepowered.api.event.impl.AbstractEvent
via GitHub by RobertHerhold
, 1 year ago
io.github.flibio.economylite.impl.economy.event.LiteEconomyTransactionEvent cannot be cast to org.spongepowered.api.event.impl.AbstractEvent
java.lang.ClassCastException: com.erigitic.config.TEEconomyTransactionEvent cannot be cast to org.spongepowered.api.event.impl.AbstractEvent	at org.spongepowered.common.event.SpongeEventManager.post(SpongeEventManager.java:304)	at org.spongepowered.common.event.SpongeEventManager.post(SpongeEventManager.java:320)	at com.erigitic.config.TEAccount.deposit(TEAccount.java:133)	at org.spongepowered.api.service.economy.account.Account.deposit(Account.java:294)	at com.erigitic.commands.AdminPayCommand.execute(AdminPayCommand.java:51)	at org.spongepowered.api.command.spec.CommandSpec.process(CommandSpec.java:351)	at org.spongepowered.api.command.dispatcher.SimpleDispatcher.process(SimpleDispatcher.java:333)	at org.spongepowered.common.command.SpongeCommandManager.process(SpongeCommandManager.java:291)	at net.minecraft.command.ServerCommandManager.func_71556_a(SourceFile:82)	at net.minecraft.network.NetHandlerPlayServer.func_147361_d(SourceFile:825)	at net.minecraft.network.NetHandlerPlayServer.func_147354_a(SourceFile:812)	at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:37)	at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:9)	at org.spongepowered.common.network.PacketUtil.onProcessPacket(PacketUtil.java:122)	at net.minecraft.network.PacketThreadUtil$1.redirect$onProcessPacket$0(SourceFile:39)	at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13)	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)	at java.util.concurrent.FutureTask.run(FutureTask.java:266)	at net.minecraft.util.Util.func_181617_a(SourceFile:45)	at net.minecraft.server.MinecraftServer.func_71190_q(SourceFile:140)	at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(SourceFile:338)	at net.minecraft.server.MinecraftServer.func_71217_p(SourceFile:554)	at net.minecraft.server.MinecraftServer.run(SourceFile:458)	at java.lang.Thread.run(Thread.java:745)