dynamobi/dynamobi — Issue #359: [FRG-410] Poor error message when attempt to grant to nonexistent user
Author: dynamobi-build
Created: 2011-12-30 03:10:13+00:00
State: open
Labels: FRG

[reporter="jhyde", created="Mon, 7 Jun 2010 02:05:51 -0500 (GMT-05:00)"]
If attempt to grant to nonexistent user, get a poor error message. Example:

> grant execute on specific procedure

> applib.estimate_statistics_for_schema_no_samplingrate to nonexistent;

Error: java.lang.AssertionError: Internal error: Repository integrity check failed on object update: [javax.jmi.reflect.WrongSizeException: Not enough objects linked to j:000000000000C3D7 at end 'GranteePrivilege'., AssociationEnd = Grantee, Grant = net.sf.farrago.fem.security.FemGrant$Hib@c3d7] (state=,code=0)