thevpc opened a new issue, #8069:
URL: https://github.com/apache/netbeans/issues/8069

   ### Apache NetBeans version
   
   Apache NetBeans 24
   
   ### What happened
   
   After opening a java maven project , netbeans shows no more source folder 
and behaves oddly
   Here is the message shown
   
   
![image](https://github.com/user-attachments/assets/d430a77b-d371-4905-8ef5-0b86a74c2b32)
   
   Log file does not provide any clue.
   The only thing i see is 
   WARNING [org.netbeans.modules.java.source.indexing.JavaIndex]: Ignoring root 
with no ClassPath:  ...
   whereas the folders belong to projects with existing dependencies
   Besides when I creat e a new java project, here is what it looks
   
![image](https://github.com/user-attachments/assets/2021caa2-e61f-42c5-b266-a25f60d39572)
   
   src folder is shown but twice!!
   
   This happens randomly, and not always. But when it happens, i find no way to 
get it working properly but to delete completly netbeans cache and config 
folders.
   Deleting only cache does not change anything. But i noticed that deleting 
Modules folder under config does!
   this is the best workaround i can find for now.
   
   
   
   ### Language / Project Type / NetBeans Component
   
   Java Maven Project with modules
   
   ### How to reproduce
   
   I cannot tell exactly how it reproduces as it is random and
   Randomly it shows the following...
   
![image](https://github.com/user-attachments/assets/d430a77b-d371-4905-8ef5-0b86a74c2b32)
   This worked properly before nb22, on my machine, I was hoping it to be fixed 
but it didnt in 23 neither 24.
   
   
   ### Did this work correctly in an earlier version?
   
   Apache NetBeans 21
   
   ### Operating System
   
   Linux version 6.11.8-1-default running on amd64; UTF-8; en_US (nb)
   
   ### JDK
   
   21.0.5; OpenJDK 64-Bit Server VM 21.0.5+11-suse-1.1-x8664
   
   ### Apache NetBeans packaging
   
   Apache NetBeans binary zip
   
   ### Anything else
   
   It is not systematic, but once it happens, there is no way to fix it, i 
always try to delete config and cache folder.
   
   ### Are you willing to submit a pull request?
   
   No


-- 
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