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.
This issue was originally marked as duplicate of issue 166190, that is already resolved. This issue is still valid, so this seems to be another issue, but it might be related. Build: NetBeans IDE Dev (Build 200910100201) VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01 OS: Linux, 2.6.28-15-generic, i386 User Comments: GUEST: Trying to pres "x" button in visual diff to remove changed line GUEST: Trying to remove a modification in CVS diff viewer using the red cross icon kamilparal: In the subversion diff window I showed differences of genfiles.properties and clicked red cross next to newly added lines to delete them. Didn't work. GUEST: Trying to remove a section of local code, that was causing a conflict. I was bring ing my code up to the correct version, and needed to remove some liones of code with the red X, given in the comparison screen. GUEST: Doing Diff between local and remote files. GUEST: Problem occurs during resolve svn conflict alanbur: deleting diff block GUEST: I was editing an svn conflict : genfiles.properties, visually identical on both side. Mine being on Vista64, the other one being on Mac os x. I clicked the cross to delete the remote version -> exception GUEST: Trying to restore/delete lines in diff viewer tionline: error times : svn diff properties file GUEST: Tried to remove a line in the Diff viewer using the red cross next to the line number GUEST: Opened two files in diff mode and tried to insert one difference. GUEST: Tried to remove record from project.properties via Diff mithun_gonsalvez: Trying to Delete Entry (Using the red color 'x' mark) from nblibraries.properties from Hg Diff View. jbfaden: using diff, trying to undo diff in nbproject/project.properties aldobrucale: Trying to delete a line marked as "locally new" by mercurial by clicking the red cross in the right pane of the "diff" pane. Stacktrace: java.beans.PropertyVetoException: Not allowed at org.openide.text.CloneableEditorSupport$Listener.vetoableChange(CloneableEditorSupport.java:2807) at org.netbeans.editor.BaseDocument.notifyModify(BaseDocument.java:1828) at org.netbeans.editor.BaseDocument.notifyModifyCheckStart(BaseDocument.java:977) at org.netbeans.editor.BaseDocument.remove(BaseDocument.java:876) at org.netbeans.modules.diff.builtin.visualizer.editable.EditableDiffView.rollback(EditableDiffView.java:582) at org.netbeans.modules.diff.builtin.visualizer.editable.LineNumbersActionsBar.performAction(LineNumbersActionsBar.java:198)
Created attachment 89354 [details] stacktrace
I added logging to see why it fails. Last report http://statistics.netbeans.org/exceptions/exception.do?id=277782 shows in IDE log that PropertiesEditorSupport.notifyModified returns false. So passing to properties module for evaluation. You can add logging too.
The properties component is responsible for Properties files (resource bundles). I don't see any relations to its functionality in this issue.
Build: NetBeans IDE Dev (Build 200911051401) VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01 OS: Linux, 2.6.31-14-generic, i386 User Comments: Clicked on the red cross in hg diff window Stacktrace: java.beans.PropertyVetoException: Not allowed at org.openide.text.CloneableEditorSupport$Listener.vetoableChange(CloneableEditorSupport.java:2840) at org.netbeans.editor.BaseDocument.notifyModify(BaseDocument.java:1828) at org.netbeans.editor.BaseDocument.notifyModifyCheckStart(BaseDocument.java:977) at org.netbeans.editor.BaseDocument.remove(BaseDocument.java:876) at org.netbeans.modules.diff.builtin.visualizer.editable.EditableDiffView.rollback(EditableDiffView.java:582) at org.netbeans.modules.diff.builtin.visualizer.editable.LineNumbersActionsBar.performAction(LineNumbersActionsBar.java:198)
Created attachment 90546 [details] stacktrace
Created attachment 91150 [details] stacktrace
Created attachment 91352 [details] stacktrace
*** This bug has been marked as a duplicate of bug 175275 ***