Skip to content

[GUI/Psychology] Running new scenario with default settings causes attributes not found exception

Summary

Creating a new scenario and running it with default settings leads to attributes not found exception.

Current bug behavior?

Running the new scenario causes

  • AttributesNotFoundException: org.vadere.state.attributes.models.psychology.perception.AttributesSimplePerceptionModel
  • AttributesNotFoundException: org.vadere.state.attributes.models.psychology.perception.AttributesSimplePerceptionModel

This occurs because the attributes are not defined.

gui_psychology

Correct behavior?

Running a new scenario should be possible with default settings (given that a source and a corresponding target are created). That is, an exception should be raised neither for SimplePerceptionModel nor for SimpleCognitionModel.

Steps to reproduce

Open the GUI, create a new scenario, load OSM as the locomotion model, (define source and corresponding target) and run the scenario.

Starting point

Add missing attributes by default to json node scenario.psychologyLayer.attributesModel.

Edited by Rahn, Simon
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information