Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-643

FrameworkSynchronizer throws NPE on delete of child entity in 1-N relationship

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • objectstore-jdo-1.3.0
    • core-1.7.0
    • Persistence JDO
    • None

    Description

      Hello,

      Scenario is:
      There is 1-N relationship between MOrganisation and OmOrgExtendedAttr entities. MOrganisation is parent entity and OmOrgExtendedAttr is child entity.

      OmOrgExtendedAttr cannot exist without MOrganisation.
      MOrganisation can exist without OmOrgExtendedAttr

      So on delete of MOrganisation, OmOrgExtendedAttr is also deleted. There is no problem in this case.

      But problem is on delete of OmOrgExtendedAttr . The error that is coming is NullPointerException in FrameworkSynchronizer of isis-objectstore-jdo-datanucleous component for adpater for the POJO.

      Please find attached log and also the java files

      Could you please help on this issue ASAP.

      Thanks
      Ranganath

      Attachments

        1. ISIS-JDO-Delete.log
          10 kB
          Ranganath Chittari
        2. MOrganisation.java
          7 kB
          Ranganath Chittari
        3. OmOrgExtendedAttr.java
          5 kB
          Ranganath Chittari

        Activity

          People

            Unassigned Unassigned
            ranganath.chittari Ranganath Chittari
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: