Filebot error Invalid XML: “” matching end tag

Problem:

When trying to search for TV show files with older versions of Filebot you get the error: Invalid XML: SAXParseException: The element type “hr” must be terminated by the matching end-tag “”

Solution:

First make sure you have Java Runtime for Windows installed.

Then download a Java bytecode editor called Recaf from here. Make sure you download the .jar file as below:

Filebot-error-Invalid-XML-hr-matching-end-tag

Double click the Recaf.jar file and open the application

Go to File> Load and then open the Filebot.jar file from your Filebot installation:

Filebot-error-Invalid-XML-hr-matching-end-tag-3

From the menu go to Net> Filebot> Web and open the TVDBClientV1 class:

Click the Methods tab, then find the getMirror method and open it. Right click and click the Edit Instructions button.

Find the instruction: “IF_ACMPNE LABEL C” and double click it. Change it to “IF_ACMPEQ”

Find the instruction: LDC “http://thetvdb.com” and double click it. Change its to “https://thetvdb.com” without the quotes.

Close all the windows and go back to the main Recaf screen. Go to File > Export and save this as FileBot.jar. Now replace your existing FileBot.jar with your new. Clear the FileBot cache by running: filebot -clear-cache.

2 Replies to “Filebot error Invalid XML: “” matching end tag”

  1. Thanks for the writeup, not many articles are available that handles this specific error.
    I couldn’t make it work though, unfortunately.
    The current recaf verison is 2.8.0 and it neither has “Methods” tab nor looks anything like v 1.15.8 that’s used in this article. The old version doesn’t work anymore.

    This error can be fixed by updating FileBot to the latest version, as mentioned by the author: https://www.filebot.net/forums/viewtopic.php?t=11338

Leave a Reply

Your email address will not be published. Required fields are marked *