Results 1 to 2 of 2
  1. #1
    mharsijamel is offline Member
    Join Date
    Aug 2011
    Posts
    60
    Rep Power
    0

    Default java.util.ConcurrentModificationException

    i have bps:the name of a list that i want to browse
    Java Code:
    ListIterator a1=bps.listIterator();
    while(a1.hasNext())
     {
           Element bp=(Element) a1.next();
    }
    but i had the error"java.util.ConcurrentModificationException"
    what can i do?

  2. #2
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    3,987
    Rep Power
    9

    Default Re: java.util.ConcurrentModificationException

    If you want help, you should create an SSCCE that demonstrates the problem. You'll discover that those lines are not the actual cause of the problem.
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

Similar Threads

  1. I'm getting a ConcurrentModificationException
    By gib65 in forum Advanced Java
    Replies: 6
    Last Post: 08-18-2010, 09:45 PM
  2. Getting around a ConcurrentModificationException
    By Newbie666 in forum New To Java
    Replies: 50
    Last Post: 01-26-2010, 02:30 PM
  3. Replies: 19
    Last Post: 08-28-2009, 12:49 AM
  4. ConcurrentModificationException with ArrayList
    By fogus in forum New To Java
    Replies: 3
    Last Post: 01-15-2009, 04:04 AM
  5. java.util
    By Java Tutorial in forum Java Tutorial
    Replies: 1
    Last Post: 02-07-2008, 01:46 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •