You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Tomáš Procházka (Jira)" <ji...@apache.org> on 2021/01/16 17:15:00 UTC
[jira] [Created] (NETBEANS-5253) NPE in PSR-4 hint
Tomáš Procházka created NETBEANS-5253:
-----------------------------------------
Summary: NPE in PSR-4 hint
Key: NETBEANS-5253
URL: https://issues.apache.org/jira/browse/NETBEANS-5253
Project: NetBeans
Issue Type: Bug
Components: php - Editor
Affects Versions: 12.3
Reporter: Tomáš Procházka
Assignee: Tomáš Procházka
NullPointerException is thrown when user navigates from source to PHP stubs.
To reproduce type following code:
{code:php}
$now = new \DateTime();
{code}
Then Ctrl+click / Ctrl+B / Navigate > Go To Declaration.
Exception is thrown:
{noformat}
java.lang.NullPointerException
at org.netbeans.modules.php.editor.verification.PSR4Hint$TypeDeclarationHint$TypeVisitor.processTypeDeclaration(PSR4Hint.java:183)
at org.netbeans.modules.php.editor.verification.PSR4Hint$TypeDeclarationHint$TypeVisitor.visit(PSR4Hint.java:158)
{noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists