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 236045 - Throwable at org.netbeans.modules.editor.fold.FoldChildren.insertImpl
Summary: Throwable at org.netbeans.modules.editor.fold.FoldChildren.insertImpl
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-09-17 00:48 UTC by janario
Modified: 2013-09-19 13:51 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 203877


Attachments
stacktrace (2.20 KB, text/plain)
2013-09-17 00:48 UTC, janario
Details
stacktrace (2.13 KB, text/plain)
2013-09-17 08:42 UTC, brettryan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description janario 2013-09-17 00:48:17 UTC
Build: NetBeans IDE Dev (Build 20130916-bf4eefdc37ae)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b15
OS: Linux

User Comments:
abjerkho: Was just editing a text-string in a php document, - adding a single quote to split the string in two, causing a temporary syntax error.

nadavvin: in html file with angularjs, after writing script tag: "<script type="text/javascript"></script>"
after writing script tag: "" without the
after writing script tag: "&gt script type="text/javascript">" without the "&lt /script >"

GUEST: in primefaces page (.xhtml jsf) create <ul>

mapsi: this messages keeps popping up :(

padraigdoran: putting in braces into a brace-less if/else statement

janario: .




Stacktrace: 
java.lang.Throwable
   at org.netbeans.modules.editor.fold.FoldChildren.insertImpl(FoldChildren.java:247)
   at org.netbeans.modules.editor.fold.FoldChildren.insertImpl(FoldChildren.java:227)
   at org.netbeans.modules.editor.fold.FoldChildren.replaceByChildren(FoldChildren.java:215)
   at org.netbeans.api.editor.fold.Fold.replaceByChildren(Fold.java:377)
   at org.netbeans.api.editor.fold.FoldHierarchy$ApiPackageAccessorImpl.foldReplaceByChildren(FoldHierarchy.java:398)
   at org.netbeans.modules.editor.fold.FoldHierarchyTransactionImpl.removeFoldFromHierarchy(FoldHierarchyTransactionImpl.java:1004)
Comment 1 janario 2013-09-17 00:48:19 UTC
Created attachment 140149 [details]
stacktrace
Comment 2 brettryan 2013-09-17 08:42:04 UTC
Created attachment 140163 [details]
stacktrace

Will not let me access the editor, just keeps coming up.
Comment 3 Svata Dedic 2013-09-17 10:11:57 UTC
Error appears in dev version only
Comment 4 Svata Dedic 2013-09-17 11:55:22 UTC
The root cause is already corrupted folding data. The probable cause is fixed in http://hg.netbeans.org/jet-main/rev/a049f66cb27c
Comment 5 muellermi 2013-09-19 07:52:12 UTC
NetBeans Error Report Upload Complete
It has now been added to the database with id #692415. It has been classified as a duplicate of report #203877.
This bug was already fixed.
Please update your build of NetBeans to the latest build of Dev where bug #236045 is fixed. If you are already using a newer build and your report meets certain criteria a new bug will be filed automatically.
Your previous reports
Thanks again for your help.  The NetBeans development team!

##### Reopened, cause I'm using today's build (20130918...) and the crash still happens. #####
Comment 6 Svata Dedic 2013-09-19 07:59:44 UTC
(In reply to muellermi from comment #5)
> 
> ##### Reopened, cause I'm using today's build (20130918...) and the crash
> still happens. #####

Today's (yesterday's) build does not mean that the fix pushed a day before is actually included in the build. Read more about multiple repositories and propagation on NetBeans.org, if interested. 
The fix changeset did not yet propagate to the daily build; stay tuned, the builder process will add a message to this defect when it finally propagates.