Skip to content

UnexpectedRecord: End of stream reached, expected record 'trailer': null for "fixedlength" format #121

Description

@GoogleCodeExporter
unable to unmarshal the attached data file with the attached mapping xml.  

What is the expected output? What do you see instead?
expecting file being unmashalled. 
Error is: UnexpectedRecord: End of stream reached, expected record 'trailer': 
null

What version of BeanIO are you using? What JDK version?
BeanIO  2.0.7
JDK jdk1.7.0_25

Please provide any additional information below.
I changed the mapping file line below from maxOccurs = "unbounded" to 
maxOccurs = "4" , problem went away. But that is not the right way to do it.
<record name="record" class="com.amig.bti.achprocessor.dto.beanio.LockBoxData" 
minOccurs="0" maxOccurs="unbounded">

Original issue reported on code.google.com by tianhan...@gmail.com on 19 Sep 2014 at 5:32

Attachments:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions