SimuLizar fails for Standard Set of Measuring Points created with Measurements Dashboard

Description

When using the Measurements Dashboard to create all standard measurement points for the Acquire Example (cf. ), measurement points and/or monitors are created that are not supported by SimuLizar.

Steps to reproduce

  • Open Acquire Example (see )

  • Open view "Measurements Dashboard"

  • Select the automatically created "default.monitorrepository" (in my case, when the project does not contain a .monitorrepository yet) in the model explorer

  • Click button "Create Standard Set"

  • Select "create monitors and measuring points", then "next"

  • Select "select all" (and this probably is the problem, but this should be supported), then "finish"

Running SimuLizar with this default.monitorrepository causes the following exception:

Caused by: java.lang.IllegalArgumentException: Could not find EObject for MeasuringPoint "Operation: Assembly_Impl <Impl>.Provided_ILock_Impl.acquire" – most likely this type of measuring point is not yet implemented within in getEObjectFromPCMMeasuringPoint or getEObjectFromGeneralMeasuringPoint methods.
{{ at org.palladiosimulator.simulizar.utils.MonitorRepositoryUtil.getMonitoredElement(MonitorRepositoryUtil.java:95)}}
{{ {{ at org.palladiosimulator.simulizar.interpreter.listener.AbstractProbeFrameworkListener.createStartAndStopProbe(AbstractProbeFrameworkListener.java:293)}}}}

If we want to include the creation of standard measurement points in the release (which would be great), this should be fixed.

I see two options

  • update the creation of the standard set to only create monitors that are supported

  • extend SimuLizar to support all created monitors

Probably the first option is simpler and may suffice.

 

Environment

None

Activity

Show:
Sebastian Krach
November 22, 2019, 2:16 PM

Should be "fixed" once and are accepted. Support for monitoring response time on assembly level remains open ().

Sebastian Krach
November 18, 2019, 2:27 PM

Initialization of Utilization monitors fails due to

Fixed

Assignee

Sebastian Krach

Reporter

Anne Koziolek