Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: Deleting all mails

  1. #1
    Join Date
    Jan 2013
    Posts
    108

    Default Deleting all mails

    hi all

    i am using GET MAILS(POP3/IMAP) step to delete all mails(in all folders) in gmail-adress. i set it like:

    imap.gmail.com
    use SSL, port:993
    username, password
    Protokol: IMAP
    Action: Delete messages
    Folder: GMAIL/All messages
    Get all messages


    it is giving me an error:

    2013/06/17 14:31:04 - GMAIL entleeren - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : Unexpected error: null
    2013/06/17 14:31:04 - GMAIL entleeren - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : java.lang.NullPointerException
    2013/06/17 14:31:04 - GMAIL entleeren - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : at org.pentaho.di.core.vfs.KettleVFS.getFileObject(KettleVFS.java:114)
    2013/06/17 14:31:04 - GMAIL entleeren - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : at org.pentaho.di.core.vfs.KettleVFS.getFileObject(KettleVFS.java:94)
    2013/06/17 14:31:04 - GMAIL entleeren - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : at org.pentaho.di.job.entries.getpop.JobEntryGetPOP.execute(JobEntryGetPOP.java:729)
    2013/06/17 14:31:04 - GMAIL entleeren - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : at org.pentaho.di.job.Job.execute(Job.java:503)
    2013/06/17 14:31:04 - GMAIL entleeren - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : at org.pentaho.di.job.Job.execute(Job.java:642)
    2013/06/17 14:31:04 - GMAIL entleeren - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : at org.pentaho.di.job.Job.execute(Job.java:368)
    2013/06/17 14:31:04 - GMAIL entleeren - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : at org.pentaho.di.job.Job.run(Job.java:288)



    Any help appreciated, thank you in advance

  2. #2
    Join Date
    Jun 2012
    Posts
    5,534

    Default

    NPE often means a configuration item is missing, in your case it's the target folder.
    Actually you don't need one, since you selected action "Delete messages", so we can call it a bug ...

    Here is a workaround:
    • Select action "Get messages"
    • select your local tmp folder as target folder
    • Select action "Delete messages"
    So long, and thanks for all the fish.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.