openflexo-team / openflexo-core

Openflexo federation infrastructure
2 stars 2 forks source link

A NullPointerException when creating multiple actions in the same behaviour #6

Open OverFlow33 opened 1 year ago

OverFlow33 commented 1 year ago

I'm currently using 2.0.1-ihab and when i try to create multiple behaviour actions (usually when creating more than 2 actions per behaviour) i got a NullPointerException.

Exception java.lang.NullPointerException: at org.openflexo.foundation.fml.controlgraph.Sequence$SequenceImpl.sequentiallyAppend(Sequence.java:143) at org.openflexo.foundation.fml.action.CreateEditionAction.doAction(CreateEditionAction.java:271) at org.openflexo.foundation.action.FlexoAction.doActionInContext(FlexoAction.java:271) at org.openflexo.foundation.DefaultFlexoEditor.performAction(DefaultFlexoEditor.java:156) at org.openflexo.foundation.action.FlexoAction.doAction(FlexoAction.java:231) at org.openflexo.http.server.core.controllers.BehavioursController.addAssignation(BehavioursController.java:347)

sylvain-openflexo commented 1 year ago

This bug is not related to openflexo-http and should be moved to openflexo-core

sylvain-openflexo commented 1 year ago

This bug should be implemented as a unit test in openflexo-core/flexo-foundation-test