Cannot use variable for Source Uri

May 5, 2016 at 10:33 PM
I attempted to use a variable for the Source Uri, and received a Null Pointer Reference Exception, even with the variable hardcoded. It looks like model.DataSource.SourceUri is being used several times in the PrimeOutput() method, when it is not being set for variables

I ended up adding the following line on line 253 in the PreExecute() method, which fixed the issue:
m.DataSource.SourceUri = uri;
Great work, I look forward to your next build.
Coordinator
May 8, 2016 at 9:11 PM
Hi,

you are right, there was an error with the code. However your fix would not correct the problem in general. I've fixed it with the last release. Please update it and confirm that is working now.

Alberto.
Marked as answer by webking on 5/8/2016 at 2:12 PM
May 9, 2016 at 6:14 PM
It worked beautifully. Thank you!