Uploaded image for project: 'Isis'
  1. Isis
  2. ISIS-643

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: objectstore-jdo-1.3.0
    • Fix Version/s: core-1.7.0
    • Component/s: Core: Objectstore: JDO
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: