I am creating a new group in java.  Like so:

                JPAGroup group = new JPAGroup();
                group.setName(groupName);
                group.setRealm(realm);

                JPATypeExtension extension = new JPATypeExtension();
                extension.setGroup(group); 
                extension.add(anyTypeClassDao.find("application"));
                group.add(extension);

                return groupDao.save(group);

This all saves without an exception.  However, when I go to the group view
page in the console, there is a NPE being thrown.  I have no idea what the
issue is.  When looking in the database; the only difference that I can find
was that the typeextension did not have an anytype_id on the record.  I do
not believe this is the problem as when I manually entered it into the
database I still had the issue.

--
Sent from: http://syncope-user.1051894.n5.nabble.com/

Reply via email to