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 174414 - [68cat] java.beans.PropertyVetoException: Not allowed
Summary: [68cat] java.beans.PropertyVetoException: Not allowed
Status: RESOLVED DUPLICATE of bug 175275
Alias: None
Product: utilities
Classification: Unclassified
Component: Properties (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Victor Vasilyev
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-13 09:26 UTC by aldobrucale
Modified: 2009-11-25 01:55 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 160057


Attachments
stacktrace (2.48 KB, text/plain)
2009-10-13 09:26 UTC, aldobrucale
Details
stacktrace (2.48 KB, text/plain)
2009-11-06 09:49 UTC, aldobrucale
Details
stacktrace (2.48 KB, text/plain)
2009-11-17 01:25 UTC, ieising
Details
stacktrace (2.48 KB, text/plain)
2009-11-19 07:48 UTC, aldobrucale
Details

Note You need to log in before you can comment on or make changes to this bug.
Description aldobrucale 2009-10-13 09:26:15 UTC
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)
Comment 1 aldobrucale 2009-10-13 09:26:22 UTC
Created attachment 89354 [details]
stacktrace
Comment 2 mslama 2009-10-13 17:19:19 UTC
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.
Comment 3 Victor Vasilyev 2009-10-16 13:37:22 UTC
The properties component is responsible for Properties files (resource bundles).
I don't see any relations to its functionality in this issue.
Comment 4 aldobrucale 2009-11-06 09:49:15 UTC
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)
Comment 5 aldobrucale 2009-11-06 09:49:21 UTC
Created attachment 90546 [details]
stacktrace
Comment 6 ieising 2009-11-17 01:25:47 UTC
Created attachment 91150 [details]
stacktrace
Comment 7 aldobrucale 2009-11-19 07:48:41 UTC
Created attachment 91352 [details]
stacktrace
Comment 8 mslama 2009-11-25 01:52:55 UTC

*** This bug has been marked as a duplicate of bug 175275 ***