You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "John McDonnell (JIRA)" <ji...@apache.org> on 2019/08/12 20:54:00 UTC
[jira] [Comment Edited] (NETBEANS-2970) Lombok not working
correctly in NetBeans 11.0 and 11.1
[ https://issues.apache.org/jira/browse/NETBEANS-2970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16905583#comment-16905583 ]
John McDonnell edited comment on NETBEANS-2970 at 8/12/19 8:53 PM:
-------------------------------------------------------------------
Hi [~psadowski]
I downloaded your example and didn't see any errors until I switched version of lombok to an older one(1.16.22) in the pom.xml file. But if I switch back to 1.18.8 I don't get an error.
When are you seeing the error?
My system settings are:
*Product Version:* Apache NetBeans IDE 11.1
*Java:* 12.0.1; OpenJDK 64-Bit Server VM 12.0.1+12
*Runtime:* OpenJDK Runtime Environment 12.0.1+12
*System:* Mac OS X version 10.14.6 running on x86_64; UTF-8; en_GB (nb)
was (Author: johnmcdonnell):
[~psadowski]
I downloaded your example and didn't see any errors until I switched version of lombok to an older one(1.16.22) in the pom.xml file. But if I switch back to 1.18.8 I don't get an error.
When are you seeing the error?
My system settings are:
*Product Version:* Apache NetBeans IDE 11.1
*Java:* 12.0.1; OpenJDK 64-Bit Server VM 12.0.1+12
*Runtime:* OpenJDK Runtime Environment 12.0.1+12
*System:* Mac OS X version 10.14.6 running on x86_64; UTF-8; en_GB (nb)
> Lombok not working correctly in NetBeans 11.0 and 11.1
> ------------------------------------------------------
>
> Key: NETBEANS-2970
> URL: https://issues.apache.org/jira/browse/NETBEANS-2970
> Project: NetBeans
> Issue Type: Bug
> Affects Versions: 11.0, 11.1
> Reporter: Przemysław Sadowski
> Priority: Major
> Attachments: LombokTest.zip, log.zip
>
>
> Many classes using Lombok in project I'm working on at work fail to be correctly processed by NetBeans. I narrowed it down to cases in attached exaple project.
> When using Lombok 1.6.22, builder methods are not visible in editor making a lot of error notes in editor.
> When using Lombok 1.8.8, builder method works but there are errors with parsing some classes, example:
> {code:java}
> @Builder
> public class SomeValueClass {
> @Singular
> private Map<String, String[]> values;
> }{code}
> NetBeans fails with exception when trying to parse this class, and this class is not visible as class to NetBeans (can't open it using "Go To Type" for example). if I change byte[] to any non-primitive type it works. Using primitive types (byte, boolean, int) fails.
> I'm attaching content of log directory from NetBeans, with bug related dump and exception in it.
> Attached example project seem to be working correctly in NetBeans 8.2.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)
---------------------------------------------------------------------
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