LAE

Welcome to the LAE community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Discussions

Members

Resources

Events

 View Only
  • 1.  BRX Failing but returning a RunExitCode of 0

    Employee
    Posted 10-10-2017 22:45

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: Carl_Morris

    Hi,

    I am calling a graph using the 'Execute BRX' node, everything within the BRX graph runs succesfully and it gives a RunExitCode of 0, but there is a red cross over the node upon completion. When I look at the error log, I can see a warning for 'Node reported the following messages to stderr: R6025 - pure virtual function call', this is all the messages I can see.

    Why would the node be failing, if I am receiving a successful exit code? Is there anywhere else I can look?

    This is being run through automation and I have other graphs running fine using the Execute BRX node.

    Thanks,

    Carl


  • 2.  RE: BRX Failing but returning a RunExitCode of 0

    Employee
    Posted 10-11-2017 04:47

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: gmullin

    To figure out where its going wrong you need to get the latest brs and import it into your graph to get the run status. You should find it in <LAE Temp Dir>/<Username>/<GraphName>.


  • 3.  RE: BRX Failing but returning a RunExitCode of 0

    Employee
    Posted 10-11-2017 14:42

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: Carl_Morris

    I have loaded the latest BRS for both graphs, the one calling the graph and the one that is then run, and the only errored node is the 'Execute BRX' one.
    I have attached a screenshot showing the BRX output and the RunExitCode.
    Error_Issue_Screenshot.PNG

    I was expecting something to have failed in the graph called by the BRX but cannot find anything.

    Carl


  • 4.  RE: BRX Failing but returning a RunExitCode of 0

    Employee
    Posted 10-11-2017 15:31

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: gmullin

    What does the brs on the graph that the brx is running show? Just to clarify you have all of your Run Parameters defined going into the BRX node? They need to all be there, even if null and not going to be used in the run.


  • 5.  RE: BRX Failing but returning a RunExitCode of 0

    Employee
    Posted 10-11-2017 15:43

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: Carl_Morris

    The graph that the BRX runs looks fine, when the BRS is loaded. All the nodes appear with a green tick over them and the very last node writes a entry to my log table, as expected.
    All the parameters are passed correctly into the graph and the outputs are as expected.


  • 6.  RE: BRX Failing but returning a RunExitCode of 0

    Employee
    Posted 10-11-2017 16:15

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: gmullin

    The final node in your main graph (the one the BRX node runs) writes data to a table? What database is it? As a test, can you disable the node that writes to the table and compile the BRX again and try it? I think the Pure Virtual Call error might be coming from whatever driver you use to write to your database, so trying to isolate if that is it. I saw this error before when somebody was writing to a Redshift database, ultimately the driver needed to be updated.

    It might be best to continue this outside of the forum, can you send the results of the test to Technical Support?



  • 7.  RE: BRX Failing but returning a RunExitCode of 0

    Employee
    Posted 10-11-2017 20:17

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: Carl_Morris

    I had sent an email but I appear to have resolved the issue.

    It seems that I need to add a link between the clocks on the 'Execute BRX' node and the preceding one, in my example a filter. Once this is added it completes successfully.
    I found this out because the graph ran fine when not using Automation, but when I had the graph scheduled it failed. I remembered having a similar issue, so thought I would try linking the clocks.
    Do you know why this would make a difference when the graph is scheduled?


  • 8.  RE: BRX Failing but returning a RunExitCode of 0

    Employee
    Posted 10-12-2017 08:43

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: stonysmith

    Which version of LAE are you using? I vaguely remember an issue before 6.1.2 where implicit clocks didn't always work as expected.


  • 9.  RE: BRX Failing but returning a RunExitCode of 0

    Employee
    Posted 10-12-2017 08:53

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: gmullin

    I'm thinking since you are running the BRX node inside a Logistics Manager job that because its a BRX (it will execute whatever it can first) its trying to start it a bit too early, i.e. before the Filter node. It should not do that but if it is, the clocking to it probably explicitly told it to wait until the Filter had set up the parameters.


  • 10.  RE: BRX Failing but returning a RunExitCode of 0

    Employee
    Posted 10-12-2017 16:45

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: Carl_Morris

    Originally posted by: stonysmith
    					

    Which version of LAE are you using? I vaguely remember an issue before 6.1.2 where implicit clocks didn't always work as expected.
    We are using 6.1.3. Adding a clock has resolved the issue

    Originally posted by: gmullin
    					

    I'm thinking since you are running the BRX node inside a Logistics Manager job that because its a BRX (it will execute whatever it can first) its trying to start it a bit too early, i.e. before the Filter node. It should not do that but if it is, the clocking to it probably explicitly told it to wait until the Filter had set up the parameters.
    Thanks for the explanation, I will remember this for next time and always add a clock, just to make sure.