You have several problems here. First, you are posting for help in the wrong support forum, this support forum is literally specifically for Webdevelopment and is hidden behind its main gateway being "chit chat" a place where people are just talking about stuff.
Second, you are saying its a problem with 1.4.2 but TFS 1.4.2 does not come default with pokemon, or this crash you are having. So obviously there are some sort of source edits done and for someone to be of any help to you at all, they would need to know where you got the server so they know exactly what codes you have in use.
I recommend closing this thread, and trying again in the proper support forum
here. (Hint. Its the one that says Support on otland's main page).
I also recommend giving more viable information to people who might be willing to help, such as the specific line of code that is being called when it crashes, not just the line, but the entire method/function is more useful. It tells you that line in that call stack you shared above, it shows the last line being in your code here:
