commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raj Rao (JIRA)" <>
Subject [jira] Created: (SCXML-22) The engine must report error/warning when invalid events are triggered
Date Thu, 28 Sep 2006 08:12:50 GMT
The engine must report error/warning when invalid events are triggered

                 Key: SCXML-22
             Project: Commons SCXML
          Issue Type: Improvement
    Affects Versions: 0.5
         Environment: Win XP Professional, jdk 1.4.02
            Reporter: Raj Rao

The semantics must report an error/warning/notification when an invalid event is triggered,
instead of silently discarding it. An invalid event is one that is not specified for the current
Here's an excerpt of a converstaion, where the suggested workaround was not applicable. This
requirement is crucial for me.

> Hello,
> I tried sending an invalid event to the state machine
> and didn't see any error being reported. By invalid I
> mean this event was not expected in the current state.
> Does the SCXMLSemanticsImpl report an error (via the
> the ErrorReporter) when such an event is silently
> discarded?

No, because the semantics treat it as simply an inconsequential
trigger (causing no change to the state machine), rather than an

One of the ways you could track this is to register a SCXMLListener on
the executor and track onTransition() callbacks (if you get none, the
trigger is "invalid" -- per your definition above).


This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message