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

Writing total tracks is throwing an exception #66

Closed
josdem opened this issue Jan 13, 2025 · 1 comment
Closed

Writing total tracks is throwing an exception #66

josdem opened this issue Jan 13, 2025 · 1 comment

Comments

@josdem
Copy link
Owner

josdem commented Jan 13, 2025

Steps to Reproduce

  • Open attached music file
  • Complete any data like genre: Chillout
  • Click on apply button

Expected behaviour

  • Changes applied and status is Updated

Actual result

  • Blank status and exception is thrown

Trace

Caused by: java.lang.NumberFormatException: For input string: "null"
	at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:67)
Caused by: java.lang.NumberFormatException: For input string: "null"
	at java.base/java.lang.Integer.parseInt(Integer.java:662)
	at java.base/java.lang.Integer.parseInt(Integer.java:778)
	at org.jaudiotagger.tag.id3.AbstractID3v2Tag.createField(AbstractID3v2Tag.java:1945)
	at org.jaudiotagger.tag.id3.AbstractID3v2Tag.setField(AbstractID3v2Tag.java:415)
	at com.josdem.jmetadata.metadata.MetadataWriter.writeTotalTracksNumber(MetadataWriter.java:131)
	at com.josdem.jmetadata.controller.CompleteController.completeAlbum(CompleteController.java:128)

Attachments
101-miguel_migs_-_so_far.zip

@josdem
Copy link
Owner Author

josdem commented Feb 2, 2025

PR merged: #85

@josdem josdem closed this as completed Feb 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment