You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "andresCorralM (via GitHub)" <gi...@apache.org> on 2023/12/29 11:39:13 UTC
[I] Exception when using Lombok annotations [netbeans]
andresCorralM opened a new issue, #6893:
URL: https://github.com/apache/netbeans/issues/6893
### Apache NetBeans version
Apache NetBeans 20
### What happened
When opening a file with a class annotated with Lombok annotations Netbeans shows an exception. It appears on a marker at class level (see screenshot). The exception is attached as a screen shot. Sorry but I couldn't find the text anywhere. It's not on the Netbeans log.
It's clear that the lombook annotations are not being processed correctly since Netbeans doesn't see the getters and setters that lombook should be creating and shows errors in source files that try to use those.

### Language / Project Type / NetBeans Component
Java Maven project
### How to reproduce
Create a simple Maven project, with Java 11 as the Java version and just lombok 1.18.26 as a dependency and lombok-maven-plugin 1.18.20.0 as a Maven plugin. I can attach an example project if necessary.
### Did this work correctly in an earlier version?
Apache NetBeans 19
### Operating System
Windows 10 version 10.0 running on amd64
### JDK
11.0.16.1; Java HotSpot(TM) 64-Bit Server VM 11.0.16.1+1-LTS-1
### Apache NetBeans packaging
Apache NetBeans binary zip
### Anything else
_No response_
### Are you willing to submit a pull request?
No
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] Exception when using Lombok annotations [netbeans]
Posted by "matthiasblaesing (via GitHub)" <gi...@apache.org>.
matthiasblaesing closed issue #6893: Exception when using Lombok annotations
URL: https://github.com/apache/netbeans/issues/6893
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] Exception when using Lombok annotations [netbeans]
Posted by "matthiasblaesing (via GitHub)" <gi...@apache.org>.
matthiasblaesing commented on issue #6893:
URL: https://github.com/apache/netbeans/issues/6893#issuecomment-1872159777
Duplicate of #6802. TL;DR version: Use current lombok version and be prepared to update immediately. When using lombok you must be prepared, that your toolchain can break at any moment, as it integrates/messes deeply with the JDK.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] Exception when using Lombok annotations [netbeans]
Posted by "andresCorralM (via GitHub)" <gi...@apache.org>.
andresCorralM commented on issue #6893:
URL: https://github.com/apache/netbeans/issues/6893#issuecomment-1872274386
Thanks for the answer. You learn something new everyday I guess
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists