This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I had started IDE with a deleted Windows2Local dir (since I had problems with the old one). I opened the various windows I wanted, then put them into sliding mode. I tried to drag the Projects button to the right of the screen, but had problems getting it into the right place. I wound up accidentally closing it before I could get it to the right place. So I tried to reopen it by pressing Ctrl-1. Then I got this exception. Pressing Ctrl-1 again worked.
Created attachment 40513 [details] Stack trace
I tried to reproduce without success, I have no chance to chase real reason down. However I updated TabbedAdapter to accept null selections and correct them (and log a warning), as whole rest of winsys model, snapshot and accessor is written that null selection is possible. fixed in main trunk: Checking in TabbedAdapter.java; /cvs/core/windows/src/org/netbeans/core/windows/view/ui/tabcontrol/TabbedAdapter.java,v <-- TabbedAdapter.java new revision: 1.39; previous revision: 1.38
*** Issue 50392 has been marked as a duplicate of this issue. ***