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.
When i try to run profiler on my netbeans platform module project, many dialog box appear on my desktop that says some files are open and then one Exception occur (I report it by ID 69663) and then i found that all my source files in src directory are lost. i try to update netbeans and running profiler again but problem occur again and all my source files lost. i lost all my changes in project today, and i do not know why netbeans try to delete my source files?
Looking at http://statistics.netbeans.org/analytics/detail.do?id=69663 I don't see anything related to the profiler. Unfortunately you haven't provided any information which could help us to investigate the problem. Can you please attach at least the IDE logfile? Is there any chance you could provide a reproducible test case? BTW in http://statistics.netbeans.org/analytics/detail.do?id=69663 I can see Too many open files message - this could have the same root cause as Issue 129931, you can check if increasing the limit for open files helps. But this definitely shouldn't delete any sources...
Created attachment 63634 [details] netbeans log
I try to reproduce this problem on another computer, it seems it only throw on my project and delete my files. :D so i send the log file for you here, my project is a netbeans suite project with some module. unfortunately i can not share it here, but if you need any test or more info, i can do that for you.
Created attachment 63644 [details] netbeans log 2
I try it again and in this test my system hangup too. all my source files be deleted too. log file is attached (log2.log)
The log file shows that you are experiencing issue #129931 - Too many open files. --- from your log -- INFO [org.netbeans.modules.apisupport.project]: /home/reza/NetBeansProjects/MidiaDesigner/itp-gpl/nbproject/project.xml (Too many open files) java.io.FileNotFoundException: /home/reza/NetBeansProjects/MidiaDesigner/itp-gpl/nbproject/project.xml (Too many open files) ---------------- The workaround is to increase the limit of open files, which is by default 1000. This does not explain the original problem with deleted files. I currently cannot see a way how this can happen. Please provide the exact steps how to reproduce problem, so we can investigate what is wrong.
azizi, could you please let us know if increasing the number of open files solved the problem?
No response - expecting that the problem has been resolved, marking as duplicate of Issue 129931. Feel free to reopen if you experience deleting the sources again with fixed Issue 129931. *** This issue has been marked as a duplicate of 129931 ***