Hi Thimo,
Could you check one of the messages in /AIF/ERR. How many lines does the component LINE have for a message?
As you are referring to CURR_LINE, which is the parameter of an action function module, I assume that the issue is not in the file adapter, but that it is rather related to the way the action is called.
Best regards,
Verena