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.

Bug 100144 - AE "Null passed as component to select" from TabbedAdapter.setTopComponents
Summary: AE "Null passed as component to select" from TabbedAdapter.setTopComponents
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: David Simonek
URL:
Keywords:
: 50392 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-04-05 18:12 UTC by Jesse Glick
Modified: 2008-12-22 11:35 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Stack trace (3.10 KB, text/plain)
2007-04-05 18:13 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2007-04-05 18:12:46 UTC
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.
Comment 1 Jesse Glick 2007-04-05 18:13:18 UTC
Created attachment 40513 [details]
Stack trace
Comment 2 David Simonek 2007-09-11 12:10:06 UTC
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
Comment 3 Stanislav Aubrecht 2008-10-22 11:07:26 UTC
*** Issue 50392 has been marked as a duplicate of this issue. ***