Re: Licensing of Tika

2015-07-14 Thread Chris Harshman
I am a lawyer, but this is not legal advice. As a general rule, if the code is included in your project, you're bound by the license under which that code is made available. That includes dependencies. There may be some exceptions depending on the license(s) and how they all plug together (as

RE: Inconsistent (buggy) behavior when using tika-server

2015-07-14 Thread Allison, Timothy B.
That looks like a bug in TikaUtils. For whatever reason, when is.available() returns 0, we are then assuming that fileUrl is not null. We need to check to make sure that fileUrl is not null before trying to open the file. if(is.available() == 0 !.equals(fileUrl)){ ... return