tPOP usage

One Star

Re: tPOP usage

What is the solution for his problem?
One Star

Re: tPOP usage

hi, T try in onther network tpop work correctly:
I try to do thsi job as the following picture.
But in the compont tfileinputMail , there are error related to FILEI NPUT STREAM,
as show the picture.
What 's rong , where the probleme, and how i silve it.
Highlighted
One Star

Re: tPOP usage

Please any help
Seventeen Stars

Re: tPOP usage

hi,
Did you test connection tPop alone (without anymore component) !?
If test 's OK iterate on your inputFile mail (like you 've already done) and test your parameter value if still wrong !
Connect tInput Mail job to a java componenet and do a print of you parameter :
System.out.println(((String)globalMap.get("tPOP_1_CURRENT_FILEPATH")));
//...and so on !

seems that your path when you try to read in mail for retrieve mailpart is null (java pointer exception )
Verify that job's looking in the right directory and for the right filename.mail !!
hope it'll help you
++
One Star

Re: tPOP usage

HI i try it ut without result.
Now i have this eror, :
Exception in component tFileInputMail_1
java.io.FileNotFoundException: 20090904-121027_1.mail (Le fichier spécifié est introuvable)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at testpop.testpopcastafiore_0_1.TestPopCastafiore.tFileInputMail_1Process(TestPopCastafiore.java:759)
at testpop.testpopcastafiore_0_1.TestPopCastafiore.tPOP_1Process(TestPopCastafiore.java:306)
at testpop.testpopcastafiore_0_1.TestPopCastafiore.runJobInTOS(TestPopCastafiore.java:1263)
at testpop.testpopcastafiore_0_1.TestPopCastafiore.main(TestPopCastafiore.java:1172)

between tpop and tFileInputMail must be iterate or declancheur?
what i do to correct this error? any help?
thank you
One Star

Re: tPOP usage

((String)globalMap.get("tPop_1_CURRENT_FILEPATH")) is the name of file in the compent tFileInputMail
One Star

Re: tPOP usage

hi, i use tjava compent to parse a csv file ,when i ru job error apper:
Démarrage du jobjob a 15:28 15/09/2009.
connecting to socket on port 3933
connected
Exception in thread "main" java.lang.Error: Problèmes de compilation non résolus :
FileReader n'est pas reconnu comme type valide
BufferedReader n'est pas reconnu comme type valide
FileReader n'est pas reconnu comme type valide
BufferedReader n'est pas reconnu comme type valide
at test.job_0_1.job.tJava_1Process(job.java:2176)
at test.job_0_1.job.tFileInputMail_1Process(job.java:2141)
at test.job_0_1.job.runJobInTOS(job.java:5040)
at test.job_0_1.job.main(job.java:4917)
So i go to java code and i add:
import java.io.FileReader;
import java.io.BufferedReader;
import java.io.IOException;
and i save it
when i run it work correctly, but for next run same error apper and the import desapper from code.
I don't now why , any idea ,
any help
One Star

Re: tPOP usage

HI , a,ny help pease?
One Star

Re: tPOP usage

Hello guys!
My advice for you is to make sure what security software do you use. You should read some reviews before installing any antivirus software. I suggest you to have a look at this thread where you can find some reviews of the best ten antivirus software. Here is the thread: http://www.best-antivirus.co/

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog