This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 271302

Summary: Netbeans looses classes list with parallel source directories
Product: editor Reporter: SirIntellegence
Component: Completion & TemplatesAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description SirIntellegence 2017-08-15 18:01:01 UTC
I'm not sure how to best describe this... I have multiple copies of my company's code in a directory, such that I have something like this:
CodeRoot
CodeRoot1 (hg share CodeRoot CodeRoot1)
CodeRoot2 (hg share CodeRoot CodeRoot2)
CodeRoot3 (hg share CodeRoot CodeRoot3)
All of those folders are the copies of the same repo. I have multiple copies so I can suspend work on one bug to work on another without having to commit incomplete code. I just change the project group to the one I need to work on.
When setup like this with a large code base, Netbeans tends to "forget" classes, such that it returns no results of classes within my projects and doesn't attempt to re-index them since they are supposedly indexed? When this happens, I have to clear the Netbeans cache to get it to work properly again. Is this fixable? I the programming language I am using is Java.