java.lang.ClassCastException

com.bulletphysics.collision.shapes.CapsuleShape cannot be cast to com.bulletphysics.collision.shapes.CompoundShape

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1

Stack trace

  • java.lang.ClassCastException: com.bulletphysics.collision.shapes.CapsuleShape cannot be cast to com.bulletphysics.collision.shapes.CompoundShape at java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.util.concurrent.FutureTask.get(FutureTask.java:192) at com.jme3.bullet.BulletAppState.postRender(BulletAppState.java:255) at com.jme3.app.state.AppStateManager.postRender(AppStateManager.java:312) at com.jme3.app.SimpleApplication.update(SimpleApplication.java:262) at com.fadorico.rwby.server.RWBY.update(RWBY.java:215) at com.jme3.system.NullContext.run(NullContext.java:132) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.ClassCastException: com.bulletphysics.collision.shapes.CapsuleShape cannot be cast to com.bulletphysics.collision.shapes.CompoundShape at com.bulletphysics.collision.dispatch.CompoundCollisionAlgorithm.processCollision(CompoundCollisionAlgorithm.java:87) at com.bulletphysics.collision.dispatch.DefaultNearCallback.handleCollision(DefaultNearCallback.java:55) at com.bulletphysics.collision.dispatch.CollisionDispatcher$CollisionPairCallback.processOverlap(CollisionDispatcher.java:236) at com.bulletphysics.collision.broadphase.HashedOverlappingPairCache.processAllOverlappingPairs(HashedOverlappingPairCache.java:190) at com.bulletphysics.collision.dispatch.CollisionDispatcher.dispatchAllCollisionPairs(CollisionDispatcher.java:247) at com.bulletphysics.collision.dispatch.CollisionWorld.performDiscreteCollisionDetection(CollisionWorld.java:150) at com.bulletphysics.dynamics.DiscreteDynamicsWorld.internalSingleStepSimulation(DiscreteDynamicsWorld.java:378) at com.bulletphysics.dynamics.DiscreteDynamicsWorld.stepSimulation(DiscreteDynamicsWorld.java:339) at com.jme3.bullet.PhysicsSpace.update(PhysicsSpace.java:349) at com.jme3.bullet.PhysicsSpace.update(PhysicsSpace.java:336) at com.jme3.bullet.BulletAppState$2.call(BulletAppState.java:132) at com.jme3.bullet.BulletAppState$2.call(BulletAppState.java:130) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) ... 1 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

We couldn't find other users who have seen this exception.