Newbies MrSmilliamson Posted June 26, 2019 Newbies Posted June 26, 2019 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
Newbies MrSmilliamson Posted June 26, 2019 Author Newbies Posted June 26, 2019 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.
Recommended Posts
This topic is 2045 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now