-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 You are right - I checked this, and its a .mov file under an URL, but the length of the file is zero.
Nevertheless, in this case an Exception (like in all other parsers) or a tika body with length zero, which is indicated at least by handler.endDocument() would be the appropriate way, isn't it? - From the ContentHandlers point of view, there is nothing in between. Chris On 28.05.2013 19:06, Nick Burch wrote: > On Tue, 28 May 2013, Christian Reuschling wrote: >> This works like a charme, but inside MP4Parser, there exists these lines of >> code: >> >> Line 146-154, parse() method: >> >> MovieBox moov = getOrNull(isoFile, MovieBox.class); if (moov == null) { // >> Bail out return; >> } > > I think that's a sign that it isn't a valid mp4 file. Do you know where the > file came from / > what kind of thing it has in it / can you share an example? > > Nick - -- ______________________________________________________________________________ Christian Reuschling, Dipl.-Ing.(BA) Software Engineer Knowledge Management Department German Research Center for Artificial Intelligence DFKI GmbH Trippstadter Straße 122, D-67663 Kaiserslautern, Germany Phone: +49.631.20575-1250 mailto:reuschl...@dfki.de http://www.dfki.uni-kl.de/~reuschling/ - ------------Legal Company Information Required by German Law------------------ Geschäftsführung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster (Vorsitzender) Dr. Walter Olthoff Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes Amtsgericht Kaiserslautern, HRB 2313= ______________________________________________________________________________ -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlGlxrkACgkQ6EqMXq+WZg8n5wCgldKhsi9/+aUb1Ual00f3XIhb gzwAn2WDr74lEvPzpQ8yMeOG2u+7PmZi =i/0C -----END PGP SIGNATURE-----