You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Alexandre (Jira)" <ji...@apache.org> on 2021/06/06 17:56:00 UTC

[jira] [Comment Edited] (NETBEANS-1842) ambiguous method when using Lombok

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

Alexandre  edited comment on NETBEANS-1842 at 6/6/21, 5:55 PM:
---------------------------------------------------------------

Hello everyone,

This issue has been plaguing the long time

I'm using Linux, NetBeans 12, Java 8, lombok 1.18.20
 * Workaround 1:
 Clear cache by removing folder "12.0" in path "/home/user/.cache/netbeans"; I note that sometimes it solves the problem for one of the projects, sometimes it solves for 2 or 3 projects, other times it solves for all (Note I use up to 5 open projects in netbeans);
 * Workaround 2: 
 Was going to the classes and removing the @Getter in the problem property and saving the file and then adding the @Getter again and saving the file, so I notice that the problem disappears for that class.  But I still haven't found an alternative to remove all the ambiguity issues.

Hope a solution could be found.


was (Author: xandefog):
Hello everyone,Hello everyone,

This issue has been plaguing the long time

I'm using Linux, NetBeans 12, Java 8, lombok 1.18.20
 * Workaround 1: 
Clear cache by removing folder "12.0" in path "/home/user/.cache/netbeans"; I note that sometimes it solves the problem for one of the projects, sometimes it solves for 2 or 3 projects, other times it solves for all (Note I use up to 5 open projects in netbeans);
 * Workaround 2:  
Was going to the classes and removing the @Getter in the problem property and saving the file and then adding the @Getter again and saving the file, so I notice that the problem disappears for that class.  But I still haven't found an alternative to remove all the ambiguity issues.
 
Hope a solution could be found.

> ambiguous method when using Lombok
> ----------------------------------
>
>                 Key: NETBEANS-1842
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-1842
>             Project: NetBeans
>          Issue Type: Bug
>         Environment: Win10
>            Reporter: Rik Scarborough
>            Priority: Major
>         Attachments: Screen Shot 2019-07-25 at 4.14.03 PM.png
>
>
> When using lombok (v 1.18.4), generated methods show as errors in editor.  "reference to <methodname> is ambiguous   both method <methodname> in <classname> and method <methodname> in <classname> match".
>  
> Both methodnames and classnames are the exactly same.



--
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