java.lang.NullPointerException at org.netbeans.modules.php.editor.elements.VariableElementImpl.fromFrameworks(VariableElementImpl.java:150) at org.netbeans.modules.php.editor.elements.IndexQueryImpl.initExtendedQuery(IndexQueryImpl.java:162) at org.netbeans.modules.php.editor.elements.IndexQueryImpl.init(IndexQueryImpl.java:129) at org.netbeans.modules.php.editor.elements.IndexQueryImpl.(IndexQueryImpl.java:124) at org.netbeans.modules.php.editor.elements.IndexQueryImpl.create(IndexQueryImpl.java:183) at org.netbeans.modules.php.editor.model.impl.IndexScopeImpl.(IndexScopeImpl.java:100) at org.netbeans.modules.php.editor.model.impl.IndexScopeImpl.(IndexScopeImpl.java:94) at org.netbeans.modules.php.editor.model.impl.ModelVisitor.getIndexScope(ModelVisitor.java:1006) at org.netbeans.modules.php.editor.model.Model.getIndexScope(Model.java:80) at org.netbeans.modules.php.editor.model.impl.FileScopeImpl.getIndexScope(FileScopeImpl.java:90) at org.netbeans.modules.php.editor.model.ModelUtils.getIndexScope(ModelUtils.java:414) at org.netbeans.modules.php.editor.model.impl.IndexScopeImpl.getTypes(IndexScopeImpl.java:132) at org.netbeans.modules.php.editor.model.impl.VariableNameImpl.getTypesImpl(VariableNameImpl.java:375) at org.netbeans.modules.php.editor.model.impl.VariableNameImpl.getTypes(VariableNameImpl.java:281) at org.netbeans.modules.php.editor.model.impl.VariousUtils.getType(VariousUtils.java:437) at org.netbeans.modules.php.editor.model.ModelUtils.resolveType(ModelUtils.java:188) at org.netbeans.modules.php.editor.verification.IntroduceHint$IntroduceFixVisitor.visit(IntroduceHint.java:188) at org.netbeans.modules.php.editor.parser.astnodes.MethodInvocation.accept(MethodInvocation.java:73) at org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.scan(DefaultVisitor.java:54) at org.netbeans.modules.php.editor.verification.IntroduceHint$IntroduceFixVisitor.scan(IntroduceHint.java:159) at org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.visit(DefaultVisitor.java:77) at org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultTreePathVisitor.visit(DefaultTreePathVisitor.java:172) at org.netbeans.modules.php.editor.parser.astnodes.ArrayElement.accept(ArrayElement.java:91) at org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.scan(DefaultVisitor.java:54) at org.netbeans.modules.php.editor.verification.IntroduceHint$IntroduceFixVisitor.scan(IntroduceHint.java:159) at org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.scan(DefaultVisitor.java:61) at org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.visit(DefaultVisitor.java:72) at org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultTreePathVisitor.visit(DefaultTreePathVisitor.java:167) at org.netbeans.modules.php.editor.parser.astnodes.ArrayCreation.accept(ArrayCreation.java:84) at org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.scan(DefaultVisitor.java:54) at org.netbeans.modules.php.editor.verification.IntroduceHint$IntroduceFixVisitor.scan(IntroduceHint.java:159) at org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.scan(DefaultVisitor.java:61) at org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.visit(DefaultVisitor.java:207) at org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultTreePathVisitor.visit(DefaultTreePathVisitor.java:314) at org.netbeans.modules.php.editor.parser.astnodes.FunctionInvocation.accept(FunctionInvocation.java:89) at org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.scan(DefaultVisitor.java:54) at org.netbeans.modules.php.editor.verification.IntroduceHint$IntroduceFixVisitor.scan(IntroduceHint.java:159) at org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.scan(DefaultVisitor.java:61) at org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.visit(DefaultVisitor.java:160) at org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultTreePathVisitor.visit(DefaultTreePathVisitor.java:269) at org.netbeans.modules.php.editor.parser.astnodes.EchoStatement.accept(EchoStatement.java:80) at org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.scan(DefaultVisitor.java:54) at org.netbeans.modules.php.editor.verification.IntroduceHint$IntroduceFixVisitor.scan(IntroduceHint.java:159) at org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.scan(DefaultVisitor.java:61) at org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.visit(DefaultVisitor.java:279) at org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultTreePathVisitor.visit(DefaultTreePathVisitor.java:399) at org.netbeans.modules.php.editor.parser.astnodes.Program.accept(Program.java:92) at org.netbeans.modules.php.editor.verification.IntroduceHint.computeHintsImpl(IntroduceHint.java:133) at org.netbeans.modules.php.editor.verification.PHPHintsProvider.computeSuggestions(PHPHintsProvider.java:128) at org.netbeans.modules.csl.hints.infrastructure.SuggestionsTask$1.run(SuggestionsTask.java:140) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:154) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:138) at org.netbeans.modules.parsing.impl.TaskProcessor$1.call(TaskProcessor.java:200) at org.netbeans.modules.parsing.impl.TaskProcessor$1.call(TaskProcessor.java:197) at org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:167) at org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:278) at org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:66) Caused: org.netbeans.modules.parsing.spi.ParseException at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:205) at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:106) at org.netbeans.modules.csl.hints.infrastructure.SuggestionsTask.run(SuggestionsTask.java:114) at org.netbeans.modules.csl.hints.infrastructure.SuggestionsTask.run(SuggestionsTask.java:77) at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:667) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619)