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 207416 - [71cat] org.netbeans.editor.GuardedException: Modification prohibited
Summary: [71cat] org.netbeans.editor.GuardedException: Modification prohibited
Status: RESOLVED WONTFIX
Alias: None
Product: xml
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-17 23:27 UTC by javydreamercsw
Modified: 2015-09-17 14:12 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 184490


Attachments
stacktrace (1.02 KB, text/plain)
2012-01-17 23:27 UTC, javydreamercsw
Details

Note You need to log in before you can comment on or make changes to this bug.
Description javydreamercsw 2012-01-17 23:27:04 UTC
Build: NetBeans IDE 7.1 (Build 201112071828)
VM: Java HotSpot(TM) Client VM, 22.0-b10, Java(TM) SE Runtime Environment, 1.7.0_02-b13
OS: Windows 7

User Comments:
javydreamercsw: Trying to modify a file from a jar. It shouldn't allow you to modify it but not throw this exception.




Stacktrace: 
org.netbeans.editor.GuardedException: Modification prohibited
   at org.netbeans.editor.BaseDocument.checkModifiable(BaseDocument.java:998)
   at org.netbeans.editor.BaseDocument.replace(BaseDocument.java:983)
   at org.netbeans.modules.xml.multiview.Utils$1.run(Utils.java:116)
   at org.netbeans.editor.GuardedDocument.runAtomic(GuardedDocument.java:317)
   at org.openide.text.NbDocument.runAtomic(NbDocument.java:422)
   at org.netbeans.modules.xml.multiview.Utils.replaceDocument(Utils.java:130)
Comment 1 javydreamercsw 2012-01-17 23:27:06 UTC
Created attachment 114980 [details]
stacktrace
Comment 2 Exceptions Reporter 2012-12-11 13:14:00 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=184490
Comment 3 Martin Balin 2015-09-17 14:12:37 UTC
Report from old NetBeans version. Due to code changes since it was reported likely not reproducible now. Feel free to reopen if happens in 8.0.2 or 8.1.