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 25357 - NPE from PerimeterPane.PerimeterGapListener.mouseDragged while dragging splitter of disappearing Exec View
Summary: NPE from PerimeterPane.PerimeterGapListener.mouseDragged while dragging split...
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 3.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: Peter Zavadsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-04 05:44 UTC by Jesse Glick
Modified: 2008-12-23 09:42 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Stack trace (2.93 KB, text/plain)
2002-07-04 05:44 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2002-07-04 05:44:17 UTC
[dev jul 02] I ran (external) compilation on a
Java source. The Execution View appeared on the
right side of the Output Window. However the
splitter was way too far to the left, making the
Exec View consume about 75% of the horizontal
space. So I started dragging it to the right, so
as to consume only about 25% and leave 75% for the
Output Window. While doing this, the compilation
finished and the Exec View disappeared. At that
point this NPE was thrown (twice).
Comment 1 Jesse Glick 2002-07-04 05:44:57 UTC
Created attachment 6525 [details]
Stack trace
Comment 2 Peter Zavadsky 2002-07-04 08:29:51 UTC
Seems to be either a race condition or inconsistence in
PerimeterPane#PerimeterGapListener.
1) The execution component should have been removed not from AWT
thread, what I guess is wrong.
2) There is strange the outcode array and which is used to determine
the resizing component. There are already problems with cursor .

Marek, what do you think? I guess the 1) shouldn't be possible so the
2) is the problem?

Will make it robust as a quick solution.
Comment 3 Peter Zavadsky 2002-07-04 08:43:57 UTC
Fixed in [trunk]

Fix:
core/../windows/frames/PerimeterPane.java [1.17]
Comment 4 Marian Mirilovic 2002-09-18 13:27:23 UTC
verified in [nb_dev](20020918)
Comment 5 Quality Engineering 2003-07-01 16:51:14 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.