[ 
https://issues.apache.org/jira/browse/NETBEANS-4982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17489346#comment-17489346
 ] 

Vít Suchánek commented on NETBEANS-4982:
----------------------------------------

Hi,
I've tried to check this problem a bit more. It seems to me that the problem is 
related to Java _switch - case_ statement. When I code inside some _case_ 
statement, Java hinting seems to work properly. However when I code inside 
_default_ statement, Java hinting is broken and doesn't offer suggestions 
related to current context.
Kind regards
Vít

> Nullpointer exception: 
> org.netbeans.lib.nbjavac.services.NBJavacTrees.getElement
> --------------------------------------------------------------------------------
>
>                 Key: NETBEANS-4982
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-4982
>             Project: NetBeans
>          Issue Type: Bug
>    Affects Versions: 12.1
>         Environment: NB 12.1, Ubuntu 20, Java 14
>            Reporter: Martin Meeser
>            Priority: Minor
>         Attachments: nb_ex
>
>
> Gets caught by the IDE, shown as notification.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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

Reply via email to