• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

CF11 imap delete nullPointerException

New Here ,
Jul 16, 2015 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

245

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
community guidelines
no replies

Have something to add?

Join the conversation
Resources
Documentation