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: | Freeze after removing types of phpdoc tag | ||
---|---|---|---|
Product: | php | Reporter: | junichi11 |
Component: | Editor | Assignee: | Tomas Mysik <tmysik> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | tmysik, twifty |
Priority: | P2 | ||
Version: | 8.2 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
patch
patch v2 |
Description
junichi11
2016-02-12 05:38:45 UTC
We need a thread dump [1]. Please, reproduce your problem, create thread dump and attach it to this issue. Thanks. [1] http://wiki.netbeans.org/GenerateThreadDump I'll do that later. The cause is the spellchecker for PHPDoc comments, sorry. Go into an infinite loop when the tag is checked. Thanks. (In reply to junichi11 from comment #2) > The cause is the spellchecker for PHPDoc comments, sorry. Go into an > infinite loop when the tag is checked. I see. Feel free to attach a patch or I can look at it if you prefer. Thanks. (In reply to Tomas Mysik from comment #3) > I see. Feel free to attach a patch or I can look at it if you prefer. If I cannot fix it, let you know. Thanks! Created attachment 158489 [details]
patch
I prevented it in the PHPTokenList. But I think that types should be an empty list in the PHPDocCommentParser if there is no type.
Tomas, could you please review it?
Thanks!
Created attachment 158499 [details]
patch v2
Just removed unused imports.
Thanks.
Patch seems fine to me. Thanks! Patch applied, thanks! http://hg.netbeans.org/web-main/rev/5a301e1003e8 *** Bug 257998 has been marked as a duplicate of this bug. *** Integrated into 'main-silver', will be available in build *201602160002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/5a301e1003e8 User: Tomas Mysik <tmysik@netbeans.org> Log: #257953 - Freeze after removing types of phpdoc tag Patch contributed by junichi11@netbeans.org. |