Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] xml-import errors

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] xml-import errors

Chronological Thread 
  • From: graham <>
  • To: "GW Brown, Information Systems and Computing" <>
  • Cc: , "Pytel,G" <>
  • Subject: Re: [grouper-users] xml-import errors
  • Date: Tue, 20 May 2008 17:09:05 +0100

GW Brown, Information Systems and Computing wrote:
Hi Graham,

I think the password problem occurs because of the way loadAttributes works in JNDISourceAdapter:

OK, I'll try that. The tarballs available (I'm using 1.3.0rc2) only have a class file for JNDISourceAdapter, and I haven't found the source in the web cvs (

- can you point me to it?


The null error is due to the fact that 'getAttributeValues()' returns null rather than an empty Set. I've attached a new version of which checks for null before trying to iterate values. If you replace the one in grouper-ui\java\src\edu\internet2\middleware\grouper\ui\util and rebuild that may fix the problem - please let me know if it does and I'll check the change in to CVS.

Yes, that works fine. Thanks!




--On 20 May 2008 12:08 +0100 graham

Hi Gary

GW Brown, Information Systems and Computing wrote:
Subject.getAttributes().keySet() is throwing the Exception. You could
work around this for now by specifying the names of the attributes to
display - omitting the password field:

subject.attributes.order.<SOURCE_ID>=comma separated (and case
sensitive) list of attribute names.

That doesn't entirely fix the problem. If the password attribute exists,
then I still get an exception, though there is now less information in
the grouper_ui.log file:

2008-05-20 11:46:45,062 ERROR ui.TileRecorderTag: < GrouperSystem
fca67a50-efc5-4f8d-b726-ff9f9ac8e9c4 GrouperSystem g:isa >
javax.servlet.jsp.JspException: ServletException in
'/WEB-INF/jsp/subjectInfo.jsp': [B

Also, if any fields are optional and not always filled in in the LDAP
subject, then listing the field name in subject.attributes.order gives a
similar error message for any subject missing that data:

2008-05-20 10:19:47,995 ERROR ui.TileRecorderTag: < GrouperSystem
7302c712-85fe-4fdc-af19-123b4f9ecfa6 GrouperSystem g:isa >
javax.servlet.jsp.JspException: ServletException in
'/WEB-INF/jsp/subjectInfo.jsp': null

(ie. 'null' instead of '[B' )

Any suggestions?


GW Brown, Information Systems and Computing

Sponsor me from London to Brighton on

Archive powered by MHonArc 2.6.16.

Top of Page