Yes I am getting null value
On Thu, Jul 18, 2013 at 1:12 PM, Kostas Stamatis <[email protected]> wrote: > Hi Jayachandra**** > > ** ** > > Here are some options that we have set in dspace.cfg for our case that > seem to work fine:**** > > ** ** > > =============================================**** > > # SMTP mail server**** > > mail.server = smtp.gmail.com**** > > ** ** > > # SMTP mail server authentication username and password (if required)**** > > mail.server.username = *{your gmail username here including @gmail.com}* > > mail.server.password = *{your gmail password}***** > > ** ** > > # SMTP mail server alternate port (defaults to 25)**** > > #mail.server.port = 25**** > > ** ** > > mail.extraproperties = mail.smtp.socketFactory.port=465, \**** > > mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory, \ > **** > > mail.smtp.socketFactory.fallback=false**** > > =============================================**** > > ** ** > > However, it seems that your error doesn’t have to do with these options. > From the error and the corresponding code, it seems that there is a null > value. Have you set the “dspace.url” option in the dspace.cfg file?**** > > ** ** > > > Regards,**** > > ** ** > > Kostas**** > > ** ** > > ** ** > > ** ** > > ** ** > > *From:* jayachandra B [mailto:[email protected]] > *Sent:* Thursday, July 18, 2013 10:14 AM > *To:* dspace-tech > *Subject:* [Dspace-tech] Dspace email regitration error**** > > ** ** > > Hi,**** > > ** ** > > I am using dspace 1.8.2 version, I have installed dspace and using my > personal gmail id and password for email settings in dspace.cfg. **** > > ** ** > > I am using mail.server = smtp.gmail.com service for emails**** > > ** ** > > When i try to register as new user it is throw some internal system error. > When I see the log file in the dspace logs folder I have found the > following errors, can you please suggest me the solution**** > > ** ** > > > **** > > java.lang.NullPointerException > at org.dspace.eperson.AccountManager.sendEmail(AccountManager.java:252) > at org.dspace.eperson.AccountManager.sendInfo(AccountManager.java:222) > at > org.dspace.eperson.AccountManager.sendRegistrationInfo(AccountManager.java:67) > at > org.dspace.app.webui.servlet.RegisterServlet.processEnterEmail(RegisterServlet.java:260) > at > org.dspace.app.webui.servlet.RegisterServlet.doDSPost(RegisterServlet.java:172) > at > org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:115) > at > org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:73) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:641) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) > at > org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164) > at > org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100) > at > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:563) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:399) > at > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:317) > at > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:204) > at > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:182) > at org.apache.tomcat.util.net > .JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:311) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:724)**** > > [image: Image removed by sender.]**** > > -- **** > > Thanks and Regards > Jayachandra**** > -- Thanks and Regards Jayachandra
<<~WRD000.jpg>>
------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

