[Android 5.1.1] com.llamalab.automate.RequiredArgumentNullException: Fiber URI

1,194 views
Skip to first unread message

Fellipe F.

unread,
May 8, 2015, 10:56:05 AM5/8/15
to automa...@googlegroups.com
Hi,

I have a flow that use the blocks Give and Take Vars, but the block Give Vars is throwing the following exception when I put in the Taker Fiber URI a child fiber URI:

"com.llamalab.automate.RequiredArgumentNullException: Fiber URI"

When I use the Parent fiber URI it work fine. So, I would like to ask/know if I'm using this block in the wrong way or if it's a bug. Follow below part of my flow:


  Begin
      |
    (...)
      |
     Fork
(pt_1/ch_1)
       |-----------------------------------------------------------------+
       |                                                                 |
     Fork                                                            (...)
(pt_2/ch_2)                                                        |      
      |--------------------------------- +                               |
      |                                  |                          Give Vars
      |                           Take Vars               (#1, ch_2, var)
      |                          ( ,var, ch_1)                       |
      |                                  |                              (...)
      |--------------------------------- +                               |
When ch_1 stop                                               End
      |
    (...)
      |
     End


Thanks!
BR,

Fellipe F.

Automate developer

unread,
May 8, 2015, 1:39:52 PM5/8/15
to automa...@googlegroups.com, fellip...@gmail.com
The Fork block only assigns the Parent URI in the newly created fiber (NEW dot), and the Child Fiber URI to the existng parent/forking fiber (OK dot).

The Variables give block uses the Parent URI to known to which ancestor it should send the variables.

The Variables take block doesn't need any Fiber URI input argument, it however do have an Fiber URI output variable, which can be used to check where the variables came from.

Please check out this example:
http://llamalab.com/automate/community/flows/563

Fellipe F.

unread,
May 11, 2015, 9:23:23 AM5/11/15
to automa...@googlegroups.com, fellip...@gmail.com
This solve my problem. Thank you!

BR,

Fellipe F.


Em sexta-feira, 8 de maio de 2015 14:39:52 UTC-3, Automate developer escreveu:
The Fork block only assigns the Parent URI in the newly created fiber (NEW dot), and the Child Fiber URI to the existng parent/forking fiber (OK dot).

The Variables give block must use the Parent URI, so giving fiber knows to which ancestor it should send the variables.
Reply all
Reply to author
Forward
0 new messages