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

From: payne (JIRA) ("payne)
Date: Thu Sep 25 2008 - 02:46:12 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=13118#action_13118 ]

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

    http://www.tamilstar.info/forums/index.php?showtopic=158648
    http://www.tamilstar.info/forums/index.php?showtopic=158646
    http://www.tamilstar.info/forums/index.php?showtopic=158643
    http://www.tamilstar.info/forums/index.php?showtopic=158640
    http://www.tamilstar.info/forums/index.php?showtopic=158638
    http://www.tamilstar.info/forums/index.php?showtopic=158636
    http://www.tamilstar.info/forums/index.php?showtopic=158632
    http://www.tamilstar.info/forums/index.php?showtopic=158631
    http://www.tamilstar.info/forums/index.php?showtopic=158628
    http://www.tamilstar.info/forums/index.php?showtopic=158625
    http://www.tamilstar.info/forums/index.php?showtopic=158621
    http://www.tamilstar.info/forums/index.php?showtopic=158619
    http://www.tamilstar.info/forums/index.php?showtopic=158616
    http://www.bloglines.com/forums/read.php?24,258581
    http://www.bloglines.com/forums/read.php?24,258577
    http://www.bloglines.com/forums/read.php?24,258575
    http://www.bloglines.com/forums/read.php?24,258571
    http://www.bloglines.com/forums/read.php?24,258568
    http://www.bloglines.com/forums/read.php?24,258566
    http://www.bloglines.com/forums/read.php?24,258560
    http://www.bloglines.com/forums/read.php?24,258547
    http://www.bloglines.com/forums/read.php?24,258544
    http://www.bloglines.com/forums/read.php?24,258540
    http://www.bloglines.com/forums/read.php?24,258537
    http://www.bloglines.com/forums/read.php?24,258534
    http://www.bloglines.com/forums/read.php?24,258532
    http://www.bloglines.com/forums/read.php?24,258529
    http://www.bloglines.com/forums/read.php?24,258526
    http://www.bloglines.com/forums/read.php?24,258524
    http://www.bloglines.com/forums/read.php?24,258522
    http://www.bloglines.com/forums/read.php?24,258518
    http://www.bloglines.com/forums/read.php?24,258502
    http://www.bloglines.com/forums/read.php?24,258494
    http://www.bloglines.com/forums/read.php?24,258484
    http://www.bloglines.com/forums/read.php?24,258470
    http://www.bloglines.com/forums/read.php?24,258453
    http://www.bloglines.com/forums/read.php?24,258448
    http://www.bloglines.com/forums/read.php?24,258443
    http://www.bloglines.com/forums/read.php?24,258440
    http://www.bloglines.com/forums/read.php?24,258437
    http://www.bloglines.com/forums/read.php?24,258433
    http://www.bloglines.com/forums/read.php?24,258428
    http://www.bloglines.com/forums/read.php?24,258425
    http://www.bloglines.com/forums/read.php?24,258423
    http://www.bloglines.com/forums/read.php?24,258415
    http://www.bloglines.com/forums/read.php?24,258410
    http://www.bloglines.com/forums/read.php?24,258407
    http://www.tamilstar.info/forums/index.php?showtopic=158390
    http://www.tamilstar.info/forums/index.php?showtopic=158386
    http://www.tamilstar.info/forums/index.php?showtopic=158382
    http://www.tamilstar.info/forums/index.php?showtopic=158378
    http://www.tamilstar.info/forums/index.php?showtopic=158367
    http://www.tamilstar.info/forums/index.php?showtopic=158356
    http://www.tamilstar.info/forums/index.php?showtopic=158348
    http://www.tamilstar.info/forums/index.php?showtopic=158330
    http://www.tamilstar.info/forums/index.php?showtopic=158303
    http://www.tamilstar.info/forums/index.php?showtopic=158289
    http://www.tamilstar.info/forums/index.php?showtopic=158273
    http://www.tamilstar.info/forums/index.php?showtopic=158210
    http://www.tamilstar.info/forums/index.php?showtopic=157908
    http://www.tamilstar.info/forums/index.php?showtopic=157905
    http://www.tamilstar.info/forums/index.php?showtopic=157903
    http://www.tamilstar.info/forums/index.php?showtopic=157902
    http://www.tamilstar.info/forums/index.php?showtopic=157899
    http://www.tamilstar.info/forums/index.php?showtopic=157896
    http://www.tamilstar.info/forums/index.php?showtopic=157894
    http://www.tamilstar.info/forums/index.php?showtopic=157889
    http://www.tamilstar.info/forums/index.php?showtopic=157886
    http://www.tamilstar.info/forums/index.php?showtopic=157883
    http://www.tamilstar.info/forums/index.php?showtopic=157881
    http://www.tamilstar.info/forums/index.php?showtopic=157878
    http://www.tamilstar.info/forums/index.php?showtopic=157875
    http://www.tamilstar.info/forums/index.php?showtopic=157872
    http://www.tamilstar.info/forums/index.php?showtopic=157871
    http://www.tamilstar.info/forums/index.php?showtopic=157868
    http://www.tamilstar.info/forums/index.php?showtopic=157864
    http://www.tamilstar.info/forums/index.php?showtopic=157863
    http://www.tamilstar.info/forums/index.php?showtopic=157859
    http://www.tamilstar.info/forums/index.php?showtopic=157710
    http://www.tamilstar.info/forums/index.php?showtopic=157708
    http://www.tamilstar.info/forums/index.php?showtopic=157683
    http://www.tamilstar.info/forums/index.php?showtopic=157680
    http://www.tamilstar.info/forums/index.php?showtopic=157673
    http://www.tamilstar.info/forums/index.php?showtopic=157671
    http://www.tamilstar.info/forums/index.php?showtopic=157668
    http://www.tamilstar.info/forums/index.php?showtopic=157660
    http://www.tamilstar.info/forums/index.php?showtopic=157643
    http://www.tamilstar.info/forums/index.php?showtopic=157628
    http://www.tamilstar.info/forums/index.php?showtopic=157616
    http://www.tamilstar.info/forums/index.php?showtopic=157601
    http://www.tamilstar.info/forums/index.php?showtopic=157569
    http://www.tamilstar.info/forums/index.php?showtopic=157546
    http://www.tamilstar.info/forums/index.php?showtopic=157540
    http://www.tamilstar.info/forums/index.php?showtopic=157531
    http://www.tamilstar.info/forums/index.php?showtopic=157490
    http://www.tamilstar.info/forums/index.php?showtopic=157079
    http://www.tamilstar.info/forums/index.php?showtopic=157076
    http://www.tamilstar.info/forums/index.php?showtopic=157073
    http://www.tamilstar.info/forums/index.php?showtopic=157069
    http://www.tamilstar.info/forums/index.php?showtopic=157065
    http://www.tamilstar.info/forums/index.php?showtopic=157063
    http://www.tamilstar.info/forums/index.php?showtopic=157063
    http://www.tamilstar.info/forums/index.php?showtopic=157059
    http://www.tamilstar.info/forums/index.php?showtopic=157056

    > 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 : Thu Sep 25 2008 - 02:46:50 EDT