I see many questions closed with the following, when code samples are not required and irrelevant:
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
For example, Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: setControlKeepAliveTimeout(J)V.
Does that mean that every question should include a code sample and describe the specific problem in detail?