You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Rahul Akolkar (JIRA)" <ji...@apache.org> on 2010/08/27 17:16:53 UTC
[jira] Resolved: (SCXML-155) Final State Error
[ https://issues.apache.org/jira/browse/SCXML-155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rahul Akolkar resolved SCXML-155.
---------------------------------
Resolution: Not A Problem
The SCXMLDigester class is deprecated in v0.9. Use SCXMLParser instead, which supports <final>.
> Final State Error
> ------------------
>
> Key: SCXML-155
> URL: https://issues.apache.org/jira/browse/SCXML-155
> Project: Commons SCXML
> Issue Type: Bug
> Affects Versions: 0.9
> Environment: Windows XP ,Eclipse
> Reporter: Ajar B. Mathur
> Priority: Minor
>
> Final State Transition Target not found error is generated even though it is present in SCXML definition.
> <final id="STOP"></final>
> The below final state definition works:
> <state id="STOP" final="true"></state>
> As per latest working draft :
> http://www.w3.org/TR/scxml/#final
> <state> supports only id=""and initial="" attribute, and <final> is separate tag.
> Error Detail:
> Aug 11, 2010 3:22:40 PM org.apache.commons.scxml.io.ModelUpdater logAndThrowModelError
> SEVERE: Transition target with ID "STOP" not found
> Aug 11, 2010 3:22:40 PM org.apache.commons.scxml.SCXMLTestHelper digest
> SEVERE: Transition target with ID "STOP" not found
> org.apache.commons.scxml.model.ModelException: Transition target with ID "STOP" not found
> at org.apache.commons.scxml.io.ModelUpdater.logAndThrowModelError(ModelUpdater.java:287)
> at org.apache.commons.scxml.io.ModelUpdater.updateTransition(ModelUpdater.java:257)
> at org.apache.commons.scxml.io.ModelUpdater.updateState(ModelUpdater.java:173)
> at org.apache.commons.scxml.io.ModelUpdater.updateSCXML(ModelUpdater.java:77)
> at org.apache.commons.scxml.io.SCXMLDigester.digest(SCXMLDigester.java:252)
> at org.apache.commons.scxml.SCXMLTestHelper.digest(SCXMLTestHelper.java:79)
> at org.apache.commons.scxml.SCXMLTestHelper.digest(SCXMLTestHelper.java:62)
> at org.apache.commons.scxml.SCXMLTestHelper.getExecutor(SCXMLTestHelper.java:162)
> at com.connectgaia.water.EngineTest.testEngine(EngineTest.java:47)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at junit.framework.TestCase.runTest(TestCase.java:168)
> at junit.framework.TestCase.runBare(TestCase.java:134)
> at junit.framework.TestResult$1.protect(TestResult.java:110)
> at junit.framework.TestResult.runProtected(TestResult.java:128)
> at junit.framework.TestResult.run(TestResult.java:113)
> at junit.framework.TestCase.run(TestCase.java:124)
> at junit.framework.TestSuite.runTest(TestSuite.java:243)
> at junit.framework.TestSuite.run(TestSuite.java:238)
> at junit.textui.TestRunner.doRun(TestRunner.java:116)
> at junit.textui.TestRunner.doRun(TestRunner.java:109)
> at junit.textui.TestRunner.run(TestRunner.java:77)
> at com.connectgaia.water.EngineTest.main(EngineTest.java:86)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.