[palladio-dev] Display Error - Resource Demands in SEFFs

Steffen Becker steffen.becker at uni-paderborn.de
Fri Mar 9 07:48:25 CET 2012


Hi,

I see the same problem here, also the icons of the ResourceDemands and 
Variable Characterisations have been reseted to defaults. I guess there 
were some changes to the metamodel or the generated code causing some 
problems here? Is there a bug entry for this in Jira?

Best
Steffen


Am 29.02.12 11:08, schrieb Christian F Vogel:
> Hi,
>
> since the new PCM nightly updates this month, I've noticed a strange bug:
> In the SEFF diagrams no ResourceDemands will be displayed any more!
>
> If I want to add a new RD, then I can select the type and specify the
> value, but nothing changes in the diagram.
> Instead I get an exception in the Eclipse Error Log. When I open the
> model Repository as textfile, then I can see, that the RD has been
> added. So this seems only to be a UI and display problem in the diagrams.
>
> Does anybody else also experiences this error, or is there something
> wrong with my Eclipse? I use Eclipse 3.7.2 ModelingTools with the latest
> PCM nightly build.
>
> Kind regards
> Chris
>
>
>
> eclipse.buildId=M20120208-0800
> java.version=1.6.0_26
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
> Framework arguments: -product org.eclipse.epp.package.modeling.product
> Command-line arguments: -os win32 -ws win32 -arch x86 -product
> org.eclipse.epp.package.modeling.product -clean
>
> Error
> Wed Feb 29 11:00:54 CET 2012
> execute
>
> org.eclipse.core.commands.ExecutionException: While executing the
> operation, an exception occurred
> at
> org.eclipse.core.commands.operations.DefaultOperationHistory.execute(DefaultOperationHistory.java:521)
>
> at
> org.eclipse.gmf.runtime.diagram.ui.parts.DiagramCommandStack.execute(DiagramCommandStack.java:206)
>
> at
> org.eclipse.gmf.runtime.diagram.ui.parts.DiagramCommandStack.execute(DiagramCommandStack.java:169)
>
> at
> org.eclipse.gmf.runtime.diagram.ui.parts.DiagramCommandStack.execute(DiagramCommandStack.java:156)
>
> at org.eclipse.gef.tools.AbstractTool.executeCommand(AbstractTool.java:425)
> at
> org.eclipse.gef.tools.AbstractTool.executeCurrentCommand(AbstractTool.java:438)
>
> at
> org.eclipse.gmf.runtime.diagram.ui.tools.CreationTool.performCreation(CreationTool.java:133)
>
> at org.eclipse.gef.tools.CreationTool.handleButtonUp(CreationTool.java:189)
> at org.eclipse.gef.tools.AbstractTool.mouseUp(AbstractTool.java:1200)
> at org.eclipse.gef.EditDomain.mouseUp(EditDomain.java:301)
> at
> org.eclipse.gef.ui.parts.DomainEventDispatcher.dispatchMouseReleased(DomainEventDispatcher.java:380)
>
> at
> org.eclipse.draw2d.LightweightSystem$EventHandler.mouseUp(LightweightSystem.java:548)
>
> at
> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:219)
> 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:4165)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
> at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
>
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> at
> org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
>
> 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:344)
>
> 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:622)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
> Caused by: org.eclipse.core.runtime.AssertionFailedException: null
> argument:failed to create a view
> at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:85)
> at
> org.eclipse.gmf.runtime.diagram.ui.commands.CreateCommand.doExecuteWithResult(CreateCommand.java:96)
>
> at
> org.eclipse.gmf.runtime.emf.commands.core.command.AbstractTransactionalCommand.doExecute(AbstractTransactionalCommand.java:247)
>
> at
> org.eclipse.emf.workspace.AbstractEMFOperation.execute(AbstractEMFOperation.java:150)
>
> at
> org.eclipse.gmf.runtime.common.core.command.CompositeCommand.doExecuteWithResult(CompositeCommand.java:403)
>
> at
> org.eclipse.gmf.runtime.common.core.command.AbstractCommand.execute(AbstractCommand.java:134)
>
> at
> org.eclipse.gmf.runtime.common.core.command.CompositeCommand.doExecuteWithResult(CompositeCommand.java:403)
>
> at
> org.eclipse.gmf.runtime.common.core.command.AbstractCommand.execute(AbstractCommand.java:134)
>
> at
> org.eclipse.core.commands.operations.DefaultOperationHistory.execute(DefaultOperationHistory.java:513)
>
> ... 36 more

-- 
Jun.-Prof. Dr.-Ing. Steffen Becker

University of Paderborn                Phone:  (+49 5251) 60-3320
Heinz Nixdorf Institute                Fax:    (+49 5251) 60-3530
& Department of Computer Science       Office: ZM1.02-10
Software Engineering Research Group    E-Mail: steffen.becker at upb.de
Zukunftsmeile 1
33102 Paderborn
Germany



More information about the palladio-dev mailing list