Skip to Content.
Sympa Menu

grouper-users - Grouper GROUPER_1_4_BRANCH: NullPointerException when updater tries to add another updater

Subject: Grouper Users - Open Discussion List

List archive

Grouper GROUPER_1_4_BRANCH: NullPointerException when updater tries to add another updater


Chronological Thread 
  • From: "Dr. Loris Bennett" <>
  • To: Grouper Users Mailing List <>
  • Subject: Grouper GROUPER_1_4_BRANCH: NullPointerException when updater tries to add another updater
  • Date: Tue, 03 Mar 2009 08:27:05 +0000
  • Organization: Freie Universität Berlin

Hi,

If a user with the update privilege tries to add a new user and give
that new user the update privilege and error occurs which is defined in
nav.properties:

error.assign-members.assign-privs=Error assigning privileges.

Shouldn't in this case

error.InsufficientPrivilegeException=You do not have sufficient
privileges.

occur?

I assume that this does not happen because of the following exception:

ERROR DoAssignNewMembersAction.grouperExecute(254) - Could not
assign all privileges java.lang.NullPointerException
at

edu.internet2.middleware.grouper.GrouperHelper.assignPrivileges(GrouperHelper.java:932)
at

edu.internet2.middleware.grouper.ui.actions.DoAssignNewMembersAction.grouperExecute(DoAssignNewMembersAction.java:249)

which presumably leads to the rather generic error message.

I notice too that there is also an error:

groups.remove.no-privs.error=Insufficient privileges to remove
members

Wouldn't it make sense to have an error like

groups.add.no-privs.error=Insufficient privileges to add members
with chosen privileges

for the case described above?

regards

Loris

--
Dr. Loris Bennett (Mr.)
Freie Universität Berlin
ZEDAT - Zentraleinrichtung für Datenverarbeitung / Computer Center
Compute & Media Service
Fabeckstr. 32, Room 221
D-14195 Berlin
Tel ++49 30 838 51024
Fax ++49 30 838 56721
Email

Web www.zedat.fu-berlin.de




Archive powered by MHonArc 2.6.16.

Top of Page