-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Renaming of methods is not worked possibly due to Gradle plug-in #325
Comments
I'm not exactly sure but I remember if something like this was fixed in master. Can you try building the plugin from the sources and see if you still have the issue? |
With:
and updating plug-in with I still have errors:
For the record I have another errors, but I am not sure if it is relevant:
|
I have debugged this issue (while also looking at the sources of NB) and I'm not sure that this issue is directly caused by this plugin. However, I have to admit that what happens is strange. Currently, I have the following guesses:
Anyway, do you have a sample project to share with which I can reproduce this issue? Also, can you reproduce this issue with NB 8.1 too? The other logged stack trace looks purely informational, so I don't think it is relevant (I'm not sure why it is even logged). |
Any
I can't rename To test I created empty project group with single test project and restart IDE. Commenting out
and "Reload project" make possible to rename. Uncommenting and "Reload project" make impossible to rename. Simple Maven project with same dependency have no such issue. |
I am on mobile Internet access package currently and it is difficult to get NB 8.1, sorry... Product Version: NetBeans IDE 8.2 (Build 201609300101) and NB says that there are no updates... |
Because I have in log:
I change dependency to
and it causes problem. |
I do not have the sources of "xmlpull" but created one manually and cannot reproduce this issue. Do you have any plugin installed which is not bundled with NB (other than this plugin)? Anyway, I would expect that you are able reproduce this with any dependency which has its sources downloaded by Gradle (say by using "Download sources" on the dependencies node). If this is not the case, I would be even more puzzled. |
I able to reproduce only on specific dependencies, not all. After renaming c:/Users/user/AppData/Roaming/NetBeans to something else and installing updates and Gradle plugin I can't reproduce issue. I do not know how easily to bisect "bad" plug-in in old setup. |
I tried to disable as many as possible plug-ins and it didn't help. Seems that one of them intrudes into NB configs unconditionally. I tried several plug-ins to see what they can provide. Actually I need only Gradle plugin and happy with clean setup. Thanks for support! |
Ok, if you ever experience this issue again: Please reopen as I'm curious what could have caused this behaviour. |
Today I able to reproduce bug. I have only Gradle plugin installed (and its dependencies). I provide full path to Gradle |
On rename (by Ctrl+R) of public method I've got error notification with message:
|
Can you share a project on GitHub with which you can reproduce the issue with? Because I have never experienced this issue and have no idea how this could happen. (Maybe even the list of plugins you have installed manually) |
Originally I reported bug at https://netbeans.org/bugzilla/show_bug.cgi?id=270046 but further investigation suggest that Gradle plugin may cause it.
From early NetBeans log:
On method rename I got trace:
The text was updated successfully, but these errors were encountered: