You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/09/10 18:33:33 UTC

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

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

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

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

ISIS-643: speculative fix to add a guard to an NPE if post delete processing.

... based, unfortunately, only on the supplied stacktrace and a bit of guesswork, since no reproducible case available.


> 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)