ProcessFlow Email Notification Error

Sort:
You are not authorized to post a reply.
Author
Messages
JonA
Veteran Member
Posts: 1162
Veteran Member
    We're using PF Pro for requisition approvals. Lately, we've been having an issue with the email notifications failing to be sent. Here's what it shows in pflow.out:

    [Jun 16, 2009 2:05:04 PM] Error while sending reminder mail for workunit 265382
    [Jun 16, 2009 2:35:04 PM] com.lawson.bpm.db.model.helper.LawsonDBException: Failed to initialize LDAP. Detailed Message is java.lang.NullPointerException Stack Trace : java.lang.NullPointerException ………..
    [Jun 16, 2009 2:35:04 PM] Error while sending escalation reminder emails
    Failed to initialize LDAP. Detailed Message is java.lang.NullPointerException
    Stack Trace : java.lang.NullPointerException at com.lawson.lawsec.util.LoggingEngine.up.

    And here's what the work unit activity logs shows:

    ErrorLog in Process : midapprove_V29 Workunit : 263883, ActivityType=UA, ActivityName=UserAction5600, ActivityId=UA6 Date:06/04/2009 Time:16:32:28
    Failed to initialize LDAP. Detailed Message is java.lang.NullPointerException
    Stack Trace : java.lang.NullPointerException
    at com.lawson.lawsec.util.LoggingEngine.updateDefaultLoggerFromConfig(Unknown Source)
    at com.lawson.lawsec.util.LSLogger.updateDefaultLoggerFromConfig(Unknown Source)
    at com.lawson.lawsec.api.LawsonSecurity.getConfig(Unknown Source)
    at com.lawson.lawsec.authen.LawsonSecurityXRefImpl.initialize(Unknown Source)
    at com.lawson.lawsec.authen.LawsonSecurityXRefImpl.newInstance(Unknown Source)
    at com.lawson.lawsec.authen.LawsonAuthentication.getXRefInstance(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.FgaUserAction.getEmailsInTask(Unknown Source)
    at com.lawson.bpm.processflow.workFlow.flowGraph.FgaUserAction.notifyTask(Unknown Source)
    at com.lawson.bpm.processflow.workFlow.flowGraph.FgaUserAction.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)


    Anyone seen this before? We have a case open with Lawson Support but so far they have not been able to solve this.

    Reply Edit
     

    Jon Athey - Sr. Supply Chain Analyst - Materials Management - MyMichigan Health
    David Williams
    Veteran Member
    Posts: 1127
    Veteran Member
      I've seen like errors in ProcessFlow. Once cause is the Mail_From setting is either missing or invalid in your email system. If this was working before then that may not be the problem.

      Another issue could be that you have Approvers set up in ProcessFlow that aren't in your Active Directory anymore and even if ProcessFlow isn't trying to send them a notification it still may cause email problems.
      David Williams
      You are not authorized to post a reply.