You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 23, 2020. It is now read-only.
I'm sending a XAPI statement with a team specified in the context.
According to the spec, a Group does not need to contain its memberlist (ico identified groups at least) :
https://github.com/adlnet/xAPI-Spec/blob/master/xAPI-Data.md#2422-when-the-actor-objecttype-is-group
So I'm sending something as for example :
This is parsed by jxapi in a Group instance with uninitialized member collection (i.e. null).
When for whatever reason you want to serialize the received statement again, Group.serialize() throws an NPE.
The related code is:
There's no null check on this.member, contrary to eg the code in gov.adlnet.xapi.model.Context.serialize().