Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Marc21Encoder fails with IllegalStateException on receiving leader entity #278

Closed
cboehme opened this issue Mar 19, 2018 · 0 comments
Closed
Assignees
Labels

Comments

@cboehme
Copy link
Member

cboehme commented Mar 19, 2018

The Marc21Encoder fails to process the a stream of

start-record 
start-entity "leader"
end-entity
end-record

It throws the following exception:

java.lang.IllegalStateException
	at org.metafacture.biblio.iso2709.RecordBuilder.requireInDataField(RecordBuilder.java:273)
	at org.metafacture.biblio.iso2709.RecordBuilder.endDataField(RecordBuilder.java:220)
	at org.metafacture.biblio.marc21.Marc21Encoder.endEntity(Marc21Encoder.java:159)
@cboehme cboehme self-assigned this Mar 19, 2018
@cboehme cboehme added the Bug label Mar 19, 2018
@ghost ghost mentioned this issue May 24, 2018
cboehme added a commit that referenced this issue Dec 19, 2018
cboehme pushed a commit that referenced this issue Dec 19, 2018
(cherry picked from commit 264265326fbc5dd9b66fc30d21196d8af1c5e391)

(cherry picked from commit 429ff26)
cboehme added a commit that referenced this issue Dec 19, 2018
(cherry picked from commit 25f2da3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant