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 bug was originally marked as duplicate of bug 222011, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE Dev (Build nbms-and-javadoc-9884-on-20121219) VM: Java HotSpot(TM) Client VM, 20.12-b01, Java(TM) SE Runtime Environment, 1.6.0_37-b06 OS: Windows 7 User Comments: karel_barel: this exceptions appeared after confirmation of code hint in following line of code: first it was: .... $invitation->setEmail($account->getAccountEmail()); .... after refactoring it should be: $invitation->setSenderEmail($account->getAccountEmail()); so i started to type after the "...->set", IDE gave me correct hint to fill setSenderEmail, i pressed return, IDE filled right method name so the code looked like this: $invitation->setSenderEmailEmail($account->getAccountEmail()); and exception appeared padraigdoran: Ctrl+space karel_barel: typing name od declared variable $invitations in following line $violations = $this->getValidator()->validate($invitatio*<=- HERE APPEARED THE EXCEPTION); GUEST: constantly getting errors with autocomplete larsomat: typing $sf in html-template in symfony1 project GUEST: just typing in a php file Stacktrace: java.lang.NullPointerException at org.netbeans.modules.csl.editor.completion.GsfCompletionProvider$JavaCompletionQuery.resolveToolTip(GsfCompletionProvider.java:441) at org.netbeans.modules.csl.editor.completion.GsfCompletionProvider$JavaCompletionQuery.access$500(GsfCompletionProvider.java:247) at org.netbeans.modules.csl.editor.completion.GsfCompletionProvider$JavaCompletionQuery$1.run(GsfCompletionProvider.java:333) at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:584) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:153) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:137)
Created attachment 129602 [details] stacktrace
Seems as the SPI provided null instead of valid NONE value. The core implementation should be robust enough to handle it, though.
Please try to identify the cause - it seems in PHP first; the exception is raised because completion provider returns null even though it's not a permitted value.
Can someone provide me a case, when the problem is reproducible? I'm not able to do that. Thanks in advance!
Because noone answered, then: Fixed in web-main #0f55a01a2612
Integrated into 'main-golden', will be available in build *201301100107* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/0f55a01a2612 User: Ondrej Brejla <obrejla@netbeans.org> Log: #224113 - NullPointerException at org.netbeans.modules.csl.editor.completion.GsfCompletionProvider$JavaCompletionQuery.resolveToolTip