java.lang.ClassCastException

net.citizensnpcs.npc.entity.nonliving.ShulkerBulletController$ShulkerBulletNPC cannot be cast to org.bukkit.entity.Arrow

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web19029

  • via GitHub by Cutiemango
    , 11 months ago
    net.citizensnpcs.npc.entity.nonliving.ShulkerBulletController$ShulkerBulletNPC cannot be cast to org.bukkit.entity.Arrow
  • via iteye.com by Unknown author, 1 year ago
    cannot be cast to
  • via Google Groups by someya sayeh, 6 months ago
    org.bdgenomics.formats.avro.Fragment cannot be cast to
  • Stack trace

    • java.lang.ClassCastException: net.citizensnpcs.npc.entity.nonliving.ShulkerBulletController$ShulkerBulletNPC cannot be cast to org.bukkit.entity.Arrow at net.citizensnpcs.npc.entity.nonliving.ShulkerBulletController.getBukkitEntity(ShulkerBulletController.java:27) at net.citizensnpcs.npc.entity.nonliving.ShulkerBulletController.getBukkitEntity(ShulkerBulletController.java:20) at net.citizensnpcs.npc.CitizensNPC.getEntity(CitizensNPC.java:115) at net.citizensnpcs.npc.CitizensNPC.spawn(CitizensNPC.java:197) at net.citizensnpcs.npc.CitizensNPC.setEntityController(CitizensNPC.java:173) at net.citizensnpcs.npc.CitizensNPC.setBukkitEntityType(CitizensNPC.java:160) at net.citizensnpcs.commands.NPCCommands.type(NPCCommands.java:1847)

    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

    You’re the first here who have seen this exception.