Hi! There,

One of our applications got a issue in the last few days. It called an
IDM web service, threw the following exception:

com.novell.soa.af.role.soap.impl.NrfServiceExcepti on={_Reason=Unsupported
role level 30 specified.}
at sun.reflect.NativeConstructorAccessorImpl.newInsta nce0(Native
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInsta nce(NativeConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newI nstance(DelegatingConstructorAccessorImpl.java:27)
at
java.lang.reflect.Constructor.newInstance(Construc tor.java:513)
at java.lang.Class.newInstance0(Class.java:357)
at java.lang.Class.newInstance(Class.java:310)
at
com.novell.soa.af.role.soap.impl.NrfServiceExcepti onMarshaler.deserialize(NrfServiceExceptionMarshal er.java:47)
at
com.novell.soa.ws.impl.soap.LiteralEncodingStyle.r eadObject(LiteralEncodingStyle.java:260)
at
com.novell.soa.ws.impl.soap.LiteralEncodingStyle.r eadObject(LiteralEncodingStyle.java:239)
at
com.novell.soa.ws.impl.soap.LiteralEncodingStyle.r eadObject(LiteralEncodingStyle.java:217)
at
com.novell.soa.ws.impl.xml.InputStreamImpl.readObj ect(InputStreamImpl.java:82)
at
com.novell.soa.af.role.soap.impl.IRemoteRoleBindin g_Stub.getRole(IRemoteRoleBinding_Stub.java:627)
at
gov.nc.ncid.uapws.RoleUserOperations.readUserRoleA ssignments(RoleUserOperations.java:607)
Here is the part of the source code:
RoleAssignmentArray roleAssignments =
theUser.getExplicitAssignments();
RoleAssignment[] roles = roleAssignments.getRoleassignment();
logger.log(Level.INFO, "The number of roles is: "+roles.length);

if(roles != null && roles.length > 0) {
// This can result in multiple roles
roleNames = new ArrayList<Role>();

for (RoleAssignment assignment: roles){

// logger.log(Level.DEBUG, "Role Name: "+ r.getName() + " Key:
" + r.getEntityKey());
final Role role = roleStub.getRole(assignment.getRole());
logger.log(Level.DEBUG, "Role Name: "+ role.getName() + " Key:
" + role.getEntityKey());

if(role.getRoleLevel().getLevel() == roleLevel){
logger.log(Level.DEBUG, "Adding User role and Role Name: "+
role.getName() );
roleNames.add(role);
}
}//for
}//if

The application has been running for a few years. And it just got the
problem since this Thursday. Can anyone tell me what the error message
mean?

Joshua


--
joshuaniu
------------------------------------------------------------------------
joshuaniu's Profile: https://forums.netiq.com/member.php?userid=2960
View this thread: https://forums.netiq.com/showthread.php?t=51097