Skip to Content.
Sympa Menu

grouper-dev - RE: [grouper-dev] grouper 2.1.0

Subject: Grouper Developers Forum

List archive

RE: [grouper-dev] grouper 2.1.0


Chronological Thread 
  • From: Chris Hyzer <>
  • To: Lynn Garrison <>, Tom Zeller <>
  • Cc: Grouper Dev <>
  • Subject: RE: [grouper-dev] grouper 2.1.0
  • Date: Tue, 14 Feb 2012 18:26:21 +0000
  • Accept-language: en-US

The stack says there is a null pointer on LdapSourceAdapter 387… I have been having a hard time with jar files and svn, it says it commits them, but in reality it doesn’t, and puts my local repository in an inconsistent state.  Lynn, can you take the attached jar, and replace the one you have and send the new stack?

 

Thanks,

Chris

 

From: [mailto:] On Behalf Of Lynn Garrison
Sent: Tuesday, February 14, 2012 1:14 PM
To: Tom Zeller
Cc: Grouper Dev
Subject: Re: [grouper-dev] grouper 2.1.0

 

Tom,
        I made a few modifications to the file I changes the filter parameters to remove the object class


On Feb 14, 2012, at 12:47 PM, Tom Zeller wrote:

> Could you reply with sources.xml attached, please ?
>
> TomZ
>
> On Tue, Feb 14, 2012 at 11:31 AM, Lynn Garrison <> wrote:
>> I installed the pre release of grouper 2.1.0 using the new ldap source
>> adapter.  I can find subject gsh but I am having problems searching for
>> subjects in the UI.
>>
>> I get the following error.
>>
>>
>> Error:
>>
>> Unable to connect to an entity database.
>> If you continue to encounter errors, please contact technical support.
>>
>>
>>
>> Information for the grouper_error.log
>>
>> Caused by: edu.internet2.middleware.subject.SourceUnavailableException:
>> null, source: ldap, sql: null
>> at
>> edu.internet2.middleware.subject.provider.LdapSourceAdapter.searchHelper(LdapSourceAdapter.java:399)
>> at
>> edu.internet2.middleware.subject.provider.LdapSourceAdapter.searchPage(LdapSourceAdapter.java:344)
>> at
>> edu.internet2.middleware.grouper.subj.SourcesXmlResolver$6.callLogic(SourcesXmlResolver.java:834)
>> ... 51 more
>> Caused by: java.lang.NullPointerException
>> at
>> edu.internet2.middleware.subject.provider.LdapSourceAdapter.searchHelper(LdapSourceAdapter.java:387)
>> ... 53 more
>>
>> 2012-02-14 12:21:15,929: [TP-Processor8] ERROR
>> NavExceptionHelper.getMessage(92) - < llg5
>> EB50391179C2FAA62334B0449A1771CA-0005 c9f7fb7a224e479a822d681d520f729d llg5
>> ldap > - Missing nav key: Unable to connect to an entity database.
>> 2012-02-14 12:23:16,048: [TP-Processor9] ERROR
>> LdapSourceAdapter.createSubject(425) - < llg5
>> EB50391179C2FAA62334B0449A1771CA-0007 c9f7fb7a224e479a822d681d520f729d llg5
>> ldap > - No value for LDAP attribute "uid". It is Grouper attribute
>> "SubjectID".
>> 2012-02-14 12:23:16,050: [TP-Processor9] ERROR
>> GrouperCapableAction.execute(298) - < llg5
>> EB50391179C2FAA62334B0449A1771CA-0007 c9f7fb7a224e479a822d681d520f729d llg5
>> ldap > - edu.internet2.middleware.subject.SourceUnavailableException:
>> Exception with source: ldap, on query: 'llg5'
>> at
>> edu.internet2.middleware.grouper.subj.SourcesXmlResolver.findPage(SourcesXmlResolver.java:642)
>> at
>> edu.internet2.middleware.grouper.subj.CachingResolver.findPage(CachingResolver.java:483)
>> at
>> edu.internet2.middleware.grouper.subj.ValidatingResolver.findPage(ValidatingResolver.java:232)
>> at
>> edu.internet2.middleware.grouper.SubjectFinder.findPage(SubjectFinder.java:1298)
>> at
>> edu.internet2.middleware.grouper.ui.actions.DoSearchSubjectsAction.grouperExecute(DoSearchSubjectsAction.java:185)
>> at
>> edu.internet2.middleware.grouper.ui.actions.GrouperCapableAction$1.callback(GrouperCapableAction.java:217)
>> at
>> edu.internet2.middleware.grouper.internal.dao.hib3.Hib3TransactionDAO$1.callback(Hib3TransactionDAO.java:51)
>> at
>> edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:500)
>> at
>> edu.internet2.middleware.grouper.internal.dao.hib3.Hib3TransactionDAO.transactionCallback(Hib3TransactionDAO.java:41)
>> at
>> edu.internet2.middleware.grouper.hibernate.GrouperTransaction.callbackGrouperTransaction(GrouperTransaction.java:72)
>> at
>> edu.internet2.middleware.grouper.hibernate.GrouperTransaction.callbackGrouperTransaction(GrouperTransaction.java:91)
>> at
>> edu.internet2.middleware.grouper.ui.actions.GrouperCapableAction.grouperTransactionExecute(GrouperCapableAction.java:214)
>> at
>> edu.internet2.middleware.grouper.ui.actions.GrouperCapableAction.execute(GrouperCapableAction.java:279)
>> at
>> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:424)
>> at
>> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
>> at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
>> at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>> at
>> edu.internet2.middleware.grouper.ui.LoginCheckFilter$1.callback(LoginCheckFilter.java:173)
>> at
>> edu.internet2.middleware.grouper.GrouperSession.callbackGrouperSession(GrouperSession.java:645)
>> at
>> edu.internet2.middleware.grouper.ui.LoginCheckFilter.doFilter(LoginCheckFilter.java:168)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>> at
>> edu.internet2.middleware.grouper.ui.ErrorFilter.doFilter(ErrorFilter.java:132)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>> at
>> edu.internet2.middleware.grouper.ui.GrouperUiFilter.doFilter(GrouperUiFilter.java:804)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>> at
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
>> at
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>> at
>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)
>> at
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>> at
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>> at
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>> at
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
>> at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
>> at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
>> at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)
>> at
>> org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)
>> at
>> org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)
>> at
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
>> at java.lang.Thread.run(Thread.java:662)
>> Caused by: edu.internet2.middleware.subject.SourceUnavailableException:
>> null, source: ldap, sql: null
>> at
>> edu.internet2.middleware.subject.provider.LdapSourceAdapter.searchHelper(LdapSourceAdapter.java:399)
>> at
>> edu.internet2.middleware.subject.provider.LdapSourceAdapter.searchPage(LdapSourceAdapter.java:344)
>> at
>> edu.internet2.middleware.grouper.subj.SourcesXmlResolver.findPage(SourcesXmlResolver.java:608)
>> ... 45 more
>> Caused by: java.lang.NullPointerException
>> at
>> edu.internet2.middleware.subject.provider.LdapSourceAdapter.searchHelper(LdapSourceAdapter.java:387)
>> ... 47 more
>>
>> 2012-02-14 12:23:16,050: [TP-Processor9] ERROR
>> NavExceptionHelper.getMessage(92) - < llg5
>> EB50391179C2FAA62334B0449A1771CA-0007 c9f7fb7a224e479a822d681d520f729d llg5
>> ldap > - Missing nav key: Unable to connect to an entity database.
>>
>>
>> Any suggestions?
>>
>> Thanks
>> Lynn
>>
>>

Lynn

Attachment: subject.jar
Description: subject.jar




Archive powered by MHonArc 2.6.16.

Top of Page