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

Summary: org.netbeans.editor.GuardedException: Attempt to remove from guarded block at position 8,419.
Product: editor Reporter: Exceptions Reporter <exceptions_reporter>
Component: -- Other --Assignee: Milutin Kristofic <mkristofic>
Status: NEW ---    
Severity: normal CC: aldobrucale, bolsover, cezariusz, francogp, javydreamercsw, jiriprox, kjozic, nhoffmann, Salamander, scanti
Priority: P3    
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 207652
Attachments: stacktrace

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.

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

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 
Comment 4 Exceptions Reporter 2014-05-04 19:15:19 UTC
Created attachment 147099 [details]

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

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

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]

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]

Editing generated bean info