Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 356456 - Papyrus don't show properties
Summary: Papyrus don't show properties
Status: CLOSED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 0.8.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-01 08:03 EDT by davide di domenico CLA
Modified: 2012-04-11 05:29 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description davide di domenico CLA 2011-09-01 08:03:18 EDT
Build Identifier: Build id: 20110218-0911

eclipse.buildId=M20110210-1200
java.version=1.6.0_26
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=it_IT
Framework arguments:  -product org.eclipse.epp.package.modeling.product
Command-line arguments:  -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.modeling.product


Error
Thu Sep 01 14:00:12 CEST 2011
Ignoring provider org.eclipse.papyrus.properties.tabbed.core.view.XMLPropertyTabViewProvider since it threw an exception or error in the provides() method

java.lang.NullPointerException
	at org.eclipse.core.internal.runtime.Activator.getURLConverter(Activator.java:313)
	at org.eclipse.core.runtime.FileLocator.resolve(FileLocator.java:227)
	at org.eclipse.papyrus.properties.runtime.view.XMLPropertyViewProvider.getXmlFile(XMLPropertyViewProvider.java:254)
	at org.eclipse.papyrus.properties.tabbed.core.view.XMLPropertyTabViewProvider.getConfigurationContent(XMLPropertyTabViewProvider.java:172)
	at org.eclipse.papyrus.properties.tabbed.core.view.XMLPropertyTabViewProvider.configure(XMLPropertyTabViewProvider.java:134)
	at org.eclipse.papyrus.properties.runtime.view.PropertyViewService$ProviderDescriptor.getProvider(PropertyViewService.java:237)
	at org.eclipse.papyrus.properties.runtime.view.PropertyViewService$ProviderDescriptor.provides(PropertyViewService.java:217)
	at org.eclipse.gmf.runtime.common.core.service.Service.safeProvides(Service.java:860)
	at org.eclipse.gmf.runtime.common.core.service.ExecutionStrategy.getUncachedProviders(ExecutionStrategy.java:255)
	at org.eclipse.gmf.runtime.common.core.service.Service.getProviders(Service.java:538)
	at org.eclipse.gmf.runtime.common.core.service.ExecutionStrategy$4.execute(ExecutionStrategy.java:179)
	at org.eclipse.papyrus.properties.tabbed.core.view.PropertyServiceUtil.getTabDescriptors(PropertyServiceUtil.java:33)
	at org.eclipse.papyrus.properties.tabbed.core.provider.XMLBasedTabDescriptorProvider.getTabDescriptors(XMLBasedTabDescriptorProvider.java:68)
	at org.eclipse.ui.internal.views.properties.tabbed.view.TabbedPropertyRegistry.getTabDescriptors(TabbedPropertyRegistry.java:285)
	at org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage.setInput(TabbedPropertySheetPage.java:718)
	at org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage.selectionChanged(TabbedPropertySheetPage.java:555)
	at org.eclipse.ui.views.properties.PropertySheet.partActivated(PropertySheet.java:338)
	at org.eclipse.ui.part.PageBookView.showBootstrapPart(PageBookView.java:920)
	at org.eclipse.ui.part.PageBookView.createPartControl(PageBookView.java:491)
	at org.eclipse.ui.views.properties.PropertySheet.createPartControl(PropertySheet.java:156)
	at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:375)
	at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:229)
	at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
	at org.eclipse.ui.internal.Perspective.showView(Perspective.java:2245)
	at org.eclipse.ui.internal.WorkbenchPage.busyShowView(WorkbenchPage.java:1071)
	at org.eclipse.ui.internal.WorkbenchPage$20.run(WorkbenchPage.java:3822)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
	at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:3819)
	at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:3795)
	at org.eclipse.gmf.runtime.common.ui.util.WorkbenchPartActivator$ShowViewRunnable.run(WorkbenchPartActivator.java:72)
	at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:179)
	at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
	at org.eclipse.swt.widgets.Display.syncExec(Display.java:4282)
	at org.eclipse.gmf.runtime.common.ui.util.WorkbenchPartActivator.showView(WorkbenchPartActivator.java:129)
	at org.eclipse.gmf.runtime.common.ui.util.WorkbenchPartActivator.showPropertySheet(WorkbenchPartActivator.java:179)
	at org.eclipse.gmf.runtime.diagram.ui.actions.ShowPropertiesViewAction.doRun(ShowPropertiesViewAction.java:67)
	at org.eclipse.gmf.runtime.common.ui.action.AbstractActionHandler.run(AbstractActionHandler.java:359)
	at org.eclipse.gmf.runtime.common.ui.action.ActionManager$1.run(ActionManager.java:225)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
	at org.eclipse.gmf.runtime.common.ui.action.ActionManager.run(ActionManager.java:223)
	at org.eclipse.gmf.runtime.common.ui.action.AbstractActionHandler.runWithEvent(AbstractActionHandler.java:377)
	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:1258)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3540)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3161)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
	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(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1384)



Reproducible: Always
Comment 1 Klaas Gadeyne CLA 2011-10-03 07:24:29 EDT
This seems to be very reproducible and annoying...

Download a clean indigo SR1 modeling.  Install papyrus.
File -> new papyrus project -> uml model -> select 'create class diagram' -> finish

You get the exception the moment you create your first model entry.
Comment 2 Klaas Gadeyne CLA 2011-10-03 07:53:15 EDT
It seems like the bug does not trigger if the project is created in the Resource Perspective (as opposed to the Papyrus perspective)
Comment 3 davide di domenico CLA 2011-10-03 07:59:38 EDT
(In reply to comment #2)
> It seems like the bug does not trigger if the project is created in the
> Resource Perspective (as opposed to the Papyrus perspective)

I try it but don't show other that advanced
Comment 4 davide di domenico CLA 2011-10-03 08:01:18 EDT
(In reply to comment #1)
> This seems to be very reproducible and annoying...
> 
> Download a clean indigo SR1 modeling.  Install papyrus.
> File -> new papyrus project -> uml model -> select 'create class diagram' ->
> finish
> 
> You get the exception the moment you create your first model entry.

I don't have an exception. In properties views don't show property UML, Profile and aspect..... but only advancedes
Comment 5 Klaas Gadeyne CLA 2011-10-04 04:44:54 EDT
(In reply to comment #4)
> (In reply to comment #1)
> > This seems to be very reproducible and annoying...
> > 
> > Download a clean indigo SR1 modeling.  Install papyrus.
> > File -> new papyrus project -> uml model -> select 'create class diagram' ->
> > finish
> > 
> > You get the exception the moment you create your first model entry.
> 
> I don't have an exception. In properties views don't show property UML, Profile
> and aspect..... but only advancedes

Euhm, you seem to have reported the exception in comment #1 above?

FWIW, I can/could reproduce this on MS Windows and OS X too.

However, it's less easy to reproduce than I thought.  I cannot reproduce it anymore today :-(
Comment 6 davide di domenico CLA 2011-10-04 04:58:16 EDT
(In reply to comment #5)
> (In reply to comment #4)
> > (In reply to comment #1)
> > > This seems to be very reproducible and annoying...
> > > 
> > > Download a clean indigo SR1 modeling.  Install papyrus.
> > > File -> new papyrus project -> uml model -> select 'create class diagram' ->
> > > finish
> > > 
> > > You get the exception the moment you create your first model entry.
> > 
> > I don't have an exception. In properties views don't show property UML, Profile
> > and aspect..... but only advancedes
> 
> Euhm, you seem to have reported the exception in comment #1 above?
> 
> FWIW, I can/could reproduce this on MS Windows and OS X too.
> 
> However, it's less easy to reproduce than I thought.  I cannot reproduce it
> anymore today :-(

With a new installation of papyrus in indigo sr1 i resolve the excpetion, but with the installation of MARTE profile i can't see the properties on model.
Comment 7 Camille Letavernier CLA 2011-10-04 05:03:20 EDT
> [...] with the installation of MARTE profile i can't see the properties on model.

See bug 353798
Comment 8 davide di domenico CLA 2011-10-04 05:05:06 EDT
(In reply to comment #7)
> > [...] with the installation of MARTE profile i can't see the properties on model.
> 
> See bug 353798

I see but i  don't resolve
Comment 9 Camille Letavernier CLA 2012-04-11 05:29:26 EDT
The conflicting property view has been removed, and a new one has been implemented on the new framework. This bug if fixed.