[
https://issues.apache.org/jira/browse/SHINDIG-773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chico Charlesworth updated SHINDIG-773:
---------------------------------------
Attachment: fix-773-724641-bug.patch
Patch fixes three separate issues with persisting ActivityDb:
- Fixed NullPointerException by defaulting templateParamsDb variable to a new
ConcurrentHashMap in ActivityDb.
- Fixed TransientObjectException (object references an unsaved transient
instance - save the transient instance before flushing:
org.apache.shindig.social.opensocial.jpa.MediaItemDb) by adding cascade = all
in @ManyToMany for mediaItems variable in ActivityDb
- Fixed IllegalArgumentException (can not set long field
org.apache.shindig.social.opensocial.jpa.ActivityDb.objectId to
java.util.ArrayList) by fixing the @ManyToOne relationship in
ActivityTemplateParamsDb.
> Persist ActivityDb Fails with NullPointerException
> --------------------------------------------------
>
> Key: SHINDIG-773
> URL: https://issues.apache.org/jira/browse/SHINDIG-773
> Project: Shindig
> Issue Type: Bug
> Components: Sample container & Examples
> Reporter: Chico Charlesworth
> Attachments: fix-773-724641-bug.patch
>
>
> Persisting a new instance of ActivityDb fails with the following
> NullPointerException:
> java.lang.NullPointerException
> at
> org.apache.shindig.social.opensocial.jpa.ActivityDb.populateDbFields(ActivityDb.java:562)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.