22

There was an error in one of my Java file. Impossible to find it. I commented all the code and the error remain. I commented the import of that class and no more error. How the f**** is possible that a empty class give an error ?
I opened the file in another text editor and found out that the last character was a symbol that wasn't recognize or display in other text editor.
I was really proud (and confused)

Comments
  • 12
    welcome to the fucked up world of encodings. enjoy your stay
  • 0
    jajajajaja has happened to me a few times with the freaking carriage return when you have a coworker using windows and you are developing on a linux machine
  • 0
    That's super rough! I once caught an endash where a minus sign was supposed to be – in someone else's code, even! Two devs had been looking for the better part of an hour before I showed up and spotted it.
Add Comment