Bug: Weird error spam in console

Discussion in 'Bug Reports' started by xlsalvoxl, Aug 5, 2019.

  1. xlsalvoxl

    xlsalvoxl Member
    Supporter Premium Supporter Contest Winner

    Joined:
    Jan 9, 2017
    Messages:
    79
    Likes Received:
    8
    Enter a brief description of what is broken Weird error spam in console

    What version of Minecraft are you using? 1.13.1

    What server jar are you using? paperclip

    What is this a bug report for? MythicMobs

    What version of the plugin are you using? dev build #2874

    Describe the bug. Be as specific as possible, images or short gifs/videos are welcome but save configuration files for later sections. Write a whole paragraph if needed, help us bug testers replicate your issue!
    The skill is working fine, but mythicmobs is spamming some errors in console.

    The error:
    Code:
    java.util.ConcurrentModificationException
        at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:909)
        at java.util.ArrayList$Itr.next(ArrayList.java:859)
        at java.util.concurrent.ConcurrentHashMap$KeySetView.addAll(ConcurrentHashMap.java:4614)
        at io.lumine.xikage.mythicmobs.skills.projectiles.Projectile$ProjectileTracker.evaluatePotentialTargets(Projectile.java:242)
        at io.lumine.xikage.mythicmobs.skills.projectiles.Projectile$ProjectileTracker.start(Projectile.java:292)
        at io.lumine.xikage.mythicmobs.skills.mechanics.ProjectileMechanic$ProjectileMechanicTracker.<init>(ProjectileMechanic.java:91)
        at io.lumine.xikage.mythicmobs.skills.mechanics.ProjectileMechanic.castAtLocation(ProjectileMechanic.java:66)
        at io.lumine.xikage.mythicmobs.skills.SkillMechanic.lambda$executeTargetedLocationSkill$4(SkillMechanic.java:403)
        at java.lang.Iterable.forEach(Iterable.java:75)
        at io.lumine.xikage.mythicmobs.skills.SkillMechanic.executeTargetedLocationSkill(SkillMechanic.java:399)
        at io.lumine.xikage.mythicmobs.skills.SkillMechanic.executeSkills(SkillMechanic.java:367)
        at io.lumine.xikage.mythicmobs.skills.SkillMechanic.execute(SkillMechanic.java:264)
        at io.lumine.xikage.mythicmobs.skills.Skill.execute(Skill.java:275)
        at io.lumine.xikage.mythicmobs.skills.Skill.execute(Skill.java:246)
        at io.lumine.xikage.mythicmobs.skills.mechanics.MetaSkillMechanic.cast(MetaSkillMechanic.java:92)
        at io.lumine.xikage.mythicmobs.skills.SkillMechanic.executeSkills(SkillMechanic.java:309)
        at io.lumine.xikage.mythicmobs.skills.SkillMechanic.execute(SkillMechanic.java:264)
        at io.lumine.xikage.mythicmobs.skills.Skill.execute(Skill.java:275)
        at io.lumine.xikage.mythicmobs.skills.Skill.execute(Skill.java:246)
        at io.lumine.xikage.mythicmobs.skills.mechanics.MetaSkillMechanic.cast(MetaSkillMechanic.java:92)
        at io.lumine.xikage.mythicmobs.skills.SkillMechanic.executeSkills(SkillMechanic.java:309)
        at io.lumine.xikage.mythicmobs.skills.SkillMechanic.execute(SkillMechanic.java:264)
        at io.lumine.xikage.mythicmobs.skills.SkillManager.executeMobTimerSkills(SkillManager.java:349)
        at io.lumine.xikage.mythicmobs.skills.SkillManager.runTimerSkills(SkillManager.java:331)
        at io.lumine.xikage.mythicmobs.clock.MythicMobsAsyncClock.run(MythicMobsAsyncClock.java:21)
        at org.bukkit.craftbukkit.v1_13_R2.scheduler.CraftTask.run(CraftTask.java:84)
        at org.bukkit.craftbukkit.v1_13_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:52)
        at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
    
    MythicMobs version: 4.7.0-SNAPSHOT-2874
    Bukkit version: git-Paper-641 (MC: 1.13.2)
    And this is what it spams on console:
    Code:
    13:39:12 ERROR]: [MythicMobs] AN EXCEPTION HAS OCCURED:
    [13:39:12 ERROR]: [MythicMobs]     null (java.util.ConcurrentModificationException)
    [13:39:12 ERROR]: [MythicMobs] This error has been saved in the Error Logs folder
    Example Configurations
    This is the skill that is causing the issue, it is used on a vex mob with an onTimer trigger
    Code:
    seppioggia:
      Skills:
      - effect:sound{s=entity.lightning_bolt.impact;v=1;p=0.7} @PlayersInRadius{r=60}
      - effect:sound{s=entity.lightning_bolt.thunder;v=1.0;p=0.7} @PIR{r=60}
      - effect:particles{particle=fireworksSpark;amount=30;vSpread=0.5;hSpread=0.5;Speed=0;yoffset=1} @self
      - effect:lightning{localized=true} @self
      - skill{s=seppioggiaproiettile}
    
    seppioggiaproiettile:
      Skills:
      - projectile{onTick=seppioggiaproiettileTick;OnHit=seppioggiaproiettileHit;v=12;i=1;hR=1;vR=1;g=0.4;vO=1.5} @Cone{angle=180;points=40;range=60;rotation=10}
    seppioggiaproiettileTick:
      Skills:
      - effect:particles{p=fireworksspark;amount=1;speed=0;hR=0.5;vR=0.5} @origin
    seppioggiaproiettileHit:
      Skills:
      - effect:sound{s=entity.firework_rocket.twinkle;v=1.0;p=2;repeat=8;repeatInterval=1}
      - damage{a=2;i=true;repeat=8;repeatInterval=1} @EntitiesNearOrigin{r=3}
      - potion{t=SLOW;d=65;l=2}
     
    #1

Share This Page