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

NullPointerException on getBoxes in files containing Apple metadata #60

Open
GoogleCodeExporter opened this issue May 12, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Open a file containing boxes of any AbstractAppleMetaData subclass (I used 
the 720p Serenity trailer from http://www.h264info.com/clips.html)
2. Do a recursive getBoxes call for any non-Apple box type (e.g. TrackBox)

What is the expected output? What do you see instead?

Expect the correct boxes to be returned. Instead, a null pointer exception 
occurs at AbstractContainerBox.java:82 while processing (in my case) an 
AppleStandardGenreBox.


What version of the product are you using? On what operating system?

isoparser 1.0-RC-15 from Maven on OS X 1.8.2


Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 17 Apr 2013 at 2:28

@GoogleCodeExporter
Copy link
Author

I just removed all apple metadata reading writing as my current approach is not 
really working good. 

Original comment by Sebastian.Annies on 30 Jun 2013 at 7:05

@GoogleCodeExporter
Copy link
Author

I'd like to add that I worked around this issue by using a non-recursive call 
to getBoxes. It works, but it resulted in far more code than was necessary to 
do what I wanted.

Original comment by [email protected] on 3 Jul 2013 at 3:21

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

No branches or pull requests

1 participant