I should add that this is a retarded testcase, but at least minimal and fairly reliable.
I have seen this problem in the real world, where it was only blowing up very unreliably (preferably it happens in production of course), and when it did, it was *very* difficult to reproduce and debug. It would help a ton if it would blow up early to save headaches. Cheers, Roman Am Donnerstag, den 28.07.2011, 20:34 +0200 schrieb Roman Kennke: > Find attached a testcase. Upon running, this will bring up a small frame > and a JOptionPane. None of them renders for me, but after some blind > clicking in the option pane it throws exactly this NPE. > > Regards, Roman > > > Am Donnerstag, den 28.07.2011, 20:22 +0200 schrieb Mario Torre: > > 2011/7/28 Artem Ananiev <[email protected]>: > > > > > > +1 > > > > Yeah, I agree with Roman, IllegalStateException sounds like the > > perfect option to me. > > > > Cheers, > > Mario >
