It's not being tested for. For the time being, I just set moreIndexingFilter.indexMimeTypeParts to false as I don't need the parts.
On Mon, Aug 13, 2012 at 10:12 AM, Lewis John Mcgibbney < [email protected]> wrote: > Hi Bai, > > On Mon, Aug 13, 2012 at 2:10 PM, Bai Shen <[email protected]> wrote: > > > The contentType comes back as null. There is a check for this in order > to > > determine which MIME command to run. > > > > However, when you check to see if the content type needs to be spilt into > > sub parts, there is no check and it throws and NPE. > > Can you check here [0] and see if we check for it,if not then we can > add the trivial test... and provide fix if required. > > Best > > Lewis > > [0] > http://svn.apache.org/repos/asf/nutch/branches/2.x/src/plugin/index-more/src/test/org/apache/nutch/indexer/more/TestMoreIndexingFilter.java > > > > -- > Lewis >

