Details
-
Bug
-
Status: Open
-
Critical
-
Resolution: Unresolved
-
9.0
-
None
-
- gradle clean
- Purged all Gradle caches
- Empty cache directory
Product Version: Apache NetBeans IDE Dev (Build incubator-netbeans-release-205-on-20180202)
Java: 10; Java HotSpot(TM) 64-Bit Server VM 10+46
Runtime: Java(TM) SE Runtime Environment 10+46
System: Windows 10 version 10.0 running on amd64; Cp1252; en_AU (nb)
User directory: Z:\tmp\.other\user\netbeans\v09.00-beta\FourAbs
Cache directory: Z:\tmp\.other\cache\netbeans\FourAbs-09gradle clean Purged all Gradle caches Empty cache directory Product Version: Apache NetBeans IDE Dev (Build incubator-netbeans-release-205-on-20180202) Java: 10; Java HotSpot(TM) 64-Bit Server VM 10+46 Runtime: Java(TM) SE Runtime Environment 10+46 System: Windows 10 version 10.0 running on amd64; Cp1252; en_AU (nb) User directory: Z:\tmp\.other\user\netbeans\v09.00-beta\FourAbs Cache directory: Z:\tmp\.other\cache\netbeans\FourAbs-09
Description
context
- Editing Java code
- Wanted to find all usages of a method
expected / desirable
- Select method name
- Press ALT / F7
- See Usages pop-up
- Press OK
- Review list of uses found.
- There is ONE as identified using grep
- I expect Navigation and Refactoring tools to work on ALL files and Open/Active buffers.
- Netbeans 8 does not force me to save or save and reopen files to rename a method, or find all usages, etc.
actual
- Pressing ALT / F7 resulted in the following error:
ALT / F7 error
- The method immediately above this line and the method below are both private
- I can press ALT / F7 for those methods, no problem.
- In addition navigation isn't working e.g. CTRL / Left-Mouse-Click - Jump to source code fails.
- But only for that One method.
Furthermore ...
- These operations started / resumed working on the isNullSelectedNote() method after *Save-*ing the file.
- In a great many cases now Navigation and Refactoring operations have Failed.
- And later worked / Resumed working later
- There is NO CONSISTENT pattern - However most of the time saving the file or All Files eventually the task seems to work (again)
- On the other hand, sometimes navigation, refactoring operations work fine without forcing me to save a file.
- It is unpredictable - That can be worse than broken sometimes!
Impact
- Had to go to a command line and run grep
- That is not helpful for a Public method used across many projects
supporting information
- messages.log
- screenshot