Page 1 of 1

Error making new script.

Posted: 04 Sep 2020 16:48
by Soulmaster
Busy to make a new script and bij testing getting this error.

4-9-2020 16:46:24: Script Test started for : Nachtprogrammering
4-9-2020 16:46:24: Script no script-lines found!
4-9-2020 16:46:24: System.NullReferenceException
Object reference not set to an instance of an object.
at jY.d6.WNX8(Object , FirstChanceExceptionEventArgs )
at ProppFrexx.ScriptLibrary.GetNextTracks(Object prog, DateTime lastScheduleTime, DateTime nextScheduleTime, Int32 scriptLine)
at ProppFrexx.ScriptTester.<>c__DisplayClass8_0.Uhva()
at System.Threading.Tasks.Task.Execute()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
at System.Threading.ThreadPoolWorkQueue.Dispatch()


4-9-2020 16:46:24: Script Test Exception : Object reference not set to an instance of an object.

Re: Error making new script.

Posted: 04 Sep 2020 17:11
by radio42
Seems you tried to test your script, but the script didn’t contain any script-lines ;-)

Re: Error making new script.

Posted: 04 Sep 2020 17:50
by Soulmaster
Well :) i'm doing what i always do... see screenshots :)

Screenshot_1.jpg
Screenshot_2.jpg

Re: Error making new script.

Posted: 04 Sep 2020 18:12
by Soulmaster
found it. wrong path :) in the first screenshot the path is HBPRI .. where to change that ? found one in config changed it but still that error

Re: Error making new script.

Posted: 04 Sep 2020 18:25
by radio42
You should not manually change a config file and change any paths!
Just delete the script with the wrong path and add the existing script back again.

Re: Error making new script.

Posted: 04 Sep 2020 18:31
by Soulmaster
Done, started new script... still hbpri as path..

Re: Error making new script.

Posted: 05 Sep 2020 08:52
by radio42
I don’t get your issue?! When you select an existing script file and add that to your script-library, you explicitly select that file from a given path. So how can that be wrong! This is impossible!
The same when you create a brand new script you are able to not only select a name of the script but also a new path. So that cannot be wrong.

So please explain in detail what you are doing and where a wrong path should appear?!

Re: Error making new script.

Posted: 05 Sep 2020 11:09
by Soulmaster
well it doesnt matter anymore :( the music computer is broken : ( powerunit and motherboard gone :( and it isn't fryday the 13th :(