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: | Code completion in a php file with a LOT of class definitions freezes NetBeans | ||
---|---|---|---|
Product: | php | Reporter: | Vladimir Riha <vriha> |
Component: | Editor | Assignee: | Ondrej Brejla <obrejla> |
Status: | NEW --- | ||
Severity: | normal | CC: | amobilia, vriha |
Priority: | P4 | ||
Version: | 7.2 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
thread dump
sample project |
Created attachment 116931 [details]
sample project
Omg, sorry, but it's not a real use case...and it's really crazy scenario (there is many many-times recursion call) :) I would like to close it as won't fix, but I'll let it as a P4 reminder. Thanks. Agree, it's not exactly real-world example :) Reproductible in 8.2rc / Dev 201609210002 Take netbeans to crash on my computer. Maybe adding a limit to the number of recursion should be great, with a pop-up alert saying to many class extending ? |
Created attachment 116930 [details] thread dump When checking some failed automated test I came across issue #141992 Steps to reproduce: - open attached project and newEmptyPHP.php file - at the end of the file (after the last class definition) type: $variable = 1; $va| Invoke CC in place of "|" => NetBeans freezes (or it takes more then 3-4 minutes to finish). I did wait a while untill scanning finished and classes appeared in Navigator window and code folding marks were shown in editor before invoking CC. Because of the #141992 it probably did worked sometime. Product Version: NetBeans IDE Dev (Build 201203180400) Java: 1.7.0_03; Java HotSpot(TM) Client VM 22.1-b02 System: Linux version 3.0.0-16-generic running on i386; UTF-8; en_US (nb)