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 239266 - IllegalStateException: fold [tags] E0 <893,2497>, desc='<.../>', hash=0x3d4c5512, [893, 2497] {894, 2496} already blocked
Summary: IllegalStateException: fold [tags] E0 <893,2497>, desc='<.../>', hash=0x3d4c5...
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Code folding (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-09 13:30 UTC by Maksim Khramov
Modified: 2014-01-31 02:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 205876


Attachments
stacktrace (1.90 KB, text/plain)
2013-12-09 13:30 UTC, Maksim Khramov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maksim Khramov 2013-12-09 13:30:55 UTC
Build: NetBeans IDE Dev (Build 201311280002)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18
OS: Windows 7

User Comments:
mkhramov: Editing JSF XHTML code




Stacktrace: 
java.lang.IllegalStateException: fold [tags] E0 <893,2497>, desc='<.../>', hash=0x3d4c5512, [893, 2497] {894, 2496} already blocked
   at org.netbeans.modules.editor.fold.FoldHierarchyExecution.markBlocked(FoldHierarchyExecution.java:545)
   at org.netbeans.modules.editor.fold.FoldHierarchyTransactionImpl.addFold(FoldHierarchyTransactionImpl.java:984)
   at org.netbeans.modules.editor.fold.FoldHierarchyTransactionImpl.addFold(FoldHierarchyTransactionImpl.java:794)
   at org.netbeans.modules.editor.fold.FoldHierarchyTransactionImpl.addFold(FoldHierarchyTransactionImpl.java:647)
   at org.netbeans.modules.editor.fold.FoldHierarchyTransactionImpl.commit(FoldHierarchyTransactionImpl.java:238)
   at org.netbeans.modules.editor.fold.FoldOperationImpl$Refresher.run(FoldOperationImpl.java:764)
Comment 1 Maksim Khramov 2013-12-09 13:30:57 UTC
Created attachment 142970 [details]
stacktrace
Comment 2 Svata Dedic 2014-01-28 13:47:46 UTC
Not exactly reproduced; upposedly fixed by jet-main#b1770c3be4e0
Comment 3 Quality Engineering 2014-01-31 02:39:23 UTC
Integrated into 'main-silver', will be available in build *201401310001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/b1770c3be4e0
User: Svata Dedic <sdedic@netbeans.org>
Log: #239266: remove block mark from folds that should be reinserted, the block mark will be restored during addFold