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 245756

Summary: "Go To File" freezes the IDE
Product: updatecenters Reporter: shadyyx
Component: PluginportalAssignee: vralfy
Status: REOPENED ---    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: IDE log
Snapshot Go To File Freezes IDE

Description shadyyx 2014-07-17 11:42:24 UTC
Product Version = NetBeans IDE 8.0 (Build 201403101706)
Operating System = Linux version 3.5.0-51-generic running on amd64
Java; VM; Vendor = 1.7.0_60
Runtime = Java HotSpot(TM) 64-Bit Server VM 24.60-b09


I have a PHP project build using Zend Framework 2. It uses coffee script and sass on the frontend but both compilers are run from command line - no compiling using NetBeans on file save.
I also use the PHPCSMD module/plugin for NetBeans to check PSR compliance of the PHP code. Tried to turn of the PHPCSMD extension with no change.

If I use the "Go To File" feature and select one of the controller classes the IDE freezes completely from time to time for about 30 seconds to few minutes. This is reproducible with big classes. The bigger the class (more methods or more lines of code, I don't know the reason) the longer it takes to open it while the IDE is completely frozen.

The IDE Log (attached) says only "WARNING [org.netbeans.core.TimableEventQueue]: too much time in AWT thread null" in these cases.

Using this feature should speed the work - not to slow it down even more. For now it is better for me to find the appropriate file using the project tree and open it from there - with no lags nor freezing.
Comment 1 shadyyx 2014-07-17 11:42:28 UTC
Created attachment 148100 [details]
IDE log
Comment 2 Tomas Hurka 2014-07-17 11:49:19 UTC
Please attach a .npss snapshot of the time when IDE is frozen via 
http://wiki.netbeans.org/FitnessViaPartnership Thanks.
Comment 3 shadyyx 2014-07-17 11:59:48 UTC
Created attachment 148101 [details]
Snapshot Go To File Freezes IDE
Comment 4 Tomas Hurka 2014-07-17 13:33:47 UTC
Thanks for the npss file. This npss snapshot shows that module de.foopara.phpcsmd is responsible for the AWT freeze.
Comment 5 Tomas Hurka 2014-07-17 13:37:22 UTC
Reassigning to updatecenters/pluginportal
Comment 6 shadyyx 2014-07-17 15:06:02 UTC
At the point of creating the snapshot I had that plugin PHPCSMD turned of (in settings for PHP). Strange that even after disabling it it is being active somehow.
Comment 7 Tomas Hurka 2014-07-17 16:09:34 UTC
Both your messages.log file and npss snapshot show that de.foopara.phpcsmd module is enabled. Try to disable or uninstall it via Tools->Plugins
Comment 8 Jiri Kovalsky 2014-07-22 13:12:48 UTC
Rassigning to Norman Specjt - owner of http://plugins.netbeans.org/plugin/42434 plugin. Norman, can you please take a look at this problem? Thanks!
Comment 9 shadyyx 2015-02-05 09:50:10 UTC
There is no progress on this issue. The owner of plugin didn't provide any support here. Unfortunately I have the plugin disabled since then which makes it useless in the end.

Could you shed few words to the topic, Norman?
Thanks.
Comment 10 Jiri Kovalsky 2015-02-05 10:50:43 UTC
Peter, have you tried the unsigned version of the PHPCSMD plugin I have attached to issue #246316? Norman fixed some problem(s) in Spring 2014 but didn't publish the plugin anywhere so I have built it and attached to #246316. Let us know if that helps.