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.
Summary: | Renaming C/C++ project and its folder delete all the files | ||
---|---|---|---|
Product: | projects | Reporter: | jack_z <jack_z> |
Component: | Generic Projects UI | Assignee: | Jiri Skrivanek <jskrivanek> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | anebuzelsky, issues, mmirilovic |
Priority: | P1 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | The log file required |
Description
jack_z
2009-03-21 08:17:59 UTC
Hi jack_z, thanks for your report. We need more informations to find a solution/fix for your problem, so please attach ${netbeans.userdir}/var/log/messages.log to this issue. Thanks in advance. Sasha, Since it is a P1 a give it to you for now, while it is a night time in US. If it is not fixed until US morning, then feel free to hand it over to Thomas. Leonid. Created attachment 78623 [details]
The log file required
Hi all, Thanks for your time and effort on this issue. Just one more thing... I have used NetBeans on several different other projects since this issue happened. So I'm not quite sure whether the log file attached still keeps the useful info for that issue... CND uses a default rename action. Rename implementation is: org.netbeans.modules.project.uiapi.DefaultProjectOperationsImplementation.doMoveProject() By the way I do not see a attempt to compare (or read) moved files before deletion. Reassigning to jskrivanek for evaluation. I fixed problems with shared access as read in the log file. But I am not sure whether it is a root problem. Original project is removed only if copying is OK. So I wonder how it could happen. Only idea is that renamed project was somehow created inside the original one and both were removed. But this is not possible to achieve from UI. I would need steps how to reproduce it to be able to find out what's wrong. http://hg.netbeans.org/core-main/rev/a5addb20f14b Integrated into 'main-golden', will be available in build *200903251400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/a5addb20f14b User: Jiri Skrivanek <jskrivanek@netbeans.org> Log: #160784 - Charset is not removed from cache by concurrent thread. It is removed when all stop using the cache. I tried to reproduce the error few times and imho it should be fixed, therefore I am changing the state of the issue to VERIFIED. jack_z, please migrate to the latest build and if the error occurs again (which shouldn't), juat reopen the issue. |