Bug when using YTimerType for Time with Via Variable

Questions you have about using YAWL

Bug when using YTimerType for Time with Via Variable

Postby dfahland » Tue Mar 22, 2016 9:05 pm

Hi,

I am experiencing an IllegalArgumentException in YAWL 3.0.1 in the following situation.

I am storing a DateTime value in a YTimerType net-level variable x through a task A. The value for x is accepted by the input form of task A.
I am using the value of x to auto-complete a subsequent task B using the "Via Variable" field. The moment B is enabled, I am getting the following exception:

[WARN] org.yawlfoundation.yawl.engine.YWorkItem.unpackTimerParams - Unable to se
t timer for workitem '10:waiting' - Malformed expiry value
Exception in thread "pool-5-thread-9" java.lang.NullPointerException
at org.yawlfoundation.yawl.engine.YWorkItem.toXML(YWorkItem.java:875)
at org.yawlfoundation.yawl.engine.interfce.interfaceB.InterfaceB_EngineBasedClient$Handler.run(InterfaceB_EngineBasedClient.java:367)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

The same model works fine when using a duration value for variable x, e.g., PT30S. Here is a minimal example: https://www.dropbox.com/s/nsesh9kew6y6f ... .yawl?dl=0

I assume there is little I can do, but it would be nice if this was fixed for the next release.

Cheers,
Dirk
dfahland
 
Posts: 1
Joined: Tue Mar 22, 2016 8:58 pm

Re: Bug when using YTimerType for Time with Via Variable

Postby michael » Thu May 19, 2016 11:43 pm

Dirk, thanks for the report. Indeed, this problem was fixed a while back and is included in the 4.0 and later releases.
User avatar
michael
 
Posts: 259
Joined: Tue Sep 29, 2009 8:26 am


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron