rakasaki / mp4parser

Automatically exported from code.google.com/p/mp4parser
0 stars 0 forks source link

NullPointerException on getBoxes in files containing Apple metadata #60

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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 michael....@toushay.com on 17 Apr 2013 at 2:28

GoogleCodeExporter commented 8 years ago
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 commented 8 years ago
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 michael....@toushay.com on 3 Jul 2013 at 3:21