PalladioSimulator / Palladio-Analyzer-Slingshot

0 stars 1 forks source link

Optional models still have to be provided #11

Closed kjuli closed 1 year ago

kjuli commented 1 year ago

Even though it is possible to mark a model config as optional, the simulation will fail as soon as a simulation behavior extension wants to be created. Guice does not allow to inject nulls, unless the optional parameters are explicitly marked as @Nullable. Furthermore, the extensions will still listen to events, which could lead to a NullPointerException if we allow nullable parameters.

This should obviously be resolved.

kjuli commented 1 year ago

Now works fine