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 183963 - Fixes in view hierarchy random tests
Summary: Fixes in view hierarchy random tests
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 6.x
Hardware: PC Mac OS X
: P2 normal (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-13 07:22 UTC by Miloslav Metelka
Modified: 2010-04-22 18:36 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Miloslav Metelka 2010-04-13 07:22:23 UTC
I've made several fixes in the view hierarchy and editor.lib resulting from failures of view hierarchy random tests.
1) In end local view examination in ViewBuilder's constructor could go beyond last local view resulting into NPE.
2) Handling of undo of a removal at offset==0.
3) Redo of an undoable edit wrapping an atomic compound edit could result into a NPE (Fix in BaseDocument related code).
4) Caret's code not read-locking a document (fix in BaseCaret).
Comment 1 Miloslav Metelka 2010-04-13 07:35:40 UTC
http://hg.netbeans.org/jet-main/rev/1943c0680adc
Comment 2 Miloslav Metelka 2010-04-13 13:53:45 UTC
One more improvement: http://hg.netbeans.org/jet-main/rev/5e444d180fb4
Comment 3 Quality Engineering 2010-04-13 17:38:21 UTC
Integrated into 'main-golden', will be available in build *201004131450* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/1943c0680adc
User: Miloslav Metelka <mmetelka@netbeans.org>
Log: #183963 - Fixes in view hierarchy random tests.
Comment 4 Quality Engineering 2010-04-14 04:41:40 UTC
Integrated into 'main-golden', will be available in build *201004140201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/5e444d180fb4
User: Miloslav Metelka <mmetelka@netbeans.org>
Log: #183963 - Fixes in view hierarchy random tests - fixed particular random failure.