Community
Participate
Working Groups
On Linux RedHat 7.2, gtk+-1.2.10-ximian.21, Eclipse build 20020408 (file eclipse-SDK-20020408-linux-gtk1x.zip): 1. Fresh install 2. Select File...New...Project... 3. New Project Wizard comes up, select Java, Java Project, Next 4. In Project Name enter ATP (or any name, for that matter) 5. Select Finish...the following error appears: "An error occured while creating Java Project Reason: File /ATP/.project is read-only" This is repeatable.
Does this message indicate the resource path or the file name? i.e. is it trying to create a file under root?
If the user is not entering a location for the project (e.g. it is using the default workspace location for the content) then this would be a resource path in the workspace tree and not a file system path. Where is your workspace located? How do you start Eclipse? Do you use a -data command?
I downloaded the file (eclipse-SDK-20020408-linux-gtk1x.zip) to the following directory: /home/hroark/downloads/eclipse I then unziped the downloaded file: unzip eclipse-SDK-20020408-linux-gtk1x.zip I then changed directory into /home/hroark/downloads/eclipse/eclipse and typed the following command: ./eclipse -ws gtk1x I then did the steps (starting at #2) in the original bug report to attempt to create a new project. No errors appear in the console from where I started eclipse, only the dialog in the orginal bug report. Is this what you were looking for?
Yes, thanks for the steps. Is there any information in the .log file? It should be in the workspace metadata area. /home/hroark/downloads/eclipse/eclipse/workspace/.metadata/.log
Here's the log file..I did a clean install to get as short a log file as possible: Log: Mon Apr 08 14:09:16 EDT 2002 1 org.eclipse.core.resources 2 Could not load library: libcore_2_0_5.so. java.lang.UnsatisfiedLinkError: no core_2_0_5 in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1312) at java.lang.Runtime.loadLibrary0(Runtime.java:749) at java.lang.System.loadLibrary(System.java:820) at org.eclipse.core.internal.localstore.CoreFileSystemLibrary.<clinit>(CoreFileSystemLibrary.java:51) at org.eclipse.core.internal.resources.Resource.checkDoesNotExist(Resource.java:1065) at org.eclipse.core.internal.resources.Project.create(Project.java:238) at org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPage$2.run(NewJavaProjectWizardPage.java:274) at org.eclipse.ui.actions.WorkspaceModifyDelegatingOperation.execute(WorkspaceModifyDelegatingOperation.java:39) at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:64) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1343) at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:78) at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:296) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:249) at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:713) at org.eclipse.jdt.internal.ui.wizards.NewProjectCreationWizard.performFinish(NewProjectCreationWizard.java:62) at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:570) at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:311) at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:356) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:85) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:75) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:539) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1212) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1098) at org.eclipse.jface.window.Window.runEventLoop(Window.java:538) at org.eclipse.jface.window.Window.open(Window.java:525) at org.eclipse.ui.actions.NewProjectAction.run(NewProjectAction.java:105) at org.eclipse.jface.action.Action.runWithEvent(Action.java:590) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:407) at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:361) at org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:352) at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:47) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:75) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:539) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1212) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1098) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:779) at org.eclipse.ui.internal.Workbench.run(Workbench.java:762) at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:777) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:319) at java.lang.reflect.Method.invoke(Native Method) at org.eclipse.core.launcher.Main.basicRun(Main.java:190) at org.eclipse.core.launcher.Main.run(Main.java:549) at org.eclipse.core.launcher.Main.main(Main.java:390) Log: Mon Apr 08 14:09:17 EDT 2002 4 org.eclipse.jdt.ui 1 Internal Error org.eclipse.core.internal.resources.ResourceException: File /atp/.project is read-only. at org.eclipse.core.internal.resources.Workspace.validateSave(Workspace.java:1711) at org.eclipse.core.internal.resources.File.setContents(File.java:243) at org.eclipse.core.internal.localstore.FileSystemResourceManager.internalWrite(FileSystemResourceManager.java:156) at org.eclipse.core.internal.resources.Project.writeDescription(Project.java:750) at org.eclipse.core.internal.resources.Project.create(Project.java:263) at org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPage$2.run(NewJavaProjectWizardPage.java:274) at org.eclipse.ui.actions.WorkspaceModifyDelegatingOperation.execute(WorkspaceModifyDelegatingOperation.java:39) at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:64) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1343) at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:78) at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:296) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:249) at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:713) at org.eclipse.jdt.internal.ui.wizards.NewProjectCreationWizard.performFinish(NewProjectCreationWizard.java:62) at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:570) at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:311) at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:356) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:85) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:75) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:539) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1212) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1098) at org.eclipse.jface.window.Window.runEventLoop(Window.java:538) at org.eclipse.jface.window.Window.open(Window.java:525) at org.eclipse.ui.actions.NewProjectAction.run(NewProjectAction.java:105) at org.eclipse.jface.action.Action.runWithEvent(Action.java:590) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:407) at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:361) at org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:352) at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:47) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:75) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:539) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1212) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1098) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:779) at org.eclipse.ui.internal.Workbench.run(Workbench.java:762) at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:777) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:319) at java.lang.reflect.Method.invoke(Native Method) at org.eclipse.core.launcher.Main.basicRun(Main.java:190) at org.eclipse.core.launcher.Main.run(Main.java:549) at org.eclipse.core.launcher.Main.main(Main.java:390) 4 org.eclipse.team.core 4 File /atp/.project is read-only.
I just noticed that you are using a nightly build. Nightly builds are not guarenteed to work (and will most likely not). Here is a list of the different build types: http://eclipsedrops.ott.oti.com/downloads/master/downloads/build_types.html Are you able to reproduce this problem in either a stable build or integration build?
Yeah, I know I'm using a nightly build...that is because the last integration build (20020404) doesn't include the fix for bug #6983, and I need that fix. I can wait for the next integration build.
Closing bug. Please re-open if you are able to reproduce this behaviour on a non-nightly build.
Created attachment 565 [details] Log file from 20020409 build
I just downloaded the latest Linux GTK1.x integration build (20020409) and this defect still exists. I followed the same steps as below and got the exact same error. As a side note, this defect does not exist in the Windows version. I attached the log from the 20020409 build to this defect.
*** Bug 13474 has been marked as a duplicate of this bug. ***
should the priority be bumbed up to p1?
Duplicate of Bug 12769. Really 2 problems. First the our library isn't shipped with the GTK zip. Will look into that. Since the library wasn't present, the bug in Bug 12769 surfaced. *** This bug has been marked as a duplicate of 12769 ***
bug 12769 is fixed as of 4/9 build, yet this problem still exists in 4/10 build...
Bug 12769 is fixed in integration builds after 2002-04-09.