Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Error: Cannot create Papyrus Project (Oxygen)
Error: Cannot create Papyrus Project (Oxygen) [message #1758070] Thu, 23 March 2017 09:25 Go to next message
Marion Jost is currently offline Marion JostFriend
Messages: 3
Registered: May 2016
Junior Member
Hello,

I'm using Eclipse Modeling Tools
Version: Oxygen Release Milestone 6 (4.7.0 M6)
Build id: 20170316-1528

I've tried installing Papyrus on Oxygen and got the following error:

null org.eclipse.amalgam.discovery.ui Error
Problems occurred while performing installation: Operation details

java.lang.RuntimeException: Operation details
at org.eclipse.amalgam.discovery.ui.common.internal.PrepareInstallProfileJob.resolve(PrepareInstallProfileJob.java:143)
at org.eclipse.amalgam.discovery.ui.common.internal.PrepareInstallProfileJob.run(PrepareInstallProfileJob.java:104)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)

After this I tried installing it with the "Install Manager" (Help > Install New Software...) which worked.
But creating a new Papyrus Project throws this error:

null org.eclipse.ui Error
Unhandled event loop exception

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.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.infra.emf.gmf.command.NestingNotifyingWorkspaceCommandStack.execute(NestingNotifyingWorkspaceCommandStack.java:130)
at org.eclipse.papyrus.uml.diagram.wizards.wizards.CreateModelWizard.createPapyrusModels(CreateModelWizard.java:609)
at org.eclipse.papyrus.uml.diagram.wizards.wizards.CreateModelWizard.createAndOpenPapyrusModel(CreateModelWizard.java:307)
at org.eclipse.papyrus.uml.diagram.wizards.wizards.CreateModelWizard.performFinish(CreateModelWizard.java:268)
at org.eclipse.papyrus.uml.diagram.wizards.wizards.NewPapyrusProjectWizard.performFinish(NewPapyrusProjectWizard.java:104)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:778)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:417)
at org.eclipse.jface.dialogs.Dialog.lambda$0(Dialog.java:619)
at org.eclipse.swt.events.SelectionListener$1.widgetSelected(SelectionListener.java:80)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:249)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4431)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4241)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3820)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:818)
at org.eclipse.jface.window.Window.open(Window.java:794)
at org.eclipse.ui.internal.actions.NewWizardShortcutAction.run(NewWizardShortcutAction.java:133)
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.swt.widgets.EventTable.sendEvent(EventTable.java:86)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4431)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4241)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3820)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1145)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1034)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:680)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:594)
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(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:653)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
at org.eclipse.equinox.launcher.Main.run(Main.java:1499)

I would appreciate any hint on what I am doing wrong or how I can overcome these error.

Thank you,
MJ
Re: Error: Cannot create Papyrus Project (Oxygen) [message #1758799 is a reply to message #1758070] Mon, 03 April 2017 09:42 Go to previous message
Florian Noyrit is currently offline Florian NoyritFriend
Messages: 16
Registered: February 2016
Location: Grenoble, France
Junior Member
Dear Marion,

I cannot reproduce the error.
Yet this bug seems to be related to a guava version conflict.
Try with last nightly build.

Should you have the same problem, please don't hesitate to file a bug on https://bugs.eclipse.org/bugs/.

Best regards.

/Florian

Previous Topic:Question regarding Papyrus Editor Pages
Next Topic:Difference between "Action Execution Specification" and "Behavior Execution Specifica
Goto Forum:
  


Current Time: Sat Oct 05 13:04:26 GMT 2024

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

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

Back to the top