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.
Summary: | AssertionError at com.sun.tools.javac.util.Assert.error | ||
---|---|---|---|
Product: | java | Reporter: | Jiri Prox <jiriprox> |
Component: | Compiler | Assignee: | Dusan Balek <dbalek> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gtzabari |
Priority: | P1 | ||
Version: | 8.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 207490 |
Attachments: |
stacktrace
dump Thread dump Parser dump file |
Description
Jiri Prox
2014-02-11 14:25:41 UTC
Created attachment 145044 [details]
stacktrace
Created attachment 145045 [details]
dump
After reporting this bug, the IDE became non-responsive forcing me to terminate Netbeans (some task was running endlessly on the EDT). I don't know whether it is related to this issue or not, but I thought it's worth mentioning. Created attachment 145243 [details]
Thread dump
It happened again, so I'm attaching a thread dump for your review.
Increasing priority (because this takes down the entire IDE, every time), and attaching a parser dump file for your review. Created attachment 145244 [details]
Parser dump file
This parsing error is caused by the fact that the code invokes "continue" from within a lambda expression instead of "return". This should be flagged as a compiler error, but instead it triggers this parsing bug. Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/7c2993e6767e http://hg.netbeans.org/nb-javac/rev/8d5a70ef7ef5 Dusan, Before closing this bug, I suggest fixing the secondary bug which is: why does Netbeans crash when javac throws AssertionError? (Or should I file a separate bug for that?) Unfortunately, I was not able to reproduce the NB crash (only the AssertionError itself). So, if you have a reproducible test case for the crash, please, file a separate bug for it. Thanks. Integrated into 'main-silver', will be available in build *201402190001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/7c2993e6767e User: Dusan Balek <dbalek@netbeans.org> Log: Issue #241706: AssertionError at com.sun.tools.javac.util.Assert.error - fixed. |