Nn_index.h:71: error: (-215:Assertion failed) in Java

Yes, because otherwise the point pairs are not linked correctly.

SURF detector = SURF.create(100, 3, 3, true, false)

But I always use the SAME detector in an analysis.