 <p>When this occurred to me, the reason for the error was that there was a corrupt index in the terrier folder, that was created because I ran indexing without running setup first.</p> <p><strong>Delete all files from the var/index subfolder in Terrier home directory.</strong> </p> <p>Then it may work normally.</p>