Project: Eclipse_Platform_UI
Bug 13925 Error reported on stderr when .project is read-only
Reported: 2002-04-16 14:30:14 | Status: resolved fixed

Build 20020412 1) Create two simple projects, P1 and P2 2) Make the .project file for P1 read-only on the resource info property page 3) Go to the project references property page, and add a reference to P2 An error dialog pops up, saying that .project is read-only. This is good. However, it also prints the following to stderr (appears in the java console): Error in ProjectReferencePage.doOk Reason: File /S2/.project is read-only. This originates from ProjectReferencePage#handle 1) The message refers to a method that doesn't exist 2) This message suggests that an internal error has occurred, but this is actually an expected case (ie, CoreException usually means user error, not program error). 3) I noticed that the error dialog title is not NLS'd, but probaby should be since it's being presented to the user.

Files changed in fix:
bundles/org.eclipse.ui/Eclipse UI/org/eclipse/ui/internal/dialogs/ProjectReferencePage.java