I had a question regarding PowerShell and null pointer exception (NPE) handling, designed to be a "general" or (I've heard it called) "classic" answer, asked and self-answered some good seven years ago. It apparently attracted some linkage and attention and earned me some rep, so I feel it was at least decently formed.
This is the question I asked: You cannot call a method on a null-valued expression - general -- it was closed as a duplicate of You cannot call a method on a null-valued expression originally.
Now out of the blue that question was closed as a duplicate, apparently by a golden badger in the powershell tag, against what I classify as a somewhat worse reference question. Since I'm not able to know who closed it, and the linked question had an actual example of code that caused an NPE right off the bat, instead of mine that tried to answer the question of "why my code SUDDENLY failed?" in a more general sense, I'm asking for clarification here.
Why was that question chosen instead of mine, why was the fact that my question is self-answered with (in my opinion) a decent explanation ignored, and why was the actual difference in questions ignored? The linked one had an uninitialized variable as the root cause, while mine described several possible root causes, with one of them being no data received, AKA an error in error handling in an otherwise correct script.
NPEs naturally can have several causes, so I think it’s incorrect to link all questions regarding NPE in PowerShell to an answer covering only a single cause (single instance of an uninitialized variable).
This meta question is related: Rapid closing of java.lang.NullPointerException questions. It's about the same age as my original question, and yes the reasoning in there probably applied to this moment in time as well, but my question is about selecting which one is "better" suited to be a reference. The one chosen in Java looks like it has one of the better "classic" answers, while, at time of posting, there were no such answers for PowerShell (and there still may not be).