Hitachi Vantara Pentaho Community Forums
Results 1 to 3 of 3

Thread: Get emails from POP error

  1. #1

    Default Get emails from POP error

    When I run my job from Windows it works fine but when I attempt to run it from a unix server I get an error, any ideas why ?

    INFO 18-10 01:14:28,995 - Using "/tmp/vfs_cache" as temporary files store.
    INFO 18-10 01:14:29,126 - Kitchen - Logging is at level : Debugging
    INFO 18-10 01:14:29,127 - Kitchen - Start of run.
    DEBUG 18-10 01:14:29,127 - Kitchen - Allocate new job.
    DEBUG 18-10 01:14:29,145 - Kitchen - Parsing command line options.
    INFO 18-10 01:14:29,188 - gettestMail - Start of job execution
    INFO 18-10 01:14:29,189 - gettestMail - exec(0, 0, START.0)
    INFO 18-10 01:14:29,191 - START - Starting job entry
    INFO 18-10 01:14:29,193 - gettestMail - Starting entry [Get mails from POP]
    INFO 18-10 01:14:29,193 - gettestMail - exec(1, 0, Get mails from POP.0)
    INFO 18-10 01:14:29,193 - Get mails from POP - Starting job entry
    DEBUG 18-10 01:14:29,195 - Get mails from POP - Output folder [/var/log/import/test/data] exists
    DEBUG: setDebug: JavaMail version 1.4ea
    DEBUG: getProvider() returning javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc]
    INFO 18-10 01:14:29,260 - Get mails from POP - New mail connection is defined.
    INFO 18-10 01:14:29,260 - Get mails from POP - Connecting to host [mail.ijetmail.com] with username [test] on port [110] ...
    DEBUG POP3: connecting to host "mail.ijetmail.com", port 110, isSSL false
    S: +OK dovecot ready.
    C: USER test
    S: +OK
    C: PASS test
    S: +OK Logged in.
    INFO 18-10 01:14:29,314 - Get mails from POP - Connected to host [mail.ijetmail.com] with username [test] on port [110].
    DEBUG 18-10 01:14:29,321 - Get mails from POP - Opening folder [INBOX] in read mode ...
    C: STAT
    S: +OK 1 68898
    INFO 18-10 01:14:29,322 - Get mails from POP - Folder [INBOX] was opened.
    DEBUG 18-10 01:14:29,322 - Get mails from POP - Folder name : [INBOX]
    DEBUG 18-10 01:14:29,322 - Get mails from POP - Folder full name : [INBOX]
    DEBUG 18-10 01:14:29,322 - Get mails from POP - Folder URL : [pop3://test@mail.ijetmail.com:110/INBOX]
    DEBUG 18-10 01:14:29,322 - Get mails from POP - Folder subscribed : [true]
    C: NOOP
    S: +OK
    INFO 18-10 01:14:29,329 - Get mails from POP - We found 1 messages in folder [INBOX] ...
    DEBUG 18-10 01:14:29,330 - Get mails from POP - --------------------------------------------------
    DEBUG 18-10 01:14:29,330 - Get mails from POP - Message number : 1
    ERROR 18-10 01:14:29,330 - Get mails from POP - Unexpected error:
    java.lang.NullPointerException
    at org.pentaho.di.job.Job.run (Job.java:282)
    at org.pentaho.di.job.Job.execute (Job.java:344)
    at org.pentaho.di.job.Job.execute (Job.java:600)
    at org.pentaho.di.job.Job.execute (Job.java:471)
    at org.pentaho.di.job.entries.getpop.JobEntryGetPOP.execute (JobEntryGetPOP.java:904)
    at org.pentaho.di.job.entries.getpop.JobEntryGetPOP.fetchOneFolder (JobEntryGetPOP.java:1037)
    at java.text.DateFormat.format (DateFormat.java:316)
    at java.text.SimpleDateFormat.format (SimpleDateFormat.java:869)
    at java.text.SimpleDateFormat.format (SimpleDateFormat.java:876)
    at java.util.Calendar.setTime (Calendar.java:1075)

    ERROR 18-10 01:14:29,330 - Get mails from POP - org.pentaho.di.core.exception.KettleException:
    java.lang.NullPointerException
    at org.pentaho.di.job.Job.run (Job.java:282)
    at org.pentaho.di.job.Job.execute (Job.java:344)
    at org.pentaho.di.job.Job.execute (Job.java:600)
    at org.pentaho.di.job.Job.execute (Job.java:471)
    at org.pentaho.di.job.entries.getpop.JobEntryGetPOP.execute (JobEntryGetPOP.java:904)
    at org.pentaho.di.job.entries.getpop.JobEntryGetPOP.fetchOneFolder (JobEntryGetPOP.java:1037)
    at java.text.DateFormat.format (DateFormat.java:316)
    at java.text.SimpleDateFormat.format (SimpleDateFormat.java:869)
    at java.text.SimpleDateFormat.format (SimpleDateFormat.java:876)
    at java.util.Calendar.setTime (Calendar.java:1075)
    org.pentaho.di.job.entries.getpop.JobEntryGetPOP.fetchOneFolder(JobEntryGetPOP.java:1089)
    org.pentaho.di.job.entries.getpop.JobEntryGetPOP.execute(JobEntryGetPOP.java:904)
    org.pentaho.di.job.Job.execute(Job.java:471)
    org.pentaho.di.job.Job.execute(Job.java:600)
    org.pentaho.di.job.Job.execute(Job.java:344)
    org.pentaho.di.job.Job.run(Job.java:282)

    DEBUG 18-10 01:14:29,330 - Get mails from POP - Closing connection ...
    C: NOOP
    S: +OK
    DEBUG 18-10 01:14:29,330 - Get mails from POP - Closing folder [INBOX] ...
    C: RSET
    S: +OK
    C: QUIT
    S: +OK Logging out.
    DEBUG 18-10 01:14:29,331 - Get mails from POP - Folder [] was closed.
    DEBUG 18-10 01:14:29,331 - Get mails from POP - Connection closed.
    INFO 18-10 01:14:29,332 - gettestMail - Finished job entry [Get mails from POP] (result=[false])
    INFO 18-10 01:14:29,332 - gettestMail - Job execution finished
    INFO 18-10 01:14:29,335 - Kitchen - Finished!
    ERROR 18-10 01:14:29,335 - Kitchen - Finished with errors
    INFO 18-10 01:14:29,335 - Kitchen - Start=2011/10/18 01:14:29.127, Stop=2011/10/18 01:14:29.335
    INFO 18-10 01:14:29,335 - Kitchen - Processing ended after 0 seconds.

  2. #2

    Default

    Do you get this error even, if you have logging level lower than Debug?

    Maybe, that you experienced the same bug than me a few days ago: http://jira.pentaho.com/browse/PDI-6946

  3. #3

    Default

    I no longer get the error when I switch logging to "Basic" ......thanks
    Although it won't delete my emails even though I checked "Delete emails after retieval" ???

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.