cancel
Showing results for 
Search instead for 
Did you mean: 

PI 7.4 CC fails with Error "Dangling Meta character '*' near Index 0"

Former Member
0 Kudos

Hello all,

I am trying to configure a sender channel but the channel is failing with the following error.

Exception received: java.util.regex.PatternSyntaxException: Dangling meta character '*' near index 0 *.* ^

Directory under file Path 3 returned {1}. These include directories and links.

Ignoring errors on pwd: false

I see that modules are fine. Configuration is fine. Able to access the file system over SFTP. No passcode errors. But we see these errors in Channel monitoring. Any advice is highly appreciated.

Regards,

Gemi

Accepted Solutions (1)

Accepted Solutions (1)

Harish
Active Contributor
0 Kudos

Hi Gemi,

check the below thread. According to the thread please try with * in file name.

regards,

Harish

Former Member
0 Kudos

Well Harish, Yours is the correct answer. Changing the *.* to * resolved the issue in Channel.

A bit Off topic questions.

What difference would it make if i use "*.*" or "*" in the file name? As per UNIX file system, a file name can have any number of "." in it. Also, for regular Java programs, the probability of having multiple "." in a file name is quite possible.

I understand that PI appends ".*" when i just give "*" in the file naming scheme, however i doubt its functioning when the file contains multiple "." dots in file name. The best Unix example could be "FileName.tar.gz"

Any inputs / references in this respect are highly appreciated.

Another OT question.

Also, the first thing i did was to search using the errors received, however i couldn't find any threads with this error, But you managed to find one. Any tips or suggestions for me while searching? Am i missing anything? How could you pull out the precise result, when google itself failed to return valid results?

Answers (0)