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 74989 - Exceptions when saving prj properties and project files not saved
Summary: Exceptions when saving prj properties and project files not saved
Status: RESOLVED DUPLICATE of bug 50992
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-13 08:59 UTC by Milan Kubec
Modified: 2006-10-23 16:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exc stack traces (9.71 KB, text/plain)
2006-04-13 09:00 UTC, Milan Kubec
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Kubec 2006-04-13 08:59:46 UTC
NetBeans IDE Dev (Build 200604111800)
1.5.0_06; Java HotSpot(TM) Client VM 1.5.0_06-b05
Windows XP version 5.1 running on x86
en_US (nb); Cp1252

If user wants to save project properties dialog and some project files are not
saved (project.xml, build.xml) exceptions are thrown and the operation is not
finished. Excetions thrown are FileAlreadyLockedException for the first time and
IllegalStateException if saving the prj props. afterwards. I think that there
should be a check if any important project files affected by saving project
properties are opened in editor and not saved then user will be asked to save
changes.

Not sure if each project type should do the check or it can be done in projectui
in general, because each project might have different set of affected files.
Comment 1 Milan Kubec 2006-04-13 09:00:17 UTC
Created attachment 29830 [details]
exc stack traces
Comment 2 Jesse Glick 2006-04-13 19:59:56 UTC
Long known.

*** This issue has been marked as a duplicate of 50992 ***