Hans Grimmselshausen schrieb am 17.02.2020 um 11:41:
> With Netbeans 11.2 (but also with 11.0) running in OpenJDK 11.0.6 on
> Ubuntu 18 LTS, for some time I experience a lot of problems when I
> try to refactor-rename public variables and functions in my mid-sized
> project. Mostly but not always, I then get the following error:
>
> --- Module Java Refactoring threw
> java.util.ConcurrentModificationException. Please report a bug
> against Java Refactoring module and attach your
> var/log/messages.log. ---
>
> My Ant based project has been created with Netbeans 9 or 10 (where
> refactor-rename worked), and has about 60 Java source files,
> including many Swing classes made with Netbeans designer (i.e. where
> for a source.java file there's a matching source.form file).
>
> I deleted the Netbeans cache folder, tried a new Netbeans user
> profile, created a new (Ant based) Netbeans project and copied all my
> source files to the new project's src folder. But with no success.
>
> Do you fellow Netbeans users know of problems with the refactoring
> module?


You need to uninstall the nb-javac library, then refactoring works again.

I still get it with 11.3-beta3 as long as nb-javac is installed

Note that just disabling nb-javac is not enough.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to