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.
Build: NetBeans IDE Dev (Build 20140121-66acce1f24d6) VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b65, Java(TM) SE Runtime Environment, 1.8.0-ea-b123 OS: Windows 7 User Comments: jiriprox: ISE when editing javascrip file Stacktrace: java.lang.IllegalStateException at org.netbeans.api.editor.fold.Fold.extractToChildren(Fold.java:354) at org.netbeans.api.editor.fold.FoldHierarchy$ApiPackageAccessorImpl.foldExtractToChildren(FoldHierarchy.java:394) at org.netbeans.modules.editor.fold.FoldHierarchyTransactionImpl.addFold(FoldHierarchyTransactionImpl.java:956) 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:772)
Created attachment 144189 [details] stacktrace
Created attachment 144233 [details] stacktrace pasted line of code to PHP (single line of text without any folding)
Created attachment 144236 [details] stacktrace <html> <head> <title>CSS Demo for NetBeans QE</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" type="text/css" href="css/2.css"> </head> <body> <h1>Kask?dov?n?</h1> <p>Seznam knih</p> <!-- Class selectors --> <div class="n?zev_knihy">O letad?lku K?n?ti</div> <div class="jm?no">Bohumil ??ha</div> <!-- ID selectors --> <div id="navig?tor"> <a href="prvni.html">Prvn?</a> <a href="druhy.html">Druh?</a> </div> <p id="pati?ka">Copyrights 2014</p> <!-- Contextual selectors --> <div id="pati?ka"> Copyrights <span>2014</span> </div> </body> </html>
Created attachment 144345 [details] stacktrace In an AngularJS JavaScript file, I typed this: customerFactory.get({) The error appeared when typing the opening curly-brace.
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=206795
Created attachment 144365 [details] stacktrace after Code COmpletion in scss file
Created attachment 144369 [details] stacktrace Delete some lines
Created attachment 144410 [details] stacktrace Add custom element to project...
Created attachment 144411 [details] stacktrace Comment piece of code...
This bug already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=206795
Created attachment 144414 [details] stacktrace Add custom html element to project...
Created attachment 144425 [details] stacktrace editing a JS file.
Created attachment 144433 [details] stacktrace While editing a javascript file, I wanted to comment a if/else statement I typed "//" before the first "if" and... exception.
I finally succeeded in reproduction. A removed fold reference has escaped and caused ill behaviour later; fixed updating folds that create collision with the hierarchy. May affect fix for issue #239195. Implemented in jet-main#1d2fce0095a0
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/1d2fce0095a0 User: Svata Dedic <sdedic@netbeans.org> Log: #240755: fixed fold updates when changing hierarchy. Lowered error visibility