marwan simaan
Sep 10th, 2008, 03:53 AM
Hi,
I am using a file source with a message creator (TextFileMessageCreator) to delete the files from the source directory.
I upgraded to the snapshot of 9 september. Now I am getting a warning:
"failure occurred mapping file to message"
java.lang.NullPointerException
at java.io.FileInputStream.<init>(FileInputStream.java:103)
at java.io.FileReader.<init>(FileReader.java:55)
at org.springframework.integration.adapter.file.TextF ileMessageCreator.readMessagePayload(TextFileMessa geCreator.java:45)
at org.springframework.integration.adapter.file.TextF ileMessageCreator.readMessagePayload(TextFileMessa geCreator.java:1)
The strange thing is that the message is created correctly and transmitted in the channels.
Do you have any idea?
Thanks,
Marwan
I am using a file source with a message creator (TextFileMessageCreator) to delete the files from the source directory.
I upgraded to the snapshot of 9 september. Now I am getting a warning:
"failure occurred mapping file to message"
java.lang.NullPointerException
at java.io.FileInputStream.<init>(FileInputStream.java:103)
at java.io.FileReader.<init>(FileReader.java:55)
at org.springframework.integration.adapter.file.TextF ileMessageCreator.readMessagePayload(TextFileMessa geCreator.java:45)
at org.springframework.integration.adapter.file.TextF ileMessageCreator.readMessagePayload(TextFileMessa geCreator.java:1)
The strange thing is that the message is created correctly and transmitted in the channels.
Do you have any idea?
Thanks,
Marwan