Saljack commented on issue #8262:
URL: https://github.com/apache/netbeans/issues/8262#issuecomment-2676077988

   I tried to run Netbeans with an empty userdir and the problem is still there 
so it is not connected to my configuration. I checked logs with working and 
without working generated sources and found if there is this line in my log:
   ```
   WARNING [org.netbeans.modules.java.source.indexing.JavaIndex]: Ignoring root 
with no ClassPath: 
C:\Users\tpoledny\Documents\NetBeansProjects\GenerateSources\target\generated-sources\openapi
   ```
   then it does not work and if this line is missing then it works.  So I would 
say the problem is here in this condition (no `compilePath` or `sourcePath`?):
   
https://github.com/apache/netbeans/blob/64c10fb23d396ea8793a5efb53700947b0ab7393/java/java.source.base/src/org/netbeans/modules/java/source/indexing/JavaCustomIndexer.java#L248
   
   But how is it possible that sometimes it works and sometimes it is totally 
broken? 
   
   This is also interesting it looks like it worked in some moment but it was 
removed from this view.
   
![Image](https://github.com/user-attachments/assets/62ccd775-d246-4e5f-a27f-788b83b2dd37)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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

Reply via email to