I'm talking about this question: Java FX Null Pointer Exception when using Media Player at javafx.scene.media.MediaPlayer.initJava FX Null Pointer Exception when using Media Player at javafx.scene.media.MediaPlayer.init
Yes there were a couple of red flags:
- It was a
NullPointerException
- The user was a new user
However, if you read the question carefully:
- It wasn't an obvious dumb mistake
- It was clearly more complicated than the average 1 rep user
NullPointerException
question - The user had written the question well and had tried obvious things
I don't think it should have been closed, I think it should be reopened.
I'm fairly certain the users problem was a a more complicated multithreading issue than a standard NPE problem, and should be reopened.
UPDATE:
The problem was caused the asker using the JavaFX API incorrectly, not by "typical standard beginner NPE mistakes".The problem was caused the asker using the JavaFX API incorrectly, not by "typical standard beginner NPE mistakes". Fortunately, it was reopened and the asker was able to get some good help.