sannies / mp4parser

A Java API to read, write and create MP4 files
Apache License 2.0
2.75k stars 566 forks source link

need help------------getBoxes(java.lang.Class)' on a null object #336

Open youarenowhere opened 5 years ago

youarenowhere commented 5 years ago

W/System.err: java.lang.NullPointerException: Attempt to invoke virtual method 'java.util.List com.coremedia.iso.boxes.MovieBox.getBoxes(java.lang.Class)' on a null object reference at com.googlecode.mp4parser.authoring.container.mp4.MovieCreator.build(MovieCreator.java:51) at com.googlecode.mp4parser.authoring.container.mp4.MovieCreator.build(MovieCreator.java:38)

Ozeias01Nunes commented 5 years ago

I have the same problem.

sannies commented 5 years ago

You are using the old version, 1st thing you should do is to use the latest version 1.9.x

But please be aware that this project is orphaned. I'm not maintaining, I'm not supporting it. (Except paid maintenance or paid support, rate is 100$/h).

Am Do., 25. Apr. 2019 um 10:13 Uhr schrieb Ozeias01Nunes < notifications@github.com>:

I have the same problem.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sannies/mp4parser/issues/336#issuecomment-486565822, or mute the thread https://github.com/notifications/unsubscribe-auth/AABJIDZ7CKHXL2PVSBRYYGLPSFRZNANCNFSM4FSSPX3Q .

Ozeias01Nunes commented 5 years ago

And where do I find version 1.9.x or 2.x.x?

ERROR: Failed to resolve: com.googlecode.mp4parser: isoparser: 1.9.37 ERROR: Failed to resolve: com.googlecode.mp4parser: isoparser: 2.0.0

emiliofonseca commented 5 years ago

@Ozeias01Nunes, it is "org.mp4parser:isoparser:1.9.39" now

Here is the link https://mvnrepository.com/artifact/org.mp4parser/isoparser/1.9.39