Skip to Content.
Sympa Menu

grouper-dev - [grouper-dev] GrouperLoader SubjectNotFoundException

Subject: Grouper Developers Forum

List archive

[grouper-dev] GrouperLoader SubjectNotFoundException


Chronological Thread 
  • From: jessica ghenassia <>
  • To:
  • Subject: [grouper-dev] GrouperLoader SubjectNotFoundException
  • Date: Mon, 25 Apr 2016 15:50:58 +0200

Good afternoon,

I work under the 2.2.2 version of Grouper.
I would like to create and populate multiple groups from a db via GrouperLoader.
When I run the loader, groups are effectively created but they are not populated because I have errors for some subjects.

Ex of error :

2016-04-25 12:41:10,679: [main] ERROR GrouperLoaderResultset$Row.getSubject(1399) -  - Problem with subjectIdentifier: 44643, subjectSourceId: ldap, in jobName: SQL_GROUP_LIST__Requetes-Import-SQL:Scout:Import-Etu-Doct__922271c33dea40beac1ecea2a6033181
edu.internet2.middleware.subject.SubjectNotFoundException: No results: searchSubjectByIdentifier filter:(&(supannEtuId=%TERM%)(objectclass=person)) searchValue: 44643
    at edu.internet2.middleware.subject.provider.LdapSourceAdapter.getLdapUnique(LdapSourceAdapter.java:769)
    at edu.internet2.middleware.subject.provider.LdapSourceAdapter.getSubjectByIdentifier(LdapSourceAdapter.java:420)
    at edu.internet2.middleware.grouper.subj.SourcesXmlResolver.findByIdentifier(SourcesXmlResolver.java:415)
    at edu.internet2.middleware.grouper.subj.CachingResolver.findByIdentifier(CachingResolver.java:209)
    at edu.internet2.middleware.grouper.subj.ValidatingResolver.findByIdentifier(ValidatingResolver.java:174)
    at edu.internet2.middleware.grouper.SubjectFinder.findByIdentifierAndSource(SubjectFinder.java:1179)
    at edu.internet2.middleware.grouper.app.loader.db.GrouperLoaderResultset$Row.getSubject(GrouperLoaderResultset.java:1363)
    at edu.internet2.middleware.grouper.app.loader.db.GrouperLoaderResultset.convertToSubjectIdIfNeeded(GrouperLoaderResultset.java:1226)
    at edu.internet2.middleware.grouper.app.loader.db.GrouperLoaderResultset.<init>(GrouperLoaderResultset.java:451)
    at edu.internet2.middleware.grouper.app.loader.GrouperLoaderType$3.runJob(GrouperLoaderType.java:431)
    at edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob.runJob(GrouperLoaderJob.java:413)
    at edu.internet2.middleware.grouper.app.loader.GrouperLoader.runJobOnceForGroup(GrouperLoader.java:1004)
    at edu.internet2.middleware.grouper.app.gsh.loaderRunOneJob.invoke(loaderRunOneJob.java:57)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:616)
    at bsh.Reflect.invokeMethod(Unknown Source)
    at bsh.Reflect.invokeStaticMethod(Unknown Source)
    at bsh.Reflect.invokeCompiledCommand(Unknown Source)
    at bsh.Name.invokeLocalMethod(Unknown Source)
    at bsh.Name.invokeMethod(Unknown Source)
    at bsh.BSHMethodInvocation.eval(Unknown Source)
    at bsh.BSHPrimaryExpression.eval(Unknown Source)
    at bsh.BSHPrimaryExpression.eval(Unknown Source)
    at bsh.Interpreter.eval(Unknown Source)
    at bsh.Interpreter.eval(Unknown Source)
    at bsh.Interpreter.eval(Unknown Source)
    at edu.internet2.middleware.grouper.app.gsh.ShellHelper.eval(ShellHelper.java:63)
    at edu.internet2.middleware.grouper.app.gsh.GrouperShell.run(GrouperShell.java:439)
    at edu.internet2.middleware.grouper.app.gsh.GrouperShell.grouperShellHelper(GrouperShell.java:232)
    at edu.internet2.middleware.grouper.app.gsh.GrouperShell.main(GrouperShell.java:162)
    at edu.internet2.middleware.grouper.app.gsh.GrouperShellWrapper.main(GrouperShellWrapper.java:31)



I would like groups are populated even if some subjects are not find.

Does this problem is solved in version 2.3 ?

Thanks,


--
Jessica Ghenassia,
Developer,
INP Toulouse.








Archive powered by MHonArc 2.6.16.

Top of Page