Results 1 to 3 of 3

Thread: Mapping text file to message

  1. #1

    Default Mapping text file to message

    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.jav a: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

  2. #2
    Join Date
    Oct 2005
    Location
    Boston, MA
    Posts
    2,840

    Default

    Can you please add an issue in JIRA for this?

    Thanks,
    Mark

  3. #3

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •