I was getting the same error. In my case there was a leading space-symbol in the fxml file name:
" fxml_example.fxml" instead of "fxml_example.fxml"
I don't know where it came from. It was very difficult to notice it. When I removed the leading space, everything went ok. I didn't even knew that file name could start with the space-symbol.