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.
Product Version = NetBeans IDE 8.0.1 (Build 201408251540) Operating System = Linux version 3.5.0-54-generic running on amd64 Java; VM; Vendor = 1.7.0_67 Runtime = Java HotSpot(TM) 64-Bit Server VM 24.65-b04 After the last upgrade the code completion for included libraries that are part of the project tree stopped working. Project is of Zend Framework 2 type, i.e. the libraries are contained in the /vendor folder under the project root. It does not matter whether the library is symlinked to or physically present in the /vendor/ folder. Code completion also does not work for classes outside the folder of class that is currently being worked at. Code completion works fine only for current folder and for native PHP stuff. Unfortunately, code completion is the feature I use the most and without it I could just switch to notepad...
By "upgrade" do you mean from 8.0 to 8.0.1? If so, please close NetBeans, remove your cache directory and start NetBeans again. It should work then. You can find location of your cache directory in Help->About in NetBeans, typically something like /home/[user]/.cache/netbeans/8.0
Yes, by upgrade I meant from 8.0 to 8.0.1. Deleting the cache worked and code completion works once again, thanks! Unfortunately, after starting the NetBeans (after I have deleted the cache folder) I got the following exception (during scanning the project): java.lang.StackOverflowError at java.util.HashMap.inflateTable(HashMap.java:317) at java.util.HashMap.put(HashMap.java:488) at java.util.HashSet.add(HashSet.java:217) at org.netbeans.modules.javascript2.editor.model.impl.ModelUtils.resolveTypeFromSemiType(ModelUtils.java:590) at org.netbeans.modules.javascript2.editor.model.impl.JsObjectImpl.resolveTypes(JsObjectImpl.java:394) at org.netbeans.modules.javascript2.editor.model.impl.JsFunctionImpl.resolveTypes(JsFunctionImpl.java:250) at org.netbeans.modules.javascript2.editor.model.Model.resolveLocalTypes(Model.java:493) at org.netbeans.modules.javascript2.editor.model.Model.resolveLocalTypes(Model.java:504) (last exception line mentioning line 504 in Model.java is then repeating cca 50 times) After the restart (File -> Restart NetBeans) this exception didn't occur again. Once again, thanks for your help. Hopefully I'll remember to delete the cache after next upgrade (if any).
Thanks for confirmation. Deleting cache dir should not be required, it is a "workaround" to issue 247026. There should be another patch on the way (it is not released yet) with fixes for this issue and also the StackOverflowError. *** This bug has been marked as a duplicate of bug 247026 ***