You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Ranganath Chittari (JIRA)" <ji...@apache.org> on 2013/12/26 11:27:50 UTC

[jira] [Created] (ISIS-643) FrameworkSynchronizer throws NPE on delete of child entity in 1-N relationship

Ranganath Chittari created ISIS-643:
---------------------------------------

             Summary: FrameworkSynchronizer throws NPE on delete of child entity in 1-N relationship
                 Key: ISIS-643
                 URL: https://issues.apache.org/jira/browse/ISIS-643
             Project: Isis
          Issue Type: Bug
          Components: Objectstore: JDO
    Affects Versions: objectstore-jdo-1.3.0
            Reporter: Ranganath Chittari
            Assignee: Dan Haywood
            Priority: Blocker


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







--
This message was sent by Atlassian JIRA
(v6.1.5#6160)