[jira] Commented: (CAY-871) DataDomain instantiates with null EventManager

From: payne (JIRA) ("payne)
Date: Wed Sep 17 2008 - 23:09:11 EDT

  • Next message: payne (JIRA): "[jira] Commented: (CAY-887) CM Usability:Recent Files list shold be longer"

        [ https://issues.apache.org/cayenne/browse/CAY-871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13108#action_13108 ]

    payne commented on CAY-871:
    ---------------------------

    http://www.gnn.com.br/forum/showthread.php?t=1000087664
    http://www.gnn.com.br/forum/showthread.php?t=1000087663
    http://www.gnn.com.br/forum/showthread.php?t=1000087662
    http://www.gnn.com.br/forum/showthread.php?t=1000087661
    http://www.gnn.com.br/forum/showthread.php?t=1000087660
    http://www.gnn.com.br/forum/showthread.php?t=1000087659
    http://www.gnn.com.br/forum/showthread.php?t=1000087658
    http://www.gnn.com.br/forum/showthread.php?t=1000087657
    http://www.gnn.com.br/forum/showthread.php?t=1000087655
    http://www.gnn.com.br/forum/showthread.php?t=1000087654
    http://www.gnn.com.br/forum/showthread.php?t=1000087653
    http://www.gnn.com.br/forum/showthread.php?t=1000087652
    http://www.gnn.com.br/forum/showthread.php?t=1000087651
    http://www.gnn.com.br/forum/showthread.php?t=1000087650
    http://www.gnn.com.br/forum/showthread.php?t=1000087649
    http://www.gnn.com.br/forum/showthread.php?t=1000087647
    http://www.gnn.com.br/forum/showthread.php?t=1000087646
    http://www.gnn.com.br/forum/showthread.php?t=1000087645
    http://www.gnn.com.br/forum/showthread.php?t=1000087643
    http://www.gnn.com.br/forum/showthread.php?t=1000087642
    http://www.gnn.com.br/forum/showthread.php?t=1000087640
    http://www.gnn.com.br/forum/showthread.php?t=1000087639
    http://www.gnn.com.br/forum/showthread.php?t=1000087638
    http://www.gnn.com.br/forum/showthread.php?t=1000087637
    http://www.gnn.com.br/forum/showthread.php?t=1000087636
    http://www.gnn.com.br/forum/showthread.php?t=1000087635
    http://www.gnn.com.br/forum/showthread.php?t=1000087633
    http://www.gnn.com.br/forum/showthread.php?t=1000087554
    http://www.gnn.com.br/forum/showthread.php?t=1000087553
    http://www.gnn.com.br/forum/showthread.php?t=1000087551
    http://www.gnn.com.br/forum/showthread.php?t=1000087550
    http://www.gnn.com.br/forum/showthread.php?t=1000087548
    http://www.gnn.com.br/forum/showthread.php?t=1000087547
    http://www.gnn.com.br/forum/showthread.php?t=1000087546
    http://www.gnn.com.br/forum/showthread.php?t=1000087545
    http://www.gnn.com.br/forum/showthread.php?t=1000087632
    http://www.gnn.com.br/forum/showthread.php?t=1000087631
    http://www.gnn.com.br/forum/showthread.php?t=1000087630
    http://www.gnn.com.br/forum/showthread.php?t=1000087629
    http://www.gnn.com.br/forum/showthread.php?t=1000087628
    http://www.gnn.com.br/forum/showthread.php?t=1000087627
    http://www.gnn.com.br/forum/showthread.php?t=1000087625
    http://www.gnn.com.br/forum/showthread.php?t=1000087624
    http://www.gnn.com.br/forum/showthread.php?t=1000087623
    http://www.gnn.com.br/forum/showthread.php?t=1000087622
    http://www.gnn.com.br/forum/showthread.php?t=1000087621
    http://www.gnn.com.br/forum/showthread.php?t=1000087620
    http://www.gnn.com.br/forum/showthread.php?t=1000087618
    http://www.gnn.com.br/forum/showthread.php?t=1000087617
    http://www.gnn.com.br/forum/showthread.php?t=1000087616
    http://www.gnn.com.br/forum/showthread.php?t=1000087615
    http://www.gnn.com.br/forum/showthread.php?t=1000087614
    http://www.gnn.com.br/forum/showthread.php?t=1000087613
    http://www.gnn.com.br/forum/showthread.php?t=1000087611
    http://www.gnn.com.br/forum/showthread.php?t=1000087610
    http://www.gnn.com.br/forum/showthread.php?t=1000087609
    http://www.gnn.com.br/forum/showthread.php?t=1000087608
    http://www.gnn.com.br/forum/showthread.php?t=1000087607
    http://www.gnn.com.br/forum/showthread.php?t=1000087605
    http://www.gnn.com.br/forum/showthread.php?t=1000087604
    http://www.gnn.com.br/forum/showthread.php?t=1000087603
    http://www.gnn.com.br/forum/showthread.php?t=1000087602
    http://www.gnn.com.br/forum/showthread.php?t=1000087601
    http://www.gnn.com.br/forum/showthread.php?t=1000087600
    http://www.gnn.com.br/forum/showthread.php?t=1000087599
    http://www.gnn.com.br/forum/showthread.php?t=1000087598
    http://www.gnn.com.br/forum/showthread.php?t=1000087597
    http://www.gnn.com.br/forum/showthread.php?t=1000087596
    http://www.gnn.com.br/forum/showthread.php?t=1000087595
    http://www.gnn.com.br/forum/showthread.php?t=1000087592
    http://www.gnn.com.br/forum/showthread.php?t=1000087591
    http://www.gnn.com.br/forum/showthread.php?t=1000087590
    http://www.gnn.com.br/forum/showthread.php?t=1000087588
    http://www.gnn.com.br/forum/showthread.php?t=1000087587
    http://www.gnn.com.br/forum/showthread.php?t=1000087586
    http://www.gnn.com.br/forum/showthread.php?t=1000087585
    http://www.gnn.com.br/forum/showthread.php?t=1000087584
    http://www.gnn.com.br/forum/showthread.php?t=1000087583
    http://www.gnn.com.br/forum/showthread.php?t=1000087582
    http://www.gnn.com.br/forum/showthread.php?t=1000087581
    http://www.gnn.com.br/forum/showthread.php?t=1000087579
    http://www.gnn.com.br/forum/showthread.php?t=1000087578
    http://www.gnn.com.br/forum/showthread.php?t=1000087577
    http://www.gnn.com.br/forum/showthread.php?t=1000087575
    http://www.gnn.com.br/forum/showthread.php?t=1000087574
    http://www.gnn.com.br/forum/showthread.php?t=1000087573
    http://www.gnn.com.br/forum/showthread.php?t=1000087572
    http://www.gnn.com.br/forum/showthread.php?t=1000087571
    http://www.gnn.com.br/forum/showthread.php?t=1000087570
    http://www.gnn.com.br/forum/showthread.php?t=1000087569
    http://www.gnn.com.br/forum/showthread.php?t=1000087568
    http://www.gnn.com.br/forum/showthread.php?t=1000087567
    http://www.gnn.com.br/forum/showthread.php?t=1000087565
    http://www.gnn.com.br/forum/showthread.php?t=1000087564
    http://www.gnn.com.br/forum/showthread.php?t=1000087561
    http://www.gnn.com.br/forum/showthread.php?t=1000087559
    http://www.gnn.com.br/forum/showthread.php?t=1000087558
    http://www.gnn.com.br/forum/showthread.php?t=1000087557
    http://www.gnn.com.br/forum/showthread.php?t=1000087556
    http://www.gnn.com.br/forum/showthread.php?t=1000087555

    > DataDomain instantiates with null EventManager
    > ----------------------------------------------
    >
    > Key: CAY-871
    > URL: https://issues.apache.org/cayenne/browse/CAY-871
    > Project: Cayenne
    > Issue Type: Bug
    > Components: Cayenne Core Library
    > Affects Versions: 2.0 [STABLE]
    > Environment: MacOSX 10.4, Java5, Cayenne 2.0.2
    > Reporter: Emilian Bold
    > Assignee: Andrus Adamchik
    >
    > DataDomain instantiates with an empty event manager which later leads to a NPE in DataRowStore.sendUpdateNotification.
    > This makes the bug look as if it's a serialization issue (see https://issues.apache.org/cayenne/browse/CAY-796) but actually all DataDomain expects is something like:
    > dataDomain.setEventManager(EventManager.getDefaultManager());
    > This seems quite confusing for an API client as, unless you actually listen for events, you don't care about the EventManager and expect it to be set beforehand.
    > Initializing DataDomain with the default manager which may be replaced at will via setEventManager seems like a better approach.

    -- 
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
    



    This archive was generated by hypermail 2.0.0 : Wed Sep 17 2008 - 23:10:17 EDT