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

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 CyaNox
, 1 year ago
java.lang.Integer cannot be cast to java.lang.Float
java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Float
at vazkii.botania.common.entity.EntityBabylonWeapon.getRotation(EntityBabylonWeapon.java:239)
at vazkii.botania.client.render.entity.RenderBabylonWeapon.doRender(RenderBabylonWeapon.java:45)
at vazkii.botania.client.render.entity.RenderBabylonWeapon.func_76986_a(RenderBabylonWeapon.java:33)
at net.minecraft.client.renderer.entity.RenderManager.func_188391_a(RenderManager.java:366)
at net.minecraft.client.renderer.entity.RenderManager.func_188388_a(RenderManager.java:350)
at net.minecraft.client.renderer.RenderGlobal.func_180446_a(RenderGlobal.java:623)
at net.minecraft.client.renderer.EntityRenderer.func_175068_a(EntityRenderer.java:1315)
at net.minecraft.client.renderer.EntityRenderer.func_78471_a(EntityRenderer.java:1229)
at net.minecraft.client.renderer.EntityRenderer.func_181560_a(EntityRenderer.java:1038)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1076)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:371)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:310)
at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:395)
at org.multimc.EntryPoint.listen(EntryPoint.java:170)
at org.multimc.EntryPoint.main(EntryPoint.java:54)

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.