herkrath commented on issue #7331: URL: https://github.com/apache/netbeans/issues/7331#issuecomment-2077739352
I think I have identified the trigger: Besides our main multi-module project, I had another project open, being the Lucene demo (https://github.com/apache/lucene/tree/main/lucene/demo). The above error (and similar ones) **happened always** when the Lucene demo was open during "Find Usages" of certain methods of the main project. "Find Usages" **worked fine always** when the Lucene demo got closed. Note that there are no dependencies from or to the Lucene demo. It is fully reproducible with NB 21 and 22rc1 and multiple iterations opening and closing again. As I guess that NetBeans is using Lucene during "Find Usages" as well, I could imagine that things may get messed up by different class versions in the class path?! However, this shouldn't normally happen and the errors seem javac-related too. Anyway, as I got a workaround now and this is a very special case, up to you if you want to close this issue or investigate further. I hope that this ticket helps other persons running into the Lucene issue as well. If it's simply about having a dependency to Lucene in the class path though, we will run into the same issue soon again, as we are including Lucene into our project (but I can open a new ticket then too). -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- 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
