Highlighted

CF11 imap delete nullPointerException

New Here ,
Jul 16, 2015

Copy link to clipboard

Copied

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(/...

Views

192

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

CF11 imap delete nullPointerException

New Here ,
Jul 16, 2015

Copy link to clipboard

Copied

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(/...

Views

193

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jul 16, 2015 0

Have something to add?

Join the conversation