[jira] [Created] (NETBEANS-5138) local variables not visible in debugger when invalid Watch exists

2020-12-10 Thread Jeremy Dunn (Jira)
Jeremy Dunn created NETBEANS-5138:
-

 Summary: local variables not visible in debugger when invalid 
Watch exists
 Key: NETBEANS-5138
 URL: https://issues.apache.org/jira/browse/NETBEANS-5138
 Project: NetBeans
  Issue Type: Bug
  Components: php - Debugger
Affects Versions: 12.1
 Environment: Windows 10; Apache 2.4.46; PHP 7.3.25; xdebug 3.0.1

same bug is reproducible with xdebug 2.9.6 and 2.9.8. 
same bug is reproducible in NB 11.3
Reporter: Jeremy Dunn
 Attachments: invalidWatch-blocksValidLocalVariableInDebugger.PNG, 
localVariablesVisibleWithoutInvalidWatch.PNG

PHP 7.3 project.  start debugging.  create an INVALID Watch.  expose the 
Variables debugger panel.  set a breakpoint, in a method with local variables.  
run the code to that breakpoint.  Notice that the local variables are MISSING.  
See attached screenshot [1]

Delete the invalid Watch.  Run the code again to the same breakpoint.  Notice 
that the local variables are VISIBLE.  See attached screenshot [2

Expected behavior is that Local Variables will always be visible, despite 
presence of invalid Watch(es).

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

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



[jira] [Updated] (NETBEANS-3764) Find and Replace commands grayed out on Edit menu

2020-01-28 Thread Jeremy Dunn (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-3764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jeremy Dunn updated NETBEANS-3764:
--
Description: 
this is the same issue as old bug #222562 
[https://bz.apache.org/netbeans/show_bug.cgi?id=222562|https://bz.apache.org/netbeans/show_bug.cgi?id=222562)]

working in PHP

it affects some files open in the editor; but not others. 

Closing the file and reopening it, ALWAYS restores the Edit/Find and 
Edit/Replace menu items to "normal" (non-grayed/non-disabled) state.

I haven't been able to find out why it affects some files and not others.

see attached screenshot for an example. (Sorry, cannot include the entire 
window due to confidential code).
  

  was:
this is the same issue as old bug #222562 
[https://bz.apache.org/netbeans/show_bug.cgi?id=222562|https://bz.apache.org/netbeans/show_bug.cgi?id=222562)]

working in PHP

it affects some files open in the editor; but not others. 

Closing the file and reopening it, ALWAYS restores the Edit/Find and 
Edit/Replace menu items to "normal" (non-grayed/non-disabled) state.

I haven't been able to find out why it affects some files and not others.

see attached screenshot for an example. (Sorry, cannot include the entire 
window due to confidential code).
 


> Find and Replace commands grayed out on Edit menu
> -
>
> Key: NETBEANS-3764
> URL: https://issues.apache.org/jira/browse/NETBEANS-3764
> Project: NetBeans
>  Issue Type: Bug
>  Components: editor - Actions/Menu/Toolbar
>Affects Versions: 11.2
> Environment: Product Version: Apache NetBeans IDE 11.2
> Java: 1.8.0_241; Java HotSpot(TM) 64-Bit Server VM 25.241-b07
> Runtime: Java(TM) SE Runtime Environment 1.8.0_241-b07
> System: Windows 8.1 version 6.3 running on amd64; Cp1252; en_US (nb)
>Reporter: Jeremy Dunn
>Priority: Major
> Attachments: FindReplaceDisabled.PNG
>
>
> this is the same issue as old bug #222562 
> [https://bz.apache.org/netbeans/show_bug.cgi?id=222562|https://bz.apache.org/netbeans/show_bug.cgi?id=222562)]
> working in PHP
> it affects some files open in the editor; but not others. 
> Closing the file and reopening it, ALWAYS restores the Edit/Find and 
> Edit/Replace menu items to "normal" (non-grayed/non-disabled) state.
> I haven't been able to find out why it affects some files and not others.
> see attached screenshot for an example. (Sorry, cannot include the entire 
> window due to confidential code).
>   



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

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



[jira] [Created] (NETBEANS-3764) Find and Replace commands grayed out on Edit menu

2020-01-28 Thread Jeremy Dunn (Jira)
Jeremy Dunn created NETBEANS-3764:
-

 Summary: Find and Replace commands grayed out on Edit menu
 Key: NETBEANS-3764
 URL: https://issues.apache.org/jira/browse/NETBEANS-3764
 Project: NetBeans
  Issue Type: Bug
  Components: editor - Actions/Menu/Toolbar
Affects Versions: 11.2
 Environment: Product Version: Apache NetBeans IDE 11.2
Java: 1.8.0_241; Java HotSpot(TM) 64-Bit Server VM 25.241-b07
Runtime: Java(TM) SE Runtime Environment 1.8.0_241-b07
System: Windows 8.1 version 6.3 running on amd64; Cp1252; en_US (nb)
Reporter: Jeremy Dunn
 Attachments: FindReplaceDisabled.PNG

this is the same issue as old bug #222562 
[https://bz.apache.org/netbeans/show_bug.cgi?id=222562|https://bz.apache.org/netbeans/show_bug.cgi?id=222562)]

working in PHP

it affects some files open in the editor; but not others. 

Closing the file and reopening it, ALWAYS restores the Edit/Find and 
Edit/Replace menu items to "normal" (non-grayed/non-disabled) state.

I haven't been able to find out why it affects some files and not others.

see attached screenshot for an example. (Sorry, cannot include the entire 
window due to confidential code).
 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

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



[jira] [Closed] (NETBEANS-3184) right-click on PHP class method causes Exception

2019-09-30 Thread Jeremy Dunn (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-3184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jeremy Dunn closed NETBEANS-3184.
-
Resolution: Not A Bug

problems resolved by getting rid of old nb userdir

> right-click on PHP class method causes Exception
> 
>
> Key: NETBEANS-3184
> URL: https://issues.apache.org/jira/browse/NETBEANS-3184
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Code
>Affects Versions: 11.1
> Environment: Product Version: Apache NetBeans IDE 11.1
> Updates: NetBeans IDE is updated to version NetBeans 8.2 Patch 2
> Java: 1.8.0_221; Java HotSpot(TM) 64-Bit Server VM 25.221-b11
> Runtime: Java(TM) SE Runtime Environment 1.8.0_221-b11
> System: Windows 8.1 version 6.3 running on amd64; Cp1252; en_US (nb)
> User directory: C:\Users\Jeremy\AppData\Roaming\NetBeans\11.1
> Cache directory: C:\Users\Jeremy\AppData\Local\NetBeans\Cache\11.1
> NOTE: I previously had NetBeans 8.2 Patch 2 installed; then I installed 
> Apache Netbeans 11.1.  It appears that the old 8.2u2 version is still somehow 
> active.  Could that be causing the problem??
>Reporter: Jeremy Dunn
>Priority: Major
>
> steps to recreate the problem:
>  * edit any PHP class file
>  * double-click any method name to highlight
>  * right-click on the method to get context-menu
>  * the context-menu is shown , BUT an exception is immediately generated (see 
> below)
>  * choosing "Find Usages" gives message "Cannot refactor here", which looks 
> like the same issues as 
> [https://netbeans.org/bugzilla/show_bug.cgi?id=236693] 
>  
> exception:
> {noformat}
> Annotation: segments.gen f: true r: true w: true
> segments_1 f: true r: true w: true
> _0.cfs f: true r: true w: true
> current thread: Thread[Editor Parsing Loop 
> (netbeans-release-428-on-20190716),1,system](28)threads: 
> Thread[Deadlock Detector,5,IDE Main](39)
>   java.lang.Thread.sleep(Native Method)
>   org.netbeans.modules.deadlock.detector.Detector.run(Detector.java:115)
>   java.lang.Thread.run(Thread.java:748)
> Thread[Finalizer,8,system](3)
>   java.lang.Object.wait(Native Method)
>   java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:144)
>   java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:165)
>   java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:216)
> Thread[main,5,main](1)
> Thread[RequestProcessor queue manager,5,IDE Main](17)
>   java.lang.Object.wait(Native Method)
>   
> org.openide.util.RequestProcessor$TickTac.obtainFirst(RequestProcessor.java:2257)
>   
> org.openide.util.RequestProcessor$TickTac.run(RequestProcessor.java:2233)
> Thread[Framework Event Dispatcher,5,IDE Main](26)
>   java.lang.Object.wait(Native Method)
>   java.lang.Object.wait(Object.java:502)
>   
> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextEvent(EventManager.java:400)
>   
> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:336)
> Thread[Editor Parsing Loop (netbeans-release-428-on-20190716),1,system](28)
>   java.lang.Thread.dumpThreads(Native Method)
>   java.lang.Thread.getAllStackTraces(Thread.java:1610)
>   
> org.netbeans.modules.parsing.lucene.LuceneIndex$DirCache.getReader(LuceneIndex.java:968)
>   
> org.netbeans.modules.parsing.lucene.LuceneIndex$DirCache.acquireReader(LuceneIndex.java:918)
>   
> org.netbeans.modules.parsing.lucene.LuceneIndex.query(LuceneIndex.java:151)
>   
> org.netbeans.modules.parsing.lucene.DocumentIndexImpl.query(DocumentIndexImpl.java:261)
>   
> org.netbeans.modules.parsing.impl.indexing.lucene.LayeredDocumentIndex.query(LayeredDocumentIndex.java:182)
>   
> org.netbeans.modules.parsing.spi.indexing.support.QuerySupport$Query$1.call(QuerySupport.java:630)
>   
> org.netbeans.modules.parsing.spi.indexing.support.QuerySupport$Query$1.call(QuerySupport.java:590)
>   
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
>   
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
>   
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
>   
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
>   
> org.netbeans.modules.parsing.spi.indexing.support.QuerySupport$Query.execute(QuerySupport.java:590)
>   
> org.netbeans.modules.parsing.spi.indexing.support.QuerySupport.query(QuerySupport.java:342)
>   
> org.netbeans.modules.php.editor.elements.IndexQueryImpl.search(IndexQueryImpl.java:1676)
>   
> org.netbeans.modules.php.editor.elements.IndexQueryImpl.results(IndexQueryImpl.java:1714)
>   
> 

[jira] [Commented] (NETBEANS-3184) right-click on PHP class method causes Exception

2019-09-30 Thread Jeremy Dunn (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-3184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16940998#comment-16940998
 ] 

Jeremy Dunn commented on NETBEANS-3184:
---

[~junichi11] and [~GeertjanWielenga]  - thank you both for your prompt help!

I'm sorry to be ignorant about NB !   

I've done this:
 # renamed the old "nbproject" as nbproject.OLD - even though it is not required
 # renamed the old userdir ( //AppData/Roaming/NetBeans/) as 
NetBeans.OLD
 # reopen NB 11.1
 # recreate my project from existing sources
 # reinstall the PHP and PHP-Enhancements plugins
 # wait for background-scanning of project and dictionary-rebuild to finish
 # try to recreate the problem

after the above steps, the problems reported in this ticket are GONE:
 * no more exceptions when changing files in editor
 * no more exceptions when right-click on methods
 * restored ability to "Find Usages" - works properly

So - it appears that my problems were related to leftover NB 8.2u2 stuff in 
userdir

I have not yet downloaded 11.2b1 because of limited bandwidth - I'll do so 
later and see how it works - but for the moment issues are resolved.

> right-click on PHP class method causes Exception
> 
>
> Key: NETBEANS-3184
> URL: https://issues.apache.org/jira/browse/NETBEANS-3184
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Code
>Affects Versions: 11.1
> Environment: Product Version: Apache NetBeans IDE 11.1
> Updates: NetBeans IDE is updated to version NetBeans 8.2 Patch 2
> Java: 1.8.0_221; Java HotSpot(TM) 64-Bit Server VM 25.221-b11
> Runtime: Java(TM) SE Runtime Environment 1.8.0_221-b11
> System: Windows 8.1 version 6.3 running on amd64; Cp1252; en_US (nb)
> User directory: C:\Users\Jeremy\AppData\Roaming\NetBeans\11.1
> Cache directory: C:\Users\Jeremy\AppData\Local\NetBeans\Cache\11.1
> NOTE: I previously had NetBeans 8.2 Patch 2 installed; then I installed 
> Apache Netbeans 11.1.  It appears that the old 8.2u2 version is still somehow 
> active.  Could that be causing the problem??
>Reporter: Jeremy Dunn
>Priority: Major
>
> steps to recreate the problem:
>  * edit any PHP class file
>  * double-click any method name to highlight
>  * right-click on the method to get context-menu
>  * the context-menu is shown , BUT an exception is immediately generated (see 
> below)
>  * choosing "Find Usages" gives message "Cannot refactor here", which looks 
> like the same issues as 
> [https://netbeans.org/bugzilla/show_bug.cgi?id=236693] 
>  
> exception:
> {noformat}
> Annotation: segments.gen f: true r: true w: true
> segments_1 f: true r: true w: true
> _0.cfs f: true r: true w: true
> current thread: Thread[Editor Parsing Loop 
> (netbeans-release-428-on-20190716),1,system](28)threads: 
> Thread[Deadlock Detector,5,IDE Main](39)
>   java.lang.Thread.sleep(Native Method)
>   org.netbeans.modules.deadlock.detector.Detector.run(Detector.java:115)
>   java.lang.Thread.run(Thread.java:748)
> Thread[Finalizer,8,system](3)
>   java.lang.Object.wait(Native Method)
>   java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:144)
>   java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:165)
>   java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:216)
> Thread[main,5,main](1)
> Thread[RequestProcessor queue manager,5,IDE Main](17)
>   java.lang.Object.wait(Native Method)
>   
> org.openide.util.RequestProcessor$TickTac.obtainFirst(RequestProcessor.java:2257)
>   
> org.openide.util.RequestProcessor$TickTac.run(RequestProcessor.java:2233)
> Thread[Framework Event Dispatcher,5,IDE Main](26)
>   java.lang.Object.wait(Native Method)
>   java.lang.Object.wait(Object.java:502)
>   
> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextEvent(EventManager.java:400)
>   
> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:336)
> Thread[Editor Parsing Loop (netbeans-release-428-on-20190716),1,system](28)
>   java.lang.Thread.dumpThreads(Native Method)
>   java.lang.Thread.getAllStackTraces(Thread.java:1610)
>   
> org.netbeans.modules.parsing.lucene.LuceneIndex$DirCache.getReader(LuceneIndex.java:968)
>   
> org.netbeans.modules.parsing.lucene.LuceneIndex$DirCache.acquireReader(LuceneIndex.java:918)
>   
> org.netbeans.modules.parsing.lucene.LuceneIndex.query(LuceneIndex.java:151)
>   
> org.netbeans.modules.parsing.lucene.DocumentIndexImpl.query(DocumentIndexImpl.java:261)
>   
> org.netbeans.modules.parsing.impl.indexing.lucene.LayeredDocumentIndex.query(LayeredDocumentIndex.java:182)
>   
> org.netbeans.modules.parsing.spi.indexing.support.QuerySupport$Query$1.call(QuerySupport.java:630)
>   
> 

[jira] [Commented] (NETBEANS-3184) right-click on PHP class method causes Exception

2019-09-30 Thread Jeremy Dunn (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-3184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16940973#comment-16940973
 ] 

Jeremy Dunn commented on NETBEANS-3184:
---

actually, I'm getting this error very frequently, even when not choosing a 
context-menu.  For instance, if I have three files open in the editor, and 
click a tab to view a different file, I get a similar exception in the Editor 
Parsing Loop thread.

please also note the comment under "Environment", that it appears I have old NB 
8.2u2 installed:  Even though the older version is no longer installed on my 
machine, the NB 11.1 environment is detecting it. 

> right-click on PHP class method causes Exception
> 
>
> Key: NETBEANS-3184
> URL: https://issues.apache.org/jira/browse/NETBEANS-3184
> Project: NetBeans
>  Issue Type: Bug
>  Components: php - Code
>Affects Versions: 11.1
> Environment: Product Version: Apache NetBeans IDE 11.1
> Updates: NetBeans IDE is updated to version NetBeans 8.2 Patch 2
> Java: 1.8.0_221; Java HotSpot(TM) 64-Bit Server VM 25.221-b11
> Runtime: Java(TM) SE Runtime Environment 1.8.0_221-b11
> System: Windows 8.1 version 6.3 running on amd64; Cp1252; en_US (nb)
> User directory: C:\Users\Jeremy\AppData\Roaming\NetBeans\11.1
> Cache directory: C:\Users\Jeremy\AppData\Local\NetBeans\Cache\11.1
> NOTE: I previously had NetBeans 8.2 Patch 2 installed; then I installed 
> Apache Netbeans 11.1.  It appears that the old 8.2u2 version is still somehow 
> active.  Could that be causing the problem??
>Reporter: Jeremy Dunn
>Priority: Major
>
> steps to recreate the problem:
>  * edit any PHP class file
>  * double-click any method name to highlight
>  * right-click on the method to get context-menu
>  * the context-menu is shown , BUT an exception is immediately generated (see 
> below)
>  * choosing "Find Usages" gives message "Cannot refactor here", which looks 
> like the same issues as 
> [https://netbeans.org/bugzilla/show_bug.cgi?id=236693] 
>  
> exception:
> {noformat}
> Annotation: segments.gen f: true r: true w: true
> segments_1 f: true r: true w: true
> _0.cfs f: true r: true w: true
> current thread: Thread[Editor Parsing Loop 
> (netbeans-release-428-on-20190716),1,system](28)threads: 
> Thread[Deadlock Detector,5,IDE Main](39)
>   java.lang.Thread.sleep(Native Method)
>   org.netbeans.modules.deadlock.detector.Detector.run(Detector.java:115)
>   java.lang.Thread.run(Thread.java:748)
> Thread[Finalizer,8,system](3)
>   java.lang.Object.wait(Native Method)
>   java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:144)
>   java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:165)
>   java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:216)
> Thread[main,5,main](1)
> Thread[RequestProcessor queue manager,5,IDE Main](17)
>   java.lang.Object.wait(Native Method)
>   
> org.openide.util.RequestProcessor$TickTac.obtainFirst(RequestProcessor.java:2257)
>   
> org.openide.util.RequestProcessor$TickTac.run(RequestProcessor.java:2233)
> Thread[Framework Event Dispatcher,5,IDE Main](26)
>   java.lang.Object.wait(Native Method)
>   java.lang.Object.wait(Object.java:502)
>   
> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextEvent(EventManager.java:400)
>   
> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:336)
> Thread[Editor Parsing Loop (netbeans-release-428-on-20190716),1,system](28)
>   java.lang.Thread.dumpThreads(Native Method)
>   java.lang.Thread.getAllStackTraces(Thread.java:1610)
>   
> org.netbeans.modules.parsing.lucene.LuceneIndex$DirCache.getReader(LuceneIndex.java:968)
>   
> org.netbeans.modules.parsing.lucene.LuceneIndex$DirCache.acquireReader(LuceneIndex.java:918)
>   
> org.netbeans.modules.parsing.lucene.LuceneIndex.query(LuceneIndex.java:151)
>   
> org.netbeans.modules.parsing.lucene.DocumentIndexImpl.query(DocumentIndexImpl.java:261)
>   
> org.netbeans.modules.parsing.impl.indexing.lucene.LayeredDocumentIndex.query(LayeredDocumentIndex.java:182)
>   
> org.netbeans.modules.parsing.spi.indexing.support.QuerySupport$Query$1.call(QuerySupport.java:630)
>   
> org.netbeans.modules.parsing.spi.indexing.support.QuerySupport$Query$1.call(QuerySupport.java:590)
>   
> org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
>   
> org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
>   
> org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
>   
> org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
>   
> 

[jira] [Created] (NETBEANS-3184) right-click on PHP class method causes Exception

2019-09-30 Thread Jeremy Dunn (Jira)
Jeremy Dunn created NETBEANS-3184:
-

 Summary: right-click on PHP class method causes Exception
 Key: NETBEANS-3184
 URL: https://issues.apache.org/jira/browse/NETBEANS-3184
 Project: NetBeans
  Issue Type: Bug
  Components: php - Code
Affects Versions: 11.1
 Environment: Product Version: Apache NetBeans IDE 11.1
Updates: NetBeans IDE is updated to version NetBeans 8.2 Patch 2
Java: 1.8.0_221; Java HotSpot(TM) 64-Bit Server VM 25.221-b11
Runtime: Java(TM) SE Runtime Environment 1.8.0_221-b11
System: Windows 8.1 version 6.3 running on amd64; Cp1252; en_US (nb)
User directory: C:\Users\Jeremy\AppData\Roaming\NetBeans\11.1
Cache directory: C:\Users\Jeremy\AppData\Local\NetBeans\Cache\11.1

NOTE: I previously had NetBeans 8.2 Patch 2 installed; then I installed Apache 
Netbeans 11.1.  It appears that the old 8.2u2 version is still somehow active.  
Could that be causing the problem??
Reporter: Jeremy Dunn


steps to recreate the problem:
 * edit any PHP class file
 * double-click any method name to highlight
 * right-click on the method to get context-menu
 * the context-menu is shown , BUT an exception is immediately generated (see 
below)
 * choosing "Find Usages" gives message "Cannot refactor here", which looks 
like the same issues as [https://netbeans.org/bugzilla/show_bug.cgi?id=236693] 

 

exception:
{noformat}
Annotation: segments.gen f: true r: true w: true
segments_1 f: true r: true w: true
_0.cfs f: true r: true w: true
current thread: Thread[Editor Parsing Loop 
(netbeans-release-428-on-20190716),1,system](28)threads: 
Thread[Deadlock Detector,5,IDE Main](39)
java.lang.Thread.sleep(Native Method)
org.netbeans.modules.deadlock.detector.Detector.run(Detector.java:115)
java.lang.Thread.run(Thread.java:748)
Thread[Finalizer,8,system](3)
java.lang.Object.wait(Native Method)
java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:144)
java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:165)
java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:216)
Thread[main,5,main](1)
Thread[RequestProcessor queue manager,5,IDE Main](17)
java.lang.Object.wait(Native Method)

org.openide.util.RequestProcessor$TickTac.obtainFirst(RequestProcessor.java:2257)

org.openide.util.RequestProcessor$TickTac.run(RequestProcessor.java:2233)
Thread[Framework Event Dispatcher,5,IDE Main](26)
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:502)

org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextEvent(EventManager.java:400)

org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:336)
Thread[Editor Parsing Loop (netbeans-release-428-on-20190716),1,system](28)
java.lang.Thread.dumpThreads(Native Method)
java.lang.Thread.getAllStackTraces(Thread.java:1610)

org.netbeans.modules.parsing.lucene.LuceneIndex$DirCache.getReader(LuceneIndex.java:968)

org.netbeans.modules.parsing.lucene.LuceneIndex$DirCache.acquireReader(LuceneIndex.java:918)

org.netbeans.modules.parsing.lucene.LuceneIndex.query(LuceneIndex.java:151)

org.netbeans.modules.parsing.lucene.DocumentIndexImpl.query(DocumentIndexImpl.java:261)

org.netbeans.modules.parsing.impl.indexing.lucene.LayeredDocumentIndex.query(LayeredDocumentIndex.java:182)

org.netbeans.modules.parsing.spi.indexing.support.QuerySupport$Query$1.call(QuerySupport.java:630)

org.netbeans.modules.parsing.spi.indexing.support.QuerySupport$Query$1.call(QuerySupport.java:590)

org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)

org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)

org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)

org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)

org.netbeans.modules.parsing.spi.indexing.support.QuerySupport$Query.execute(QuerySupport.java:590)

org.netbeans.modules.parsing.spi.indexing.support.QuerySupport.query(QuerySupport.java:342)

org.netbeans.modules.php.editor.elements.IndexQueryImpl.search(IndexQueryImpl.java:1676)

org.netbeans.modules.php.editor.elements.IndexQueryImpl.results(IndexQueryImpl.java:1714)

org.netbeans.modules.php.editor.elements.IndexQueryImpl.getMethods(IndexQueryImpl.java:456)

org.netbeans.modules.php.editor.model.impl.OccurenceBuilder.buildMethods(OccurenceBuilder.java:880)

org.netbeans.modules.php.editor.model.impl.OccurenceBuilder.build(OccurenceBuilder.java:729)

org.netbeans.modules.php.editor.model.impl.OccurenceBuilder.build(OccurenceBuilder.java:2200)