Skip to main content
Participant
July 16, 2015
Question

CF11 imap delete nullPointerException

  • July 16, 2015
  • 0 replies
  • 264 views

I'm trying to retrieve email from a Gmail account, and just updated my servers to CF11. Now all of a sudden, my delete calls will randomly error out giving the stack trace below indicating a null pointer exception.

The call looks like this:

<!--- Delete email by UID --->

<cfimap action="delete" connection="local.connection" uid="#uid#">

Where #uid# is inside the retrieved mail loop.

Anyone else run into this?

Stack Trace:

java.lang.NullPointerException at com.sun.mail.imap.Utility.toMessageSet(Utility.java:81) at com.sun.mail.imap.IMAPFolder.setFlags(IMAPFolder.java:1219) at coldfusion.mail.IMapImpl.deleteMails(IMapImpl.java:605) at coldfusion.tagext.net.IMapTag$2.run(IMapTag.java:653) at java.security.AccessController.doPrivileged(Native Method) at coldfusion.tagext.net.IMapTag.handleRequest(IMapTag.java:649) at coldfusion.tagext.net.IMapTag.doEndTag(IMapTag.java:533) at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2992) at cfsupportTickets2ecfm2135928913._factor13(/...

This topic has been closed for replies.