Error when bacgroun...
 
Notifications
Clear all

Error when bacground sequence turning off

12 Posts
5 Users
0 Reactions
5,008 Views
Posts: 190
Topic starter
(@vziukas)
Reputable Member
Joined: 19 years ago
[#9229]

Hi Vixen users ...

I have problem Vixen ver. 2.1.4.0
When I setup bacground sequence everything working fine, but the moment programs tries to kick in (start) I getting error message

---------------------------
(Router)
An output plugin caused the following exception:
Value cannot be null.

Execution has been stopped.
---------------------------

I using only 1 active plugin (Renard modified)
Background sequence is simple:

void Start() {
while (true) {
On(ChannelRange(Stogas_1,8), At(50));
On(ChannelRange(Eglute_1,6), At(50));
On(ChannelRange(Eglute_7,6), At(50));
On(Channels(Langai_1,Langai_2), At(50));
On(Channels(Virsune_Raudona,ChannelRange(Egle_Raud_1,12)), At(90), For(1).Second, Wait);
}
}

Both background and program(set of sequences) working fine. Just the moment when scheduler starting program error comes in.
And I feel that its related with stopping background sequence.

Please any idea ?


11 Replies
Posts: 190
Topic starter
(@vziukas)
Reputable Member
Joined: 19 years ago

Update:
I got same error even when background sequence is running and I'm unchecking "Enable background sequence" check-box in Tools. So its definitely related with stopping that Renard plug-in 🙁

Also just find out that even in the script editor, when I click Play and after that Stop got error (after hit stop)

any ideas ?


Reply
Posts: 190
Topic starter
(@vziukas)
Reputable Member
Joined: 19 years ago

UPDATE:
Looks like issue exist even I take out all plugins. If I do not have while loop and script finish by itself everything fine. But If I stop it I getting error.
I try on 2 different PC. Same.


Reply
dirknerkle
Posts: 10310
(@dirknerkle)
Illustrious Member
Joined: 18 years ago

Sometimes we expect all applications to behave alike, so that when we make a configuration change and then hit 'start' again, we assume it should work.

Instead, make the configuration change, save it, then exit the program completely. Wait a moment, then restart the application, load the intended sequence and run it.

Sometimes it's a Windows issue - Windows may not release some resources while the app is still loaded in memory. Closing and restarting the app usually causes Windows to refresh better and you get a cleaner start.

Ever had anyone say, "yeah, reboot your computer?" Rebooting is the ultimate "windows feature" :rolleyes: that clears memory space...


Reply
Posts: 190
Topic starter
(@vziukas)
Reputable Member
Joined: 19 years ago

Yes, I know that well. I'm myself .net developer and doing coding 8 hours a day

And I keep trying different testing methods to find exact issue which causing that. I installed new 2.1 vixen (it upgrades to 2.1.4), create new sequence with new channels, create new script, import channels, put very simple simple script in while loop, even no plug ins attached I getting that error.

Are you using background scripts with vixen ?


Reply
Page 1 / 3
Share: