Menu

#52 "New Tersus Project" fails when project name ends with blank

open
nobody
None
5
2005-09-29
2005-09-29
No

When performing "File->New->Tersus Project" and
giving a project name that ends with a blank, nothing
happens, but no error message is issued.

For Youval:
org.eclipse.core.internal.resources.ResourceException:
Resource name "ExceleratorRW " cannot begin or end
with whitespace.
at
org.eclipse.core.internal.resources.Resource.checkValid
Path(Resource.java:423)
at
org.eclipse.core.internal.resources.Project.create
(Project.java:245)
at
org.eclipse.core.internal.resources.Project.create
(Project.java:301)
at
tersus.editor.wizards.NewProjectWizard.performFinish
(NewProjectWizard.java:85)
at
org.eclipse.jface.wizard.WizardDialog.finishPressed
(WizardDialog.java:609)
at
org.eclipse.jface.wizard.WizardDialog.buttonPressed
(WizardDialog.java:305)
at
org.eclipse.jface.dialogs.Dialog$2.widgetSelected
(Dialog.java:506)
at
org.eclipse.swt.widgets.TypedListener.handleEvent
(TypedListener.java:89)
at
org.eclipse.swt.widgets.EventTable.sendEvent
(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent
(Widget.java:796)
at
org.eclipse.swt.widgets.Display.runDeferredEvents
(Display.java:2772)
at
org.eclipse.swt.widgets.Display.readAndDispatch
(Display.java:2431)
at
org.eclipse.jface.window.Window.runEventLoop
(Window.java:668)
at org.eclipse.jface.window.Window.open
(Window.java:648)
at
org.eclipse.ui.internal.ide.NewWizardShortcutAction.run
(NewWizardShortcutAction.java:96)
at
org.eclipse.jface.action.Action.runWithEvent
(Action.java:881)
at
org.eclipse.jface.action.ActionContributionItem.handleWi
dgetSelection(ActionContributionItem.java:915)
at
org.eclipse.jface.action.ActionContributionItem.access$2
(ActionContributionItem.java:866)
at
org.eclipse.jface.action.ActionContributionItem$7.handle
Event(ActionContributionItem.java:785)
at
org.eclipse.swt.widgets.EventTable.sendEvent
(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent
(Widget.java:796)
at
org.eclipse.swt.widgets.Display.runDeferredEvents
(Display.java:2772)
at
org.eclipse.swt.widgets.Display.readAndDispatch
(Display.java:2431)
at
org.eclipse.ui.internal.Workbench.runEventLoop
(Workbench.java:1377)
at org.eclipse.ui.internal.Workbench.runUI
(Workbench.java:1348)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbe
nch(Workbench.java:254)
at
org.eclipse.ui.PlatformUI.createAndRunWorkbench
(PlatformUI.java:141)
at
org.eclipse.ui.internal.ide.IDEApplication.run
(IDEApplication.java:96)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run
(PlatformActivator.java:335)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:273)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:129)
at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke
(Method.java:324)
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)
org.eclipse.core.internal.resources.ResourceException:
Resource name "ExceleratorRW " cannot begin or end
with whitespace.
at
org.eclipse.core.internal.resources.Resource.checkValid
Path(Resource.java:423)
at
org.eclipse.core.internal.resources.Project.create
(Project.java:245)
at
org.eclipse.core.internal.resources.Project.create
(Project.java:301)
at
tersus.editor.wizards.NewProjectWizard.performFinish
(NewProjectWizard.java:85)
at
org.eclipse.jface.wizard.WizardDialog.finishPressed
(WizardDialog.java:609)
at
org.eclipse.jface.wizard.WizardDialog.buttonPressed
(WizardDialog.java:305)
at
org.eclipse.jface.dialogs.Dialog$2.widgetSelected
(Dialog.java:506)
at
org.eclipse.swt.widgets.TypedListener.handleEvent
(TypedListener.java:89)
at
org.eclipse.swt.widgets.EventTable.sendEvent
(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent
(Widget.java:796)
at
org.eclipse.swt.widgets.Display.runDeferredEvents
(Display.java:2772)
at
org.eclipse.swt.widgets.Display.readAndDispatch
(Display.java:2431)
at
org.eclipse.jface.window.Window.runEventLoop
(Window.java:668)
at org.eclipse.jface.window.Window.open
(Window.java:648)
at
org.eclipse.ui.internal.ide.NewWizardShortcutAction.run
(NewWizardShortcutAction.java:96)
at
org.eclipse.jface.action.Action.runWithEvent
(Action.java:881)
at
org.eclipse.jface.action.ActionContributionItem.handleWi
dgetSelection(ActionContributionItem.java:915)
at
org.eclipse.jface.action.ActionContributionItem.access$2
(ActionContributionItem.java:866)
at
org.eclipse.jface.action.ActionContributionItem$7.handle
Event(ActionContributionItem.java:785)
at
org.eclipse.swt.widgets.EventTable.sendEvent
(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent
(Widget.java:796)
at
org.eclipse.swt.widgets.Display.runDeferredEvents
(Display.java:2772)
at
org.eclipse.swt.widgets.Display.readAndDispatch
(Display.java:2431)
at
org.eclipse.ui.internal.Workbench.runEventLoop
(Workbench.java:1377)
at org.eclipse.ui.internal.Workbench.runUI
(Workbench.java:1348)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbe
nch(Workbench.java:254)
at
org.eclipse.ui.PlatformUI.createAndRunWorkbench
(PlatformUI.java:141)
at
org.eclipse.ui.internal.ide.IDEApplication.run
(IDEApplication.java:96)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run
(PlatformActivator.java:335)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:273)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:129)
at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke
(Method.java:324)
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)
org.eclipse.core.internal.resources.ResourceException:
Resource name "ExceleratorRW " cannot begin or end
with whitespace.
at
org.eclipse.core.internal.resources.Resource.checkValid
Path(Resource.java:423)
at
org.eclipse.core.internal.resources.Project.create
(Project.java:245)
at
org.eclipse.core.internal.resources.Project.create
(Project.java:301)
at
tersus.editor.wizards.NewProjectWizard.performFinish
(NewProjectWizard.java:85)
at
org.eclipse.jface.wizard.WizardDialog.finishPressed
(WizardDialog.java:609)
at
org.eclipse.jface.wizard.WizardDialog.buttonPressed
(WizardDialog.java:305)
at
org.eclipse.jface.dialogs.Dialog$2.widgetSelected
(Dialog.java:506)
at
org.eclipse.swt.widgets.TypedListener.handleEvent
(TypedListener.java:89)
at
org.eclipse.swt.widgets.EventTable.sendEvent
(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent
(Widget.java:796)
at
org.eclipse.swt.widgets.Display.runDeferredEvents
(Display.java:2772)
at
org.eclipse.swt.widgets.Display.readAndDispatch
(Display.java:2431)
at
org.eclipse.jface.window.Window.runEventLoop
(Window.java:668)
at org.eclipse.jface.window.Window.open
(Window.java:648)
at
org.eclipse.ui.internal.ide.NewWizardShortcutAction.run
(NewWizardShortcutAction.java:96)
at
org.eclipse.jface.action.Action.runWithEvent
(Action.java:881)
at
org.eclipse.jface.action.ActionContributionItem.handleWi
dgetSelection(ActionContributionItem.java:915)
at
org.eclipse.jface.action.ActionContributionItem.access$2
(ActionContributionItem.java:866)
at
org.eclipse.jface.action.ActionContributionItem$7.handle
Event(ActionContributionItem.java:785)
at
org.eclipse.swt.widgets.EventTable.sendEvent
(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent
(Widget.java:796)
at
org.eclipse.swt.widgets.Display.runDeferredEvents
(Display.java:2772)
at
org.eclipse.swt.widgets.Display.readAndDispatch
(Display.java:2431)
at
org.eclipse.ui.internal.Workbench.runEventLoop
(Workbench.java:1377)
at org.eclipse.ui.internal.Workbench.runUI
(Workbench.java:1348)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbe
nch(Workbench.java:254)
at
org.eclipse.ui.PlatformUI.createAndRunWorkbench
(PlatformUI.java:141)
at
org.eclipse.ui.internal.ide.IDEApplication.run
(IDEApplication.java:96)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run
(PlatformActivator.java:335)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:273)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:129)
at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke
(Method.java:324)
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)

Discussion


Log in to post a comment.