Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Polarsys » CHESS » Problem with creation of an empty CHESS project/model (The project is created in the resources, however something fails in the background)
Problem with creation of an empty CHESS project/model [message #1833273] Thu, 08 October 2020 09:57 Go to next message
Antonio Cicchetti is currently offline Antonio CicchettiFriend
Messages: 17
Registered: November 2013
Junior Member
Dear support,
I am having the following problem when creating a new project and subsequently model: I open the New CHESS Project Wizard, I input a name and then click finish. At that point the project is created in the workspace, however the window stays open. At a first attempt I then just closed the wizard with a cancel and proceeded to the creation of a new CHESS Model, however the wizard behaves in the same way. The issue is that at this point it looks like the platform fails to load the resources connected to the CHESS profile. The error log is reported in the following.

java.lang.NoSuchMethodError: com.google.common.util.concurrent.Futures.transform(Lcom/google/common/util/concurrent/ListenableFuture;Lcom/google/common/util/concurrent/AsyncFunction;)Lcom/google/common/util/concurrent/ListenableFuture;
	at org.eclipse.papyrus.infra.emf.internal.resource.index.InternalModelIndex.afterIndex(InternalModelIndex.java:101)
	at org.eclipse.papyrus.infra.emf.resource.index.WorkspaceModelIndex.afterIndex(WorkspaceModelIndex.java:325)
	at org.eclipse.papyrus.uml.decoratormodel.internal.resource.DecoratorModelIndex.afterIndex(DecoratorModelIndex.java:565)
	at org.eclipse.papyrus.uml.decoratormodel.internal.resource.DecoratorModelIndex.getUserModelsByDecoratorAsync(DecoratorModelIndex.java:472)
	at org.eclipse.papyrus.uml.decoratormodel.internal.resource.DecoratorModelReadOnlyHandler.anyReadOnly(DecoratorModelReadOnlyHandler.java:67)
	at org.eclipse.papyrus.infra.emf.readonly.ReadOnlyManager.anyReadOnly(ReadOnlyManager.java:273)
	at org.eclipse.papyrus.infra.emf.readonly.ReadOnlyManager.anyReadOnly(ReadOnlyManager.java:254)
	at org.eclipse.papyrus.infra.emf.readonly.ReadOnlyOneFileApprover.proceedExecuting(ReadOnlyOneFileApprover.java:108)
	at org.eclipse.papyrus.infra.emf.gmf.command.CheckedOperationHistory.getExecuteApproval(CheckedOperationHistory.java:157)
	at org.eclipse.papyrus.infra.emf.gmf.command.CheckedOperationHistory.execute(CheckedOperationHistory.java:190)
	at org.eclipse.papyrus.commands.CheckedOperationHistory.execute(CheckedOperationHistory.java:86)
	at org.eclipse.papyrus.infra.emf.gmf.command.NotifyingWorkspaceCommandStack.doExecute(NotifyingWorkspaceCommandStack.java:264)
	at org.eclipse.emf.transaction.impl.AbstractTransactionalCommandStack.execute(AbstractTransactionalCommandStack.java:165)
	at org.eclipse.emf.transaction.impl.AbstractTransactionalCommandStack.execute(AbstractTransactionalCommandStack.java:219)
	at org.eclipse.papyrus.commands.NestingNotifyingWorkspaceCommandStack.execute(NestingNotifyingWorkspaceCommandStack.java:136)
	at org.polarsys.chess.wizards.wizards.CreateCHESSModelWizard.createPapyrusModels(CreateCHESSModelWizard.java:387)
	at org.polarsys.chess.wizards.wizards.CreateCHESSModelWizard.createAndOpenCHESSModel(CreateCHESSModelWizard.java:234)
	at org.polarsys.chess.wizards.wizards.CreateCHESSModelWizard.performFinish(CreateCHESSModelWizard.java:198)
	at org.polarsys.chess.wizards.wizards.CHESSNewProjectWizard.performFinish(CHESSNewProjectWizard.java:97)
	at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:790)
	at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:423)
	at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:249)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4256)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1501)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1524)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1509)
	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1313)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4080)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3706)
	at org.eclipse.jface.window.Window.runEventLoop(Window.java:818)
	at org.eclipse.jface.window.Window.open(Window.java:794)
	at org.eclipse.ui.actions.NewProjectAction.run(NewProjectAction.java:115)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:473)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:565)
	at org.eclipse.jface.action.ActionContributionItem.lambda$4(ActionContributionItem.java:397)
	at org.eclipse.jface.action.ActionContributionItem$$Lambda$58/1500079709.handleEvent(Unknown Source)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4256)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1501)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1524)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1509)
	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1313)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4080)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3706)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:693)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:610)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:483)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1519)


Thanks and regards,

Antonio
Re: Problem with creation of an empty CHESS project/model [message #1833414 is a reply to message #1833273] Mon, 12 October 2020 14:23 Go to previous message
Alberto Debiasi is currently offline Alberto DebiasiFriend
Messages: 84
Registered: March 2018
Member
I tried to reproduce your problem but the project is created correctly.

com.google.common.util.concurrent.Futures.transform belongs to the guava plugin.
If you go to "Help - Installation details - plugins" and type "guava", do you have it (version 15.0.0) installed?
Next Topic:C++ code generation with CHESS
Goto Forum:
  


Current Time: Fri Apr 26 15:03:17 GMT 2024

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

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

Back to the top