Invalid resource name [message #125234] |
Wed, 27 October 2004 02:05  |
Eclipse User |
|
|
|
I am trying to get an existing C++ project into eclipse under Linux, but
I keep getting an error message saying "Project cannot be created"
"Reason: Errors occurred while refreshing resources with the local file
system"
When I look at the details it says ":n is an invalid resource name.".
What does this mean?
I'm using Eclipse 3.0.1 on Redhat Linux 8.0 with Java 1.5.0.
From the .log:
!SESSION Oct 27, 2004 15:33:28.249
---------------------------------------------
eclipse.buildId=M200409161125
java.version=1.5.0
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_AU
!ENTRY org.eclipse.cdt.ui 4 4 Oct 27, 2004 15:33:28.252
!MESSAGE Error
!STACK 1
org.eclipse.core.internal.resources.ResourceException: Errors occurred
while ref
reshing resources with the local file system.
at
org.eclipse.core.internal.localstore.FileSystemResourceManag er.refres
hResource(FileSystemResourceManager.java:625)
at
org.eclipse.core.internal.localstore.FileSystemResourceManag er.refres
h(FileSystemResourceManager.java:609)
at
org.eclipse.core.internal.resources.Resource.refreshLocal(Re source.ja
va:1228)
at
org.eclipse.core.internal.resources.Project.open(Project.jav a:787)
at org.eclipse.cdt.core.CCorePlugin$3.run(CCorePlugin.java:702)
at
org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1673
)
at
org.eclipse.cdt.core.CCorePlugin.createCProject(CCorePlugin. java:686)
at
org.eclipse.cdt.ui.wizards.NewCProjectWizard.createNewProjec t(NewCPro
jectWizard.java:300)
at
org.eclipse.cdt.ui.wizards.NewCProjectWizard.doRun(NewCProje ctWizard.
java:259)
at
org.eclipse.cdt.make.ui.wizards.NewMakeProjectWizard.doRun(N ewMakePro
jectWizard.java:51)
at
org.eclipse.cdt.make.ui.wizards.NewMakeCCProjectWizard.doRun (NewMakeC
CProjectWizard.java:49)
at
org.eclipse.cdt.ui.wizards.NewCProjectWizard$1.run(NewCProje ctWizard.
java:220)
at
org.eclipse.ui.actions.WorkspaceModifyDelegatingOperation.ex ecute(Wor
kspaceModifyDelegatingOperation.java:67)
at
org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(Worksp aceModify
Operation.java:91)
at
org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1673
)
at
org.eclipse.ui.actions.WorkspaceModifyOperation.run(Workspac eModifyOp
eration.java:105)
at
org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalCont
ext.java:303)
at
org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:253)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java: 752)
at
org.eclipse.cdt.ui.wizards.NewCProjectWizard.invokeRunnable( NewCProje
ctWizard.java:238)
at
org.eclipse.cdt.ui.wizards.NewCProjectWizard.performFinish(N ewCProjec
tWizard.java:161)
at
org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDi alog.java
:609)
at
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java
:305)
at
org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.jav a:506)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:
89)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:954)
at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2595)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:668 )
at org.eclipse.jface.window.Window.open(Window.java:648)
at
org.eclipse.ui.actions.NewProjectAction.run(NewProjectAction .java:111
)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:881 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection
(ActionContributionItem.java:915)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContri
butionItem.java:866)
at
org.eclipse.jface.action.ActionContributionItem$7.handleEven t(ActionC
ontributionItem.java:785)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:954)
at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2595)
at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2298)
at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1377)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.jav
a:254)
at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:141)
at
org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:96
)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformAct
ivator.java:335)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.ja
va:273)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.ja
va:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
at org.eclipse.core.launcher.Main.run(Main.java:704)
at org.eclipse.core.launcher.Main.main(Main.java:688)
!SUBENTRY 1 org.eclipse.core.resources 4 271 Oct 27, 2004 15:33:28.255
!MESSAGE Errors occurred while refreshing resources with the local file
system.
!SUBENTRY 2 org.eclipse.core.resources 4 278 Oct 27, 2004 15:33:28.255
!MESSAGE :n is an invalid resource name.
|
|
|
Re: Invalid resource name [message #125416 is a reply to message #125234] |
Thu, 28 October 2004 18:17  |
Eclipse User |
|
|
|
In case someone else runs into this - its a bug:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=24152
Andrew Zahra wrote:
> I am trying to get an existing C++ project into eclipse under Linux, but
> I keep getting an error message saying "Project cannot be created"
> "Reason: Errors occurred while refreshing resources with the local file
> system"
>
> When I look at the details it says ":n is an invalid resource name.".
>
> What does this mean?
>
> I'm using Eclipse 3.0.1 on Redhat Linux 8.0 with Java 1.5.0.
>
> From the .log:
> !SESSION Oct 27, 2004 15:33:28.249
> ---------------------------------------------
> eclipse.buildId=M200409161125
> java.version=1.5.0
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_AU
>
> !ENTRY org.eclipse.cdt.ui 4 4 Oct 27, 2004 15:33:28.252
> !MESSAGE Error
> !STACK 1
> org.eclipse.core.internal.resources.ResourceException: Errors occurred
> while ref
> reshing resources with the local file system.
> at
> org.eclipse.core.internal.localstore.FileSystemResourceManag er.refres
> hResource(FileSystemResourceManager.java:625)
> at
> org.eclipse.core.internal.localstore.FileSystemResourceManag er.refres
> h(FileSystemResourceManager.java:609)
> at
> org.eclipse.core.internal.resources.Resource.refreshLocal(Re source.ja
> va:1228)
> at
> org.eclipse.core.internal.resources.Project.open(Project.jav a:787)
> at org.eclipse.cdt.core.CCorePlugin$3.run(CCorePlugin.java:702)
> at
> org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1673
> )
> at
> org.eclipse.cdt.core.CCorePlugin.createCProject(CCorePlugin. java:686)
> at
> org.eclipse.cdt.ui.wizards.NewCProjectWizard.createNewProjec t(NewCPro
> jectWizard.java:300)
> at
> org.eclipse.cdt.ui.wizards.NewCProjectWizard.doRun(NewCProje ctWizard.
> java:259)
> at
> org.eclipse.cdt.make.ui.wizards.NewMakeProjectWizard.doRun(N ewMakePro
> jectWizard.java:51)
> at
> org.eclipse.cdt.make.ui.wizards.NewMakeCCProjectWizard.doRun (NewMakeC
> CProjectWizard.java:49)
> at
> org.eclipse.cdt.ui.wizards.NewCProjectWizard$1.run(NewCProje ctWizard.
> java:220)
> at
> org.eclipse.ui.actions.WorkspaceModifyDelegatingOperation.ex ecute(Wor
> kspaceModifyDelegatingOperation.java:67)
> at
> org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(Worksp aceModify
> Operation.java:91)
> at
> org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1673
> )
> at
> org.eclipse.ui.actions.WorkspaceModifyOperation.run(Workspac eModifyOp
> eration.java:105)
> at
> org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalCont
> ext.java:303)
> at
> org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:253)
> at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java: 752)
> at
> org.eclipse.cdt.ui.wizards.NewCProjectWizard.invokeRunnable( NewCProje
> ctWizard.java:238)
> at
> org.eclipse.cdt.ui.wizards.NewCProjectWizard.performFinish(N ewCProjec
> tWizard.java:161)
> at
> org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDi alog.java
> :609)
> at
> org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java
> :305)
> at
> org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.jav a:506)
> at
> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:
> 89)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:954)
> at
> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2595)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:668 )
> at org.eclipse.jface.window.Window.open(Window.java:648)
> at
> org.eclipse.ui.actions.NewProjectAction.run(NewProjectAction .java:111
> )
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:881 )
> at
> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection
> (ActionContributionItem.java:915)
> at
> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContri
> butionItem.java:866)
> at
> org.eclipse.jface.action.ActionContributionItem$7.handleEven t(ActionC
> ontributionItem.java:785)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:954)
> at
> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2595)
> at
> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2298)
> at
> org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1377)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.jav
> a:254)
> at
> org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:141)
> at
> org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:96
> )
> at
> org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformAct
> ivator.java:335)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.ja
> va:273)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.ja
> va:129)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.
> java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAcces
> sorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
> at org.eclipse.core.launcher.Main.run(Main.java:704)
> at org.eclipse.core.launcher.Main.main(Main.java:688)
> !SUBENTRY 1 org.eclipse.core.resources 4 271 Oct 27, 2004 15:33:28.255
> !MESSAGE Errors occurred while refreshing resources with the local file
> system.
> !SUBENTRY 2 org.eclipse.core.resources 4 278 Oct 27, 2004 15:33:28.255
> !MESSAGE :n is an invalid resource name.
|
|
|
Powered by
FUDForum. Page generated in 0.05673 seconds