When trying to log in using LDAP on DS 1.5 I get "null pointer error" 
and the following log warning.
The settings in dspace.cfg should be fine (worked in 1.4.2). Any idea 
whats wrong?

-Mika


2008-04-24 14:54:10,588 WARN 
org.dspace.app.webui.servlet.InternalErrorServlet @ 
:session_id=5065DCC6ED37097ADC51267CF5E47311:internal_error:-- URL Was: 
http://otto.terkko.helsinki.fi:8080/tdsjspui/ldap-login
-- Method: POST
-- Parameters were:
-- login_submit: "Log In"
-- login_password: *not logged*
-- login_netid: "mjstenbe"

java.lang.NullPointerException
         at 
javax.naming.InitialContext.getURLScheme(InitialContext.java:228)
         at 
javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:277)
         at 
javax.naming.directory.InitialDirContext.getURLOrDefaultInitDirCtx(InitialDirContext.java:87)
         at 
javax.naming.directory.InitialDirContext.search(InitialDirContext.java:226)
         at 
org.dspace.app.webui.servlet.LDAPServlet.ldapAuthenticate(LDAPServlet.java:293)
         at 
org.dspace.app.webui.servlet.LDAPServlet.doDSPost(LDAPServlet.java:191)
         at 
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:147)
         at 
org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:105)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
         at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
         at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
         at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         at 
org.apache.catalina.valves.RequestFilterValve.process(RequestFilterValve.java:269)
         at 
org.apache.catalina.valves.RemoteAddrValve.invoke(RemoteAddrValve.java:81)
         at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
         at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
         at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
         at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
         at java.lang.Thread.run(Thread.java:595)



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to