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 223205

Summary: IllegalStateException: FoldHierarchyChange already committed.
Product: third-party Reporter: stosh
Component: -- Other --Assignee: issues@third-party <issues>
Status: NEW ---    
Severity: normal CC: arren, IamZhouSir, meetnavpk, sdedic, stenlee, stosh
Priority: P3    
Version: 7.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 189814
Attachments: stacktrace
stacktrace

Description stosh 2012-12-03 20:17:17 UTC
Build: NetBeans IDE 7.2 (Build 201207171143)
VM: Java HotSpot(TM) Client VM, 22.1-b02, Java(TM) SE Runtime Environment, 1.7.0_03-b05
OS: Windows XP

User Comments:
stosh: I didn't click on any plus signs in the editor.

meetnavpk: A java.lang.IllegalStateException exception has occurred.
However, the system should continue working without further problems.
Click Show Details for the stack trace




Stacktrace: 
java.lang.IllegalStateException: FoldHierarchyChange already committed.
   at org.netbeans.modules.editor.fold.FoldHierarchyTransactionImpl.checkNotCommitted(FoldHierarchyTransactionImpl.java:1074)
   at org.netbeans.modules.editor.fold.FoldHierarchyTransactionImpl.addFold(FoldHierarchyTransactionImpl.java:542)
   at org.netbeans.modules.editor.fold.FoldHierarchyExecution.add(FoldHierarchyExecution.java:363)
   at org.netbeans.modules.editor.fold.FoldOperationImpl.addToHierarchy(FoldOperationImpl.java:185)
   at org.netbeans.spi.editor.fold.FoldOperation.addToHierarchy(FoldOperation.java:140)
   at com.tsi.netbeans.modules.languages.velocity.editor.fold.VTLFoldAnalyser.visitImpl(VTLFoldAnalyser.java:120)
Comment 1 stosh 2012-12-03 20:17:22 UTC
Created attachment 128802 [details]
stacktrace
Comment 2 stosh 2012-12-03 20:28:32 UTC
Created attachment 128803 [details]
stacktrace
Comment 3 Svata Dedic 2012-12-05 08:09:24 UTC
Seems as Velocity is trying to commit an already committed transaction