Bug #1980

Unable to create Listener with basic type

Added by N. Köster almost 5 years ago.

Status:NewStart date:09/03/2014
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

The creation of a listener with a basic type as in

<transition event="RSBEventOnScope:/home/wardrobe/motionsensor" target="Human_Present">
   <rsb:listener rsb:type="string" rsb:scope="/home/wardrobe/motionsensor"></rsb:listener>
</transition>

fails with:

java.lang.IllegalArgumentException: RST type 'string' does not exist
    at rsb.scxml.RSXUtils.registerRstConverter(RSXUtils.java:35)
    at rsb.scxml.RSBParticipantManager.startListener(RSBParticipantManager.java:42)
    at rsb.scxml.Engine.instantiateTransitionListeners(Engine.java:145)
    at rsb.scxml.Engine.start(Engine.java:163)
    at rsb.scxml.EngineRunner.main(EngineRunner.java:53)

The engine should allow the creation of basic types .

Also available in: Atom PDF