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 138317 - netbeans delete all my source file in src directory
Summary: netbeans delete all my source file in src directory
Status: RESOLVED DUPLICATE of bug 129931
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All Linux
: P1 blocker (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-26 09:31 UTC by azizi
Modified: 2008-08-25 11:30 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
netbeans log (1.57 MB, text/plain)
2008-06-28 08:24 UTC, azizi
Details
netbeans log 2 (1.19 MB, text/plain)
2008-06-29 08:20 UTC, azizi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description azizi 2008-06-26 09:31:47 UTC
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?
Comment 1 Jiri Sedlacek 2008-06-26 21:59:47 UTC
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...
Comment 2 azizi 2008-06-28 08:24:53 UTC
Created attachment 63634 [details]
netbeans log
Comment 3 azizi 2008-06-28 08:27:47 UTC
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. 
Comment 4 azizi 2008-06-29 08:20:17 UTC
Created attachment 63644 [details]
netbeans log 2
Comment 5 azizi 2008-06-29 08:25:12 UTC
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)
Comment 6 Tomas Hurka 2008-06-30 07:43:06 UTC
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.
Comment 7 Jiri Sedlacek 2008-08-14 15:29:59 UTC
azizi, could you please let us know if increasing the number of open files solved the problem?
Comment 8 Jiri Sedlacek 2008-08-25 11:30:23 UTC
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 ***