[ 
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-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to