[ 
https://issues.apache.org/jira/browse/SCXML-104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12662652#action_12662652
 ] 

Jorge Vila Forcén commented on SCXML-104:
-----------------------------------------

Thank you!

I mistaken the choice of version

I fixed it in the svn as well, I hope I have done correctly as it was my 
first commit in Apache commons :-)

Nevertheless, I am using a modified version of the AbstractStateMachine 
as the SimpleDispatcher does not processes the delay in the <send> 
events, does it?

I will try to make you a new proposal for the constructors.

Great job with SCXML!!

Best regards
JORGE




> AbstractStateMachine log error
> ------------------------------
>
>                 Key: SCXML-104
>                 URL: https://issues.apache.org/jira/browse/SCXML-104
>             Project: Commons SCXML
>          Issue Type: Bug
>    Affects Versions: 0.9
>         Environment: commons-scxml 0.9
>            Reporter: Jorge Vila Forcén
>            Priority: Minor
>             Fix For: 0.10, 1.0
>
>   Original Estimate: 0.17h
>  Remaining Estimate: 0.17h
>
> Using the constructor of AbstractStateMachine
>    public AbstractStateMachine(final SCXML stateMachine) 
>    Invokes the following constructor:
>     public AbstractStateMachine(final SCXML stateMachine,
>             final Context rootCtx, final Evaluator evaluator) {
>         initialize(stateMachine, rootCtx, evaluator);
>     }
>     And the initialize method.
>     private void initialize(final SCXML stateMachine,
>             final Context rootCtx, final Evaluator evaluator) {
>         engine = new SCXMLExecutor(evaluator, new SimpleDispatcher(),
>             new SimpleErrorReporter());
>         engine.setStateMachine(stateMachine);
>         engine.setSuperStep(true);
>         engine.setRootContext(rootCtx);
>         engine.addListener(stateMachine, new EntryListener());
>         try {
>             engine.go();
>         } catch (ModelException me) {
>             logError(me);
>         }
>     }
>     Any exception raised in the "engine.go()" initial processing is captured 
> and logged, but the log is not initialized properly.
>    First sentence in "initialise()" method should be:
>            log = LogFactory.getLog(this.getClass());

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to