java.lang.IllegalArgumentException: (endOffset=3546 - startOffset=3545) < (startGuardedLength=1 + endGuardedLength=1) at org.netbeans.api.editor.fold.Fold.(Fold.java:131) at org.netbeans.api.editor.fold.FoldHierarchy$ApiPackageAccessorImpl.createFold(FoldHierarchy.java:371) at org.netbeans.modules.editor.fold.FoldOperationImpl.createFold(FoldOperationImpl.java:170) at org.netbeans.spi.editor.fold.FoldOperation.addToHierarchy(FoldOperation.java:204) at org.netbeans.modules.editor.fold.FoldOperationImpl$Refresher.run(FoldOperationImpl.java:659) at org.netbeans.modules.editor.fold.FoldOperationImpl.update(FoldOperationImpl.java:483) at org.netbeans.spi.editor.fold.FoldOperation.update(FoldOperation.java:406) at org.netbeans.modules.csl.editor.fold.GsfFoldManager$CommitFolds.run(GsfFoldManager.java:662) at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1383) at org.netbeans.modules.csl.editor.fold.GsfFoldManager$CommitFolds.run(GsfFoldManager.java:627) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:721) at java.awt.EventQueue.access$200(EventQueue.java:103) at java.awt.EventQueue$3.run(EventQueue.java:682) at java.awt.EventQueue$3.run(EventQueue.java:680) at java.security.AccessController.doPrivileged(AccessController.java:0) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:691) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138) at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)