Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » diagram palette(diagram palette is missing)
diagram palette [message #997127] Thu, 03 January 2013 20:29 Go to next message
joe fessler is currently offline joe fesslerFriend
Messages: 4
Registered: December 2012
Junior Member
Going from bad to worse, I installed a fresh Juno and went about adding the modeling and Papyrus items. It now seems that I can add a new diagram (model.di) but there is no palette. Prior to the fresh installation of Juno, I was using "updated" Indigo-to-Juno but ran into issues trying to generate Java code from the model; but at least the palette displayed and I could build simple diagrams.

Just speculating... missing plugin/dependency? version conflicts? user stupidity?

Yeah, I'm betting on that last one.

Could anyone please provide a way forward for me?
Re: diagram palette [message #997172 is a reply to message #997127] Fri, 04 January 2013 09:08 Go to previous messageGo to next message
Vlad Gheorghe is currently offline Vlad GheorgheFriend
Messages: 115
Registered: May 2011
Senior Member
Have you tried with a fresh workspace, too ?

Vlad
Re: diagram palette [message #997262 is a reply to message #997172] Fri, 04 January 2013 19:24 Go to previous messageGo to next message
joe fessler is currently offline joe fesslerFriend
Messages: 4
Registered: December 2012
Junior Member
Same story with a new workspace.

Now, an observation (but not a pleasant one):

In this new workspace, right-click->New->Other->Papyrus->Papyrus Project follows through the usual wizard. If a project is created by naming the project and clicking Finish, subsequent opening of the model.dl produces an empty tab panel.

If, instead, the Next button is clicked, progressing through selection of the diagram language (UML), checking UML Class Diagram (e.g.) and THEN Finish, the New Papyrus Project dialog remains active and a second click of Finish closes the procedure. The result here though produces a tab panel with no label. Closing that tab and attempting to reopen the model.dl throws a NullPointerException.

At no time does a palette show.

The observation above also applies to the old workspace, so at least that much is consistent.
Re: diagram palette [message #997374 is a reply to message #997262] Mon, 07 January 2013 09:06 Go to previous messageGo to next message
Camille Letavernier is currently offline Camille LetavernierFriend
Messages: 511
Registered: February 2011
Senior Member
Hello Joe,

If the wizard cannot complete when you click "Finish" the first time, this means that an error occured. Do you have an entry in the error log?


Regards,
Camille


Camille Letavernier
Papyrus developer
Re: diagram palette [message #997502 is a reply to message #997374] Mon, 07 January 2013 20:08 Go to previous message
joe fessler is currently offline joe fesslerFriend
Messages: 4
Registered: December 2012
Junior Member
Indeed there are errors. After first clearing the error log, the attached file shows entries starting with the attempt to add a new Papyrus project to the workspace. As mentioned earlier, the empty tab presents itself (just shows the close X in the tab and the panel is blank). After Xing that tab and attempting to reopen the .di, the NPE is thrown.

This time, after checking the box for class diagram, then Finish, the process seemed to complete and the New Papyrus Project dialog closed.



On an immediately subsequent project addition using the same sequence of events, the Finish button did not close the dialog and produced:

Unhandled event loop exception

java.lang.NullPointerException
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:3112)
at org.eclipse.ui.internal.WorkbenchPage.access$22(WorkbenchPage.java:3020)
at org.eclipse.ui.internal.WorkbenchPage$8.run(WorkbenchPage.java:3002)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2998)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2962)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2953)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:655)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:614)
at org.eclipse.papyrus.uml.diagram.wizards.CreateModelWizard.openDiagram(CreateModelWizard.java:383)
at org.eclipse.papyrus.uml.diagram.wizards.CreateModelWizard.createAndOpenPapyrusModel(CreateModelWizard.java:181)
at org.eclipse.papyrus.uml.diagram.wizards.CreateModelWizard.performFinish(CreateModelWizard.java:156)
at org.eclipse.papyrus.uml.diagram.wizards.NewPapyrusProjectWizard.performFinish(NewPapyrusProjectWizard.java:114)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:827)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:432)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
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:4169)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at org.eclipse.ui.internal.handlers.WizardHandler$New.executeHandler(WizardHandler.java:259)
at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:279)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:290)
at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:76)
at sun.reflect.GeneratedMethodAccessor110.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:231)
at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:212)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:131)
at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:171)
at org.eclipse.ui.internal.handlers.LegacyHandlerService.executeCommand(LegacyHandlerService.java:500)
at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
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:4169)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1045)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:940)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:587)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:542)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
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:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
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:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
Previous Topic:dealing with Papyrus's files
Next Topic:writing stereotype properties
Goto Forum:
  


Current Time: Fri Dec 26 03:06:18 GMT 2014

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

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