Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » create java project fail in the RCP product.
create java project fail in the RCP product. [message #727964] Thu, 22 September 2011 10:00 Go to next message
hansen  is currently offline hansen
Messages: 13
Registered: December 2010
Junior Member
In RCP product, I have a function, create a java project first, then run the project.
In plugin project, it is ok. but after generating RCP product, the first step(create java project) is fail.

Thanks in advance!

Log message:
java.lang.reflect.InvocationTargetException
at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:121)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:1008)
at com.bluebamboo.bluetools.internal.ui.wizards.tools.DummyLaunchWizard.performFinish(DummyLaunchWizard.java:62)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:811)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:430)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at com.bluebamboo.bluetools.internal.ui.actions.DummyLaunchAction.run(DummyLaunchAction.java:31)
at com.bluebamboo.bluetools.internal.ui.actions.DummyLaunchAction.execute(DummyLaunchAction.java:35)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241)
at org.eclipse.ui.menus.CommandContributionItem.handleWidgetSelection(CommandContributionItem.java:820)
at org.eclipse.ui.menus.CommandContributionItem.access$19(CommandContributionItem.java:806)
at org.eclipse.ui.menus.CommandContributionItem$5.handleEvent(CommandContributionItem.java:796)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2629)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2593)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2427)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:670)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:663)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.tutorials.rcp.part1.Application.start(Application.java:20)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
Caused by: org.eclipse.core.internal.resources.ResourceException: Resource '/.Dummy_STIPlet.GPSample1' already exists.
at org.eclipse.core.internal.resources.Resource.checkDoesNotExist(Resource.java:305)
at org.eclipse.core.internal.resources.Resource.checkDoesNotExist(Resource.java:292)
at org.eclipse.core.internal.resources.Project.assertCreateRequirements(Project.java:51)
at org.eclipse.core.internal.resources.Project.create(Project.java:274)
at org.eclipse.core.internal.resources.Project.create(Project.java:256)
at org.eclipse.core.internal.resources.Project.create(Project.java:249)
at com.bluebamboo.bluetools.core.JavaUtils$2.run(JavaUtils.java:458)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1957)
at com.bluebamboo.bluetools.core.JavaUtils.createProject(JavaUtils.java:462)
at com.bluebamboo.bluetools.core.JavaUtils$1.run(JavaUtils.java:258)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1957)
at com.bluebamboo.bluetools.core.JavaUtils.createJavaProject(JavaUtils.java:447)
at com.bluebamboo.bluetools.core.JavaUtils.createJavaProject(JavaUtils.java:224)
at com.bluebamboo.bluetools.internal.core.launching.DummyLauncher.createDummyProject(DummyLauncher.java:283)
at com.bluebamboo.bluetools.internal.core.launching.DummyLauncher.initializeLaunchConfiguration(DummyLauncher.java:227)
at com.bluebamboo.bluetools.internal.core.launching.DummyLauncher.run(DummyLauncher.java:126)
at com.bluebamboo.bluetools.internal.ui.wizards.tools.DummyLaunchWizard$1.execute(DummyLaunchWizard.java:58)
at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:106)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)
at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:118)
... 49 more
Root exception:
org.eclipse.core.internal.resources.ResourceException: Resource '/.Dummy_STIPlet.GPSample1' already exists.
at org.eclipse.core.internal.resources.Resource.checkDoesNotExist(Resource.java:305)
at org.eclipse.core.internal.resources.Resource.checkDoesNotExist(Resource.java:292)
at org.eclipse.core.internal.resources.Project.assertCreateRequirements(Project.java:51)
at org.eclipse.core.internal.resources.Project.create(Project.java:274)
at org.eclipse.core.internal.resources.Project.create(Project.java:256)
at org.eclipse.core.internal.resources.Project.create(Project.java:249)
at com.bluebamboo.bluetools.core.JavaUtils$2.run(JavaUtils.java:458)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1957)
at com.bluebamboo.bluetools.core.JavaUtils.createProject(JavaUtils.java:462)
at com.bluebamboo.bluetools.core.JavaUtils$1.run(JavaUtils.java:258)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1957)
at com.bluebamboo.bluetools.core.JavaUtils.createJavaProject(JavaUtils.java:447)
at com.bluebamboo.bluetools.core.JavaUtils.createJavaProject(JavaUtils.java:224)
at com.bluebamboo.bluetools.internal.core.launching.DummyLauncher.createDummyProject(DummyLauncher.java:283)
at com.bluebamboo.bluetools.internal.core.launching.DummyLauncher.initializeLaunchConfiguration(DummyLauncher.java:227)
at com.bluebamboo.bluetools.internal.core.launching.DummyLauncher.run(DummyLauncher.java:126)
at com.bluebamboo.bluetools.internal.ui.wizards.tools.DummyLaunchWizard$1.execute(DummyLaunchWizard.java:58)
at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:106)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)
at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:118)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:1008)
at com.bluebamboo.bluetools.internal.ui.wizards.tools.DummyLaunchWizard.performFinish(DummyLaunchWizard.java:62)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:811)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:430)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at com.bluebamboo.bluetools.internal.ui.actions.DummyLaunchAction.run(DummyLaunchAction.java:31)
at com.bluebamboo.bluetools.internal.ui.actions.DummyLaunchAction.execute(DummyLaunchAction.java:35)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241)
at org.eclipse.ui.menus.CommandContributionItem.handleWidgetSelection(CommandContributionItem.java:820)
at org.eclipse.ui.menus.CommandContributionItem.access$19(CommandContributionItem.java:806)
at org.eclipse.ui.menus.CommandContributionItem$5.handleEvent(CommandContributionItem.java:796)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2629)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2593)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2427)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:670)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:663)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.tutorials.rcp.part1.Application.start(Application.java:20)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
Re: create java project fail in the RCP product. [message #727967 is a reply to message #727964] Thu, 22 September 2011 10:05 Go to previous message
hansen  is currently offline hansen
Messages: 13
Registered: December 2010
Junior Member
So what is the difference between creating project in RCP and in eclipse?
Previous Topic:Empty toolbar
Next Topic:How can I force Text widget to break word when wrapping lines?
Goto Forum:
  


Current Time: Mon Sep 22 22:21:33 GMT 2014

Powered by FUDForum. Page generated in 0.01592 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software