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 187544 - [69cat] java.beans.PropertyVetoException: Not allowed
Summary: [69cat] java.beans.PropertyVetoException: Not allowed
Status: RESOLVED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-14 13:18 UTC by gholmer
Modified: 2010-06-23 03:30 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 170676


Attachments
stacktrace (2.35 KB, text/plain)
2010-06-14 13:18 UTC, gholmer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gholmer 2010-06-14 13:18:24 UTC
This bug was originally marked as duplicate of bug 175275, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 6.9 RC2 (Build 201005312001)
VM: Java HotSpot(TM) Client VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02
OS: Linux

User Comments:
gorrus: clicked on the arrow in diff

GUEST: Performing diff

giorgio42: once again...

giorgio42: Tried to copy a change from source to dest while diffiing.

GUEST: diffing files moving changes from two files.

argv: Was attempting to revert a single local change in a Subversion diff on a properties file. No other local changes are present in said file.

giorgio42: Still in 200911230200 (Cannot copy added stuff from left to right pane in Tools -> Diff to).

ronnystandtke: Clicking on an arrow in the middle of a diff view.

giorgio42: o Trying to copy lines from left to right window in diff (properties file).

GUEST: I was "diff"ing (Tools>Diff...) build.properties file with its last version. When I clicked on the arrow to insert the missing lines (shown in RED) in the target build.properties file from source build.properties file, this exception occured. The lines that were diffrent (shown in blue or green) were getting updated properly, by the arrow clicks. (Please note that 'Arrorw' is the symbol that appears in the column between the two side-by-side files in the diff-view.)

GUEST: I was using the mercurial status (base - locally modified)

nlloyd: Unable to diff properties file against properties file with .sample suffix

GUEST: diffing files with CVS diff editor

GUEST: I viewed the subersion changes of a file and tried to add a deleted line from the trunk with the arrow in the middle to the local file. However it did not work, but this exception was thrown.

yardus: Trying to apply change in the diff window

GUEST: Merging a file with conflicts

GUEST: Marcar a la flecha que copia un bloque de Base a Local en un dif de un archivo properties.

gholmer: Occurred while reverting a local change in Subversion.

adam_myatt: in a Subversion Diff window looking at changes in a file between two versions. clicked the red X icon to remove a green-highlighted addition to a file. error occurred.

georges: Trying to move some text from left to right in diff pane.

GUEST: manually merging a big .properties file

dcherk: in CVS diff window, moving a change from 'Base' to 'Locally Modified'




Stacktrace: 
java.beans.PropertyVetoException: Not allowed
   at org.openide.text.CloneableEditorSupport$Listener.vetoableChange(CloneableEditorSupport.java:2856)
   at org.netbeans.editor.BaseDocument.notifyModify(BaseDocument.java:1878)
   at org.netbeans.editor.BaseDocument.notifyModifyCheckStart(BaseDocument.java:1011)
   at org.netbeans.editor.BaseDocument.insertString(BaseDocument.java:751)
   at org.netbeans.modules.diff.builtin.visualizer.editable.EditableDiffView.rollback(EditableDiffView.java:687)
   at org.netbeans.modules.diff.builtin.visualizer.editable.LineNumbersActionsBar.performAction(LineNumbersActionsBar.java:203)
Comment 1 gholmer 2010-06-14 13:18:28 UTC
Created attachment 100061 [details]
stacktrace
Comment 2 Vitezslav Stejskal 2010-06-15 09:21:26 UTC
Using editable diff on a readonly document...
Comment 3 Ondrej Vrabec 2010-06-22 09:27:37 UTC
fix: http://hg.netbeans.org/cdev/rev/0a69c0f95770
Comment 4 Quality Engineering 2010-06-23 03:30:44 UTC
Integrated into 'main-golden', will be available in build *201006230001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/0a69c0f95770
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: Issue #187544 - [69cat] java.beans.PropertyVetoException: Not allowed