What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 130 Stack Exchange communities.

I'm reading Error while doing RSA Decryption, which has just been answered by the author. Apparently a small coding error was the cause of the problem.

Is this a candidate for closure as "too localized"? Any tips for deciding whether a coding error has merit for future readers?

share|improve this question
2  
I'd say that's a good call. The question is a gigantic code dump with what appears to be a trivial solution. –  Asad Mar 15 '13 at 8:45
1  
Doesn't look like it. The deciding factor should be "unlikely to help any future visitors". That often applies to oops-I-was-wrong questions but not so much in this case. –  Henk Holterman Mar 15 '13 at 9:11
5  
@HenkHolterman The question is definitely unlikely to help future visitors. The title describes some unspecified error occurred while working with RSA Decryption. What was the error? The OP forgot to decode the the encrypted string before passing it to doFinal. Highly unlikely to help anyone, since this sort of problem should be identified on your first readthrough after you hit an exception. You shouldn't post to SO first, then do the debugging that is required and post that as an answer. –  Asad Mar 15 '13 at 9:30
    
@Asad Would you care to post that as an answer? I think that's the correct viewpoint and I'd like to mark the question as answered. –  Duncan Mar 15 '13 at 12:59

1 Answer 1

up vote 6 down vote accepted

The question is definitely unlikely to help future visitors. The title only conveys that some unspecified error occurred while working with RSA Decryption, and the problem is almost entirely obscured by red herring code blocks. What was the error? The OP forgot to decode the the encrypted string before passing it to doFinal. That was it.

I sincerely doubt this will help anyone in the future, since 90% of the time this sort of problem is already identified (or at least should be) on your first readthrough after you hit an exception. You shouldn't post to SO first, then do the your due diligence in terms of debugging and post that as an answer.

share|improve this answer
    
Exactly, since the OP didn't say anything about the error, there isn't anything that future readers can learn from that question. They cannot even understand if the shown solution applies to them too, since they cannot understand if the described problem is the one they are having too. –  kiamlaluno Mar 15 '13 at 22:03
1  
Since this is just a simple diff, it is possible to salvage the post a bit by editing. –  nhahtdh Mar 16 '13 at 3:06

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .