Skip to Content.
Sympa Menu

grouper-users - [grouper-users] Null Pointer Exception while calling permissions web service

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] Null Pointer Exception while calling permissions web service


Chronological Thread 
  • From: "Sachdeva, Vivek" <>
  • To: "" <>
  • Subject: [grouper-users] Null Pointer Exception while calling permissions web service
  • Date: Wed, 1 Jan 2014 22:34:05 +0000
  • Accept-language: en-US

Hi,

I am running WsSampleGetPermissionAssignmentRest class to get the permissions assigned to a set of users. It runs successfully and give me result back when I do not include the limits in the request. But when I include the limits by having getPermissionAssignments.setIncludeLimits("T") it throws NPE at line number 6175 in the GrouperServiceLogic class. attributeDefNameIds is null and that is why NPE is thrown.  

For my use cases, some actions will have limits and some will not have so the clients will always need to include the limits. So my question is what is the best way to fix this issue ?  

Thanks,
Vivek



Archive powered by MHonArc 2.6.16.

Top of Page