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 242105 - org.netbeans.editor.GuardedException: Attempt to remove from guarded block at position 8,419.
Summary: org.netbeans.editor.GuardedException: Attempt to remove from guarded block at...
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-19 15:16 UTC by Exceptions Reporter
Modified: 2017-01-26 14:14 UTC (History)
10 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 207652


Attachments
stacktrace (5.68 KB, text/plain)
2014-02-19 15:16 UTC, Exceptions Reporter
Details
stacktrace (3.05 KB, text/plain)
2014-03-18 15:47 UTC, javydreamercsw
Details
stacktrace (3.06 KB, text/plain)
2014-05-04 19:15 UTC, Exceptions Reporter
Details
stacktrace (3.06 KB, text/plain)
2014-06-24 10:42 UTC, Exceptions Reporter
Details
stacktrace (4.39 KB, text/plain)
2015-10-07 15:36 UTC, bolsover
Details
stacktrace (3.24 KB, text/plain)
2016-04-06 09:23 UTC, aldobrucale
Details
stacktrace (4.23 KB, text/plain)
2016-12-14 11:24 UTC, Jiri Prox
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2014-02-19 15:16:46 UTC
This bug was originally marked as duplicate of bug 205457, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.4 (Build 201310111528)
VM: Java HotSpot(TM) Client VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18
OS: Windows XP

User Comments:
GUEST: Editing Java file

kjozic: Charshed during refactoring to JDK7.




Stacktrace: 
org.netbeans.editor.GuardedException: Attempt to remove from guarded block at position 8,419.
   at org.netbeans.editor.GuardedDocument.preRemoveCheck(GuardedDocument.java:295)
   at org.netbeans.editor.BaseDocument.handleRemove(BaseDocument.java:973)
   at org.netbeans.editor.BaseDocument$FilterBypassImpl.remove(BaseDocument.java:2493)
   at javax.swing.text.DocumentFilter.remove(DocumentFilter.java:79)
   at org.openide.text.CloneableEditorSupport$DocFilter.remove(CloneableEditorSupport.java:2341)
   at org.netbeans.editor.BaseDocument.remove(BaseDocument.java:937)
Comment 1 Exceptions Reporter 2014-02-19 15:16:48 UTC
Created attachment 145406 [details]
stacktrace
Comment 2 javydreamercsw 2014-03-18 15:47:49 UTC
Created attachment 146107 [details]
stacktrace

Tried Upgrade to JDK 7 from inspect and transform.
Comment 3 Exceptions Reporter 2014-04-29 09:18:00 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=207652
Comment 4 Exceptions Reporter 2014-05-04 19:15:19 UTC
Created attachment 147099 [details]
stacktrace

migrate my project to java 8
Comment 5 Exceptions Reporter 2014-06-24 10:42:02 UTC
Created attachment 147758 [details]
stacktrace

erro ao migrar do JDK 5 para JDK 7
Comment 6 bolsover 2015-10-07 15:36:58 UTC
Created attachment 156594 [details]
stacktrace

Creating and editing BeanInfo using right click context menu: BeanInfo Editor
Comment 7 aldobrucale 2016-04-06 09:23:39 UTC
Created attachment 159129 [details]
stacktrace

Inspect and transform tried to use static imports in guarded block
Comment 8 Jiri Prox 2016-12-14 11:24:48 UTC
Created attachment 163233 [details]
stacktrace

Editing generated bean info