[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=16905911#comment-16905911 ] Przemysław Sadowski edited comment on NETBEANS-2970 at 8/13/19 7:55 AM: Error occurs all the time, for example when I load NetBeans with this project open. If I delete this error from notifications, I can quickly trigger it by closing and reopening class SomeValueClass from project explorer. I use Windows 10 version 1903, tried different JDKs - Dynamic Code Evolution 64-Bit Server VM (build 25.71-b01-dcevmlight-26, mixed mode) (java 1.8.0_181 with DCEVM patch) - OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+9, mixed mode) - OpenJDK 64-Bit Server VM (build 12.0.2+10, mixed mode, sharing) Problem occurs on both my machines, that except both running Windows 10 are very different hardware-wise. I'm attaching new log [^log_v2.zip] from my work machine, with NetBeans 11.1 running on freshly downloaded OpenJdk 12. BTW I'm Java programmer for a living, so you can ask me any technical questions about my environment or ask me to perform some tests if needed :), was (Author: psadowski): Error occurs all the time, for example when I load NetBeans with this project open. If I delete this error from notifications, I can quickly trigger it by closing and reopening class SomeValueClass from project explorer. I use Windows 10 version 1903, tried different JDKs - Dynamic Code Evolution 64-Bit Server VM (build 25.71-b01-dcevmlight-26, mixed mode) (java 1.8.0_181 with DCEVM patch) - OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+9, mixed mode) - OpenJDK 64-Bit Server VM (build 12.0.2+10, mixed mode, sharing) Problem occurs on both my machines, that except both running Windows 10 are very different hardware-wise. I'm attaching new log [^log_v2.zip] from my work machine, with NetBeans 11.1 running on freshly downloaded OpenJdk 12. BTW I'm Java programmer for a living, so you can ask me any technical questions about my environment or ask me to perform some tests if needed :), > 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, log_v2.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 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-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
[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=16905583#comment-16905583 ] John McDonnell edited comment on NETBEANS-2970 at 8/12/19 8:57 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. 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): 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) > 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 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-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
[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=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 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-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