Home     |     Java    |     Php General    |     Oracle Database    |     Oracle Server  

MS Dynamics CRM 3.0

  •  Setting up and Configuring Microsoft Dynamics CRM 3.0
  •  Managing Security and Information Access
  •  Entity Customization: Concepts and Attributes
  •  Entity Customization: Forms and Views
  •  Entity Customization: Relationships, Custom Entities, and Site Map
  •  Reporting and Analysis
  •  Workflow
  •  Server-Side SDK
  •  Client-Side SDK
  •  Integration with External Applications
  • Cervo Technologies
    The Right Source to Outsource

    Sharepoint Portal Server KB

    Microsoft CRM Info

    WPF Interview Questions

    SilverLight Interview Qs

    Asp.Net 2.0 Interview Qs

    Asp.NET 1.1 FAQs

    Oracle Interview Questions

    SAP Interview Questions

    Java Programming

    debugger behaviour different to execution behaviour


    Hi,

    I've got a program that runs fine when run from the debugger in
    Eclipse, but when you execute it outwith the debugger the program
    throws a ConcurrentModificationException.  It doesn't seem to be a
    simple case of http://mindprod.com/jgloss/runerrormessages.html#CONCURRENTMOD
    since, the iterator's underlying collection is not being altered at
    all.

    The bug (presumably in our program) has been uncovered by moving from
    Java 1.4.2 to Java 6 (I know, that seems like asking for trouble but
    I'm only following orders).  Has anyone experienced similar problems
    with an upgrade like this?

    Cheers,
    Andy

    On Mon, 14 May 2007 10:19:57 +0100, Andy Chambers  

    <achambers.h@googlemail.com> wrote:
    > Hi,

    > I've got a program that runs fine when run from the debugger in
    > Eclipse, but when you execute it outwith the debugger the program
    > throws a ConcurrentModificationException.  It doesn't seem to be a
    > simple case of  
    > http://mindprod.com/jgloss/runerrormessages.html#CONCURRENTMOD
    > since, the iterator's underlying collection is not being altered at
    > all.

    Sounds like a threading problem.  The fact that it works in the debugger  
    is probably because it slows things down sufficiently that two threads  
    don't try to access the collection at the same time.  I'd review  
    everywhere the collection is accessed and ensure that it is properly  
    synchronised.

    Dan.

    --
    Daniel Dyer
    http://www.uncommons.org

    Add to del.icio.us | Digg this | Stumble it | Powered by Megasolutions Inc