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 98642 - GuardedException when usin editable diff
Summary: GuardedException when usin editable diff
Status: VERIFIED DUPLICATE of bug 99098
Alias: None
Product: utilities
Classification: Unclassified
Component: Diff (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: diff-issues@utilities
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-22 13:56 UTC by novakm
Modified: 2007-03-28 08:17 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Exception Stacktrace (2.01 KB, text/plain)
2007-03-22 13:56 UTC, novakm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description novakm 2007-03-22 13:56:12 UTC
Assuming you are designing some jFrame.
1) Add a new component and save it.
2) Invoke CVS | Diff... from the <form>.java context menu.
3) Try to remove new lines in local copy using the red cross
-> following exception is thrown:
org.netbeans.editor.GuardedException: Attempt to remove from guarded block at
position 776.
	at org.netbeans.editor.GuardedDocument.preRemoveCheck(GuardedDocument.java:192)
	at org.netbeans.editor.BaseDocument.remove(BaseDocument.java:741)
	at
org.netbeans.modules.diff.builtin.visualizer.editable.EditableDiffView.rollback(EditableDiffView.java:366)
...

-----
NetBeans IDE Dev (Build 200703211900)
1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105
Windows Vista version 6.0 running on x86
en_GB (nb); Cp1252
Comment 1 novakm 2007-03-22 13:56:41 UTC
Created attachment 39812 [details]
Exception Stacktrace
Comment 2 Maros Sandor 2007-03-27 15:00:30 UTC

*** This issue has been marked as a duplicate of 99098 ***
Comment 3 novakm 2007-03-28 08:17:49 UTC
Well, verified duplicate. Except for the fact I filed it 5 days earlier :)