June 26, 20196 yr Newbies Having changed nothing on my server or script that has been functioning fine for several months, I'm now getting an error when trying to fetch messages via the EmailReadMessages() function. “java.lang.NumberFormatException: For input string: “null”” The log file says: Jun 26, 2019 2:49:10 PM com.prosc.fmkit.Plugin setLastError SEVERE: PluginFunction PluginFunction{name='EmailReadMessages', minArgs=0, maxArgs=-1} got an error with converted args [[uid=null, mailbox=INBOX, readonly=false, attachmentsAll=true, max=5, progress=true]] I am passing the uid via a $uid variable, and if I Show Custom Dialog in a script step, the $uid variable is indeed set. Thank you, - Justin 360Works_Email_FMAdvanced.log
June 26, 20196 yr Author Newbies In case anyone else gets this particular situation: For some reason, the IMAP server that I’m connected to must have passed, literally, “null” as a message id (strange). Then, when we went to find all messages with an id greater than “null”, we had a problem. I’ve cleared that field, made my script so that it won’t write null into the uid field, and all seems to be well.
Create an account or sign in to comment