cancel
Showing results for 
Search instead for 
Did you mean: 

Muli File to File Scenario : Null Pointer Exception

Former Member
0 Kudos

Hi All,

I have a FILE to FILE Scenario. I intend to transfer Muliple Files from one system to another. FTP Servers are running on both the systems.

1. In the sender Communication channel: I have set the name of the Source Directory

2. In the File name I set <nothing>

3. The advanced file selection option is ticked.

5. I set the Source directory name and the file mask *.txt in the table.

all other configurations related to the FTP Server etc are done.

When the scenario is executed, my sender communication channel shows a null pointer exception when Checked in the Runtime Workbench.

Can anyone please help and let me know what it is.

Thanks,

Abhishek

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi,

This also does not help.

One observation:

If i set the Directory as the real source directory

and

Set in the advance file selection

The full directory name , and the Full file name for e.g XML1.txt , XML2.txt in the file mask, it works.

But it results in a failure if I set *.txt as the file mask.

Thanks,

Abhishek

Former Member
0 Kudos

Hi,

Probably the 'Null pointer exception' is because you have set the name of the Source Directory in the File Access parameters, but set the filename to <nothing>.

Since you have chosen 'Advanced Selection for Source file' and you are anyway specifying the directory path there, try setting the Source Directory also[in File Access Parameters] to <nothing>.

Thanks,

Anand

Former Member
0 Kudos

Hi,

Putting *.txt is not helping.

I think i cannot put the name of any specified file here as i want a Wild card mask for File transfers.

Thanks,

Abhishek

Former Member
0 Kudos

Hi Abhishek,

File Name is mandatory field.....u have to give something over there.

Go through this weblog :

/people/mickael.huchet/blog/2006/09/18/xipi-how-to-exclude-files-in-a-sender-file-adapter

Thanks,

Maheshwari.

Message was edited by:

Maheshwari Morbale

MichalKrawczyk
Active Contributor
0 Kudos

hi,

can you add: *.txt to your filename ?

Regards,

michal