Error while executing Email activity While getting emails in a task com.lawson.lawsec.authen.LSFSecurityAuthenException:Failed to initialize LDAP. Detailed Message is java.lang.NullPointerException Stack Trace : java.lang.NullPointerException at com.lawson.lawsec.util.LoggingEngine.updateDefaultLoggerFromConfig(LoggingEngine.java:302) at com.lawson.lawsec.util.LSLogger.updateDefaultLoggerFromConfig(LSLogger.java:148) at com.lawson.lawsec.api.LawsonSecurity.getConfig(LawsonSecurity.java:662) at com.lawson.lawsec.authen.LawsonSecurityXRefImpl.initialize(LawsonSecurityXRefImpl.java:84) at com.lawson.lawsec.authen.LawsonAuthentication.initialize(LawsonAuthentication.java:89) at com.lawson.bpm.db.model.impl.ldap.UserImpl.initilize(Unknown Source) at com.lawson.bpm.db.model.impl.ldap.UserImpl.getRecord(Unknown Source) at com.lawson.bpm.db.model.abstracts.DatabaseModelImpl.getUserRecord(Unknown Source) at com.lawson.bpm.database.utils.DbUtils.getEmail(Unknown Source) at com.lawson.bpm.processflow.workFlow.flowGraph.FgaEmail.getEmailsInTask(Unknown Source) at com.lawson.bpm.processflow.workFlow.flowGraph.FgaEmail.expandTask(Unknown Source) at com.lawson.bpm.processflow.workFlow.flowGraph.FgaEmail.startActivity(Unknown Source) at com.lawson.bpm.processflow.workFlow.flowGraph.FgActivity.execute(Unknown Source) at com.lawson.bpm.processflow.workFlow.flowGraph.FgProcess.run(Unknown Source) at com.lawson.bpm.pfengine.ProcessFlowEngine.execute(Unknown Source) at com.lawson.bpm.pfengine.ProcessFlowEngine.startProcessAt(Unknown Source) at com.lawson.bpm.eprocessserver.KBConnection.startProcess(Unknown Source) at com.lawson.bpm.eprocessserver.KBConnection.startProcess(Unknown Source) at com.lawson.bpm.eprocessserver.KBConnection.execute(Unknown Source) at com.lawson.bpm.eprocessserver.KBConnection.run(Unknown Source) at com.lawson.bpm.eprocessserver.util.ThreadPool$PooledThread.run(Unknown Source) ; Nested exception: com.lawson.lawsec.authen.LSFSecurityAuthenException:Failed to initialize LDAP. Detailed Message is java.lang.NullPointerException Stack Trace : java.lang.NullPointerException at com.lawson.lawsec.util.LoggingEngine.updateDefaultLoggerFromConfig(LoggingEngine.java:302) at com.lawson.lawsec.util.LSLogger.updateDefaultLoggerFromConfig(LSLogger.java:148) at com.lawson.lawsec.api.LawsonSecurity.getConfig(LawsonSecurity.java:662) at com.lawson.lawsec.authen.LawsonSecurityXRefImpl.initialize(LawsonSecurityXRefImpl.java:84) at com.lawson.lawsec.authen.LawsonAuthentication.initialize(LawsonAuthentication.java:89) at com.lawson.bpm.db.model.impl.ldap.UserImpl.initilize(Unknown Source) at com.lawson.bpm.db.model.impl.ldap.UserImpl.getRecord(Unknown Source) at com.lawson.bpm.db.model.abstracts.DatabaseModelImpl.getUserRecord(Unknown Source) at com.lawson.bpm.database.utils.DbUtils.getEmail(Unknown Source) at com.lawson.bpm.processflow.workFlow.flowGraph.FgaEmail.getEmailsInTask(Unknown Source) at com.lawson.bpm.processflow.workFlow.flowGraph.FgaEmail.expandTask(Unknown Source) at com.lawson.bpm.processflow.workFlow.flowGraph.FgaEmail.startActivity(Unknown Source) at com.lawson.bpm.processflow.workFlow.flowGraph.FgActivity.execute(Unknown Source) at com.lawson.bpm.processflow.workFlow.flowGraph.FgProcess.run(Unknown Source) at com.lawson.bpm.pfengine.ProcessFlowEngine.execute(Unknown Source) at com.lawson.bpm.pfengine.ProcessFlowEngine.startProcessAt(Unknown Source) at com.lawson.bpm.eprocessserver.KBConnection.startProcess(Unknown Source) at com.lawson.bpm.eprocessserver.KBConnection.startProcess(Unknown Source) at com.lawson.bpm.eprocessserver.KBConnection.execute(Unknown Source) at com.lawson.bpm.eprocessserver.KBConnection.run(Unknown Source) at com.lawson.bpm.eprocessserver.util.ThreadPool$PooledThread.run(Unknown Source) ; at com.lawson.lawsec.authen.LawsonSecurityXRefImpl.initialize(LawsonSecurityXRefImpl.java:126) at com.lawson.lawsec.authen.LawsonAuthentication.initialize(LawsonAuthentication.java:89) at com.lawson.bpm.db.model.impl.ldap.UserImpl.initilize(Unknown Source) at com.lawson.bpm.db.model.impl.ldap.UserImpl.getRecord(Unknown Source) at com.lawson.bpm.db.model.abstracts.DatabaseModelImpl.getUserRecord(Unknown Source) at com.lawson.bpm.database.utils.DbUtils.getEmail(Unknown Source) at com.lawson.bpm.processflow.workFlow.flowGraph.FgaEmail.getEmailsInTask(Unknown Source) at com.lawson.bpm.processflow.workFlow.flowGraph.FgaEmail.expandTask(Unknown Source) at com.lawson.bpm.processflow.workFlow.flowGraph.FgaEmail.startActivity(Unknown Source) at com.lawson.bpm.processflow.workFlow.flowGraph.FgActivity.execute(Unknown Source) at com.lawson.bpm.processflow.workFlow.flowGraph.FgProcess.run(Unknown Source) at com.lawson.bpm.pfengine.ProcessFlowEngine.execute(Unknown Source) at com.lawson.bpm.pfengine.ProcessFlowEngine.startProcessAt(Unknown Source) at com.lawson.bpm.eprocessserver.KBConnection.startProcess(Unknown Source) at com.lawson.bpm.eprocessserver.KBConnection.startProcess(Unknown Source) at com.lawson.bpm.eprocessserver.KBConnection.execute(Unknown Source) at com.lawson.bpm.eprocessserver.KBConnection.run(Unknown Source) at com.lawson.bpm.eprocessserver.util.ThreadPool$PooledThread.run(Unknown Source)
ErrorLog in Process : timsftepa_V08 Workunit : 244171, ActivityType=EMAIL, ActivityName=Email2200, ActivityId=EMAIL2729 Date:05/03/2012 Time:10:08:24.250 Error while executing Email activity - 'To' email address not given.