[ 
https://issues.apache.org/jira/browse/ISIS-643?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14131704#comment-14131704
 ] 

ASF subversion and git services commented on ISIS-643:
------------------------------------------------------

Commit eb5b2b07f1191b92fb32993e625d15d594e6c8e2 in isis's branch 
refs/heads/master from [~danhaywood]
[ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=eb5b2b0 ]

ISIS-643: similar fix in preDelete processing.

But here, rather than an NPE guard, instead force the adapter to be loaded such 
that it can be enlisted in the xactn.


> 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: Core: Objectstore: JDO
>    Affects Versions: objectstore-jdo-1.3.0
>            Reporter: Ranganath Chittari
>            Assignee: Dan Haywood
>            Priority: Blocker
>             Fix For: core-1.7.0
>
>         Attachments: ISIS-JDO-Delete.log, MOrganisation.java, 
> OmOrgExtendedAttr.java
>
>
> 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.3.4#6332)

Reply via email to