Announcement Announcement Module
Collapse
No announcement yet.
Mapping text file to message Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    Can you please add an issue in JIRA for this?

    Thanks,
    Mark

    Comment


    • #3
      Issue booked: http://jira.springframework.org/browse/INT-363

      Comment

      Working...
      X