java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Double

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 5igm
, 1 year ago
java.lang.Integer cannot be cast to java.lang.Double
java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Double
at com.arckenver.nations.cmdexecutor.nation.NationTaxesExecutor.execute(NationTaxesExecutor.java:40)
at org.spongepowered.api.command.args.ChildCommandElementExecutor.execute(ChildCommandElementExecutor.java:179)
at org.spongepowered.api.command.spec.CommandSpec.process(CommandSpec.java:332)
at org.spongepowered.api.command.dispatcher.SimpleDispatcher.process(SimpleDispatcher.java:333)
at org.spongepowered.common.command.SpongeCommandManager.process(SpongeCommandManager.java:274)
at net.minecraft.command.ServerCommandManager.func_71556_a(SourceFile:82)
at net.minecraft.network.NetHandlerPlayServer.func_147361_d(NetHandlerPlayServer.java:913)
at net.minecraft.network.NetHandlerPlayServer.func_147354_a(NetHandlerPlayServer.java:892)
at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:37)
at org.spongepowered.common.network.PacketUtil.onProcessPacket(PacketUtil.java:118)
at net.minecraft.network.PacketThreadUtil$1.redirect$onProcessPacket$0(SourceFile:39)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at net.minecraft.util.Util.func_181617_a(SourceFile:45)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:668)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.