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.
This issue was reported manually by fzamboj. It already has 8 duplicates Build: NetBeans IDE Dev (Build 100910-9af588ea8af0) VM: Java HotSpot(TM) 64-Bit Server VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01 OS: Linux User Comments: GUEST: attempting to use autocompletion on a view file (Zend Framework Powered) GUEST: Editing Zend Framework Code fzamboj: auto cc in zend template fzamboj: well, it looks it is thrown only when code completion is to be invoked (manually or automatically) Stacktrace: java.lang.NullPointerException at org.netbeans.modules.php.editor.elements.FieldElementImpl.fromFrameworks(FieldElementImpl.java:155) at org.netbeans.modules.php.editor.elements.IndexQueryImpl.initExtendedQuery(IndexQueryImpl.java:168) at org.netbeans.modules.php.editor.elements.IndexQueryImpl.init(IndexQueryImpl.java:129) at org.netbeans.modules.php.editor.elements.IndexQueryImpl.<init>(IndexQueryImpl.java:124) at org.netbeans.modules.php.editor.elements.IndexQueryImpl.create(IndexQueryImpl.java:183) at org.netbeans.modules.php.editor.model.impl.IndexScopeImpl.<init>(IndexScopeImpl.java:100)
Created attachment 101991 [details] stacktrace
it's almost impossible to work in template because this is being thrown regularly ...
batch reassigning
Created attachment 102313 [details] hopefully right fix - please test
(In reply to comment #4) > hopefully right fix - please test Works for me, please apply it if it's correct. Thanks.
Tanks to Radek for the fix. It works for me as well. Applied.
Integrated into 'main-golden', will be available in build *201010120000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/ea625a28528a User: Petr Pisl <ppisl@netbeans.org> Log: #190309 - NullPointerException at org.netbeans.modules.php.editor.elements.FieldElementImpl.fromFrameworks
*** Bug 190484 has been marked as a duplicate of this bug. ***