Unfreeze all is broken. #3


  • New
  • Defect
Open
Assigned to _ForgeUser7474392
  • _ForgeUser8372851 created this issue May 27, 2012

    What steps will reproduce the problem?

    1. Freeze someone.

    2. Attempt to run the command /unfreeze all.

    3. Profit.

    What is the expected output? What do you see instead?

    In a perfect world, it would unfreeze all of the frozen players. Instead, it returns an internal server error.

    What version of the product are you using?

    The latest one. (v1.5 I think?)

    Do you have an error log of what happened?

    Si. It appears to be an error with a hash map. java.util.ConcurrentModificationException? Never come across that before, but it seems pretty self explanatory. Are you attempting to unfreeze everyone at the same time?

    Caused by: java.util.ConcurrentModificationException
    at java.util.HashMap$HashIterator.nextEntry(HashMap.java:806)
    at java.util.HashMap$KeyIterator.next(HashMap.java:841)
    at com.andersonhc.PlayerFreeze.PlayerFreeze.unFreezeAll(PlayerFreeze.java:353)
    at com.andersonhc.PlayerFreeze.command.UnWarnCommand.onCommand(UnWarnCommand.java:28)
    

    Please provide any additional information below.

    This is a great plugin. Keep up the good work. Quick bug however, that I don't feel requires it's own ticket, is that when you run the command:

    /freeze list

    it DOES return a list of all of the frozen players, but with parenthesis at the end.

    (ex.

    a ()

    b ()

    hi ()

    hello ()

    steve ()

    herobrine()

    )

    Anyways, this may be intentional, I'm not quite sure. I just didn't know if you knew about this...

  • _ForgeUser8372851 added the tags New Defect May 27, 2012
  • _ForgeUser8372851 edited description May 27, 2012

To post a comment, please login or register a new account.