Maileater does not start and fails with Exception in thread "main" java.lang.NumberFormatException: For input string: "Yes "
search cancel

Maileater does not start and fails with Exception in thread "main" java.lang.NumberFormatException: For input string: "Yes "

book

Article ID: 240403

calendar_today

Updated On:

Products

CA Service Management - Service Desk Manager

Issue/Introduction

Maileater does not start and shows the following error in stdlog:

 

ERROR        daemon_obj.c          2000 Daemon pdm_maileater_nxd died: restarting
pdm_d_mgr              13244 SIGNIFICANT  mgr_slump_if.c        1225 Starting: $NX_JRE_INSTALL_DIR/bin/java -Djava.net.preferIPv4Stack=false -DAPP_NAME=maileater_nxd com.ca.ServicePlus.maileater.Maileater -r $NX_ROOT
10228 SIGNIFICANT  pdm_process.c          353 Starting: pdm_maileater_nxd with classpath: D:/PROGRA~1/CA/SERVIC~1/java/lib/pdm_mail_assembly.jar;D:/PROGRA~1/CA/SERVIC~1/java/lib/jakarta.mail-api-1.6.5.jar;D:/PROGRA~1/CA/SERVIC~1/java/lib/jakarta.mail-1.6.5.jar;D:/PROGRA~1/CA/SERVIC~1/java/lib/jackson-databind-2.10.3.jar;D:/PROGRA~1/CA/SERVIC~1/java/lib/jackson-annotations-2.10.3.jar;D:/PROGRA~1/CA/SERVIC~1/java/lib/jackson-core-2.10.3.jar;D:/PROGRA~1/CA/SERVIC~1/java/lib/scribejava-core-7.1.1.jar;D:/PROGRA~1/CA/SERVIC~1/java/lib/scribejava-apis-7.1.1.jar;D:/PROGRA~1/CA/SERVIC~1/java/lib/slump.jar;D:/PROGRA~1/CA/SERVIC~1/java/lib/domsrvr_utils.jar;D:/PROGRA~1/CA/SERVIC~1/java/lib/BOPIntegration.jar;D:/PROGRA~1/CA/SERVIC~1/java/lib/sd-utils.jar;D:/PROGRA~1/CA/SERVIC~1/java/lib/log4j-1.2.17.jar;D:/PROGRA~1/CA/SERVIC~1/site/cfg;D:/PROGRA~1/CA/SERVIC~1/java/lib/bc-fips-1.0.1.jar;D:/PROGRA~1/CA/SERVIC~1/java/lib/bctls-fips-1.0.5.jar;D:/PROGRA~1/CA/SERVIC~1/java/lib/jakarta.activation-1.2.1.jar;D:/PROGRA~1/CA/SERVIC~1/java/resources
SIGNIFICANT  pdm_process.c          575 Process Started (9152):"D:/Program Files (x86)/CA/SC/JRE/11.0.3/bin/java" -Djava.net.preferIPv4Stack=false -DAPP_NAME=maileater_nxd com.ca.ServicePlus.maileater.Maileater -r D:/PROGRA~1/CA/SERVIC~1
pdm_proctor_nxd        13244 SIGNIFICANT  STDIO                    0 Exception in thread "main" java.lang.NumberFormatException: For input string: "Yes "
pdm_proctor_nxd        13244 SIGNIFICANT  STDIO                    0 at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
pdm_proctor_nxd        13244 SIGNIFICANT  STDIO                    0 at java.base/java.lang.Integer.parseInt(Integer.java:652)
pdm_proctor_nxd        13244 SIGNIFICANT  STDIO                    0 at java.base/java.lang.Integer.valueOf(Integer.java:983)
pdm_proctor_nxd        13244 SIGNIFICANT  STDIO                    0 at com.ca.ServicePlus.maileater.NXMailEater.getEnvVars(NXMailEater.java:426)
pdm_proctor_nxd        13244 SIGNIFICANT  STDIO                    0 at com.ca.ServicePlus.maileater.NXMailEater.startup(NXMailEater.java:280)
pdm_proctor_nxd        13244 SIGNIFICANT  STDIO                    0 at com.ca.ServicePlus.maileater.NXMailEater.init(NXMailEater.java:151)
pdm_proctor_nxd        13244 SIGNIFICANT  STDIO                    0 at com.ca.ServicePlus.maileater.Maileater.main(Maileater.java:179)
SIGNIFICANT  pdm_process.c          927 Process stopped ("D:/Program Files (x86)/CA/SC/JRE/11.0.3/bin/java" -Djava.net.preferIPv4Stack=false -DAPP_NAME=maileater_nxd com.ca.ServicePlus.maileater.Maileater -r D:/PROGRA~1/CA/SERVIC~1 return: 1 
10228 SIGNIFICANT  pdm_process.c          936 Stopped: "D:/Program Files (x86)/CA/SC/JRE/11.0.3/bin/java" -Djava.net.preferIPv4Stack=false -DAPP_NAME=maileater_nxd com.ca.ServicePlus.maileater.Maileater -r D:/PROGRA~1/CA/SERVIC~1

 

Environment

Release : 17.3

Component : SDM - In-bound/Out-bound Mail

Cause

The following option is installed in NX.env @NX_EMAIL_NO_DELETE=Yes 

Resolution

Remove or comment out @NX_EMAIL_NO_DELETE=Yes from the NX.env and restart SDM services.

To comment out use the # symbol. Example:

 

#@NX_EMAIL_NO_DELETE=Yes