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/17 09:45:00 UTC

[jira] [Resolved] (NETBEANS-5253) NPE in PSR-4 hint

     [ https://issues.apache.org/jira/browse/NETBEANS-5253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tomáš Procházka resolved NETBEANS-5253.
---------------------------------------
    Fix Version/s: 12.3
       Resolution: Fixed

PR was merged.

> 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
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 12.3
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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 of {{DateTime}}.
> 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