Object reference not set to an instance of an object. with log

=============================================================================
2023-09-21 19:19:38: BEGIN - LSH0002229\blabla
2023-09-21 19:19:38: Operating System: Windows 10 Pro
2023-09-21 19:19:38: CPU Architecture: x64
2023-09-21 19:19:38: CPUs: 20
2023-09-21 19:19:38: Video Card: NVIDIA GeForce RTX 3080
2023-09-21 19:19:38: Deadline Monitor 10.3 [v10.3.0.10 Release (ac90e7082)]
2023-09-21 19:19:38: Time to initialize: 62.000 ms
2023-09-21 19:19:42: Auto Configuration: No auto configuration for Repository Path could be detected, using local configuration
2023-09-21 19:19:43: Auto Configuration: Picking configuration based on: LSH0002229 / 10.1.80.47
2023-09-21 19:19:43: Auto Configuration: No auto configuration could be detected, using local configuration
2023-09-21 19:19:43: Time to connect to Repository: 531.000 ms
2023-09-21 19:19:43: Time to check user account: 0.000 s
2023-09-21 19:19:43: Time to purge old logs and temp files: 0.000 s
2023-09-21 19:19:43: Time to synchronize plugin icons: 297.000 ms
2023-09-21 19:19:45: Time to initialize main window: 1.078 s
2023-09-21 19:19:45: Main Window shown
2023-09-21 19:19:45: Python 3.10.12 | packaged by Thinkbox Software | (main, Jul 4 2023, 13:33:55) [MSC v.1933 64 bit (AMD64)]
2023-09-21 19:19:45: Time to show main window: 110.000 ms
2023-09-21 19:20:00: Exception on Startup: Object reference not set to an instance of an object. (FranticX.Scripting.PythonNetException)
2023-09-21 19:20:00: at Deadline.Jobs.JobProperties.Equals(Object obj)
2023-09-21 19:20:00: at Deadline.Jobs.Job.Equals(Object jobObject)
2023-09-21 19:20:00: at Python.Runtime.ClassBase.tp_richcompare(BorrowedReference ob, BorrowedReference other, Int32 op) in C:\thinkbox-conda\conda-bld\dotnet_pythonnet_1688438502375\work\src\runtime\Types\ClassBase.cs:line 208
2023-09-21 19:20:00: at Python.Runtime.Runtime.PyImport_ExecCodeModule(String name, BorrowedReference code) in C:\thinkbox-conda\conda-bld\dotnet_pythonnet_1688438502375\work\src\runtime\Runtime.cs:line 870
2023-09-21 19:20:00: at Python.Runtime.PythonEngine.ModuleFromString(String name, String code, String fileName) in C:\thinkbox-conda\conda-bld\dotnet_pythonnet_1688438502375\work\src\runtime\PythonEngine.cs:line 579
2023-09-21 19:20:00: at FranticX.Scripting.PythonNetScriptEngine.ExecuteFile(String scriptFile, String moduleName, Boolean optimizeCode)
2023-09-21 19:20:00: Deadline Monitor will now exit.

I just submitted Command line job.

And after few seconds I got a message called “Object reference not set to an instance of an object. Deadline Monitor will now exit.”

commandline_plugin_info.job

SingleFramesOnly=False
Executable=cmd /C
Arguments=dir
StartupDirectory=
ShellExecute=False
Shell=default

commandline_job_info.job

Plugin=CommandLine
Name=Untitled
Comment=
Department=
Pool=none
SecondaryPool=
Group=none
Priority=50
TaskTimeoutMinutes=0
EnableAutoTimeout=False
ConcurrentTasks=1
LimitConcurrentTasksToNumberOfCpus=True
MachineLimit=0
Whitelist=
LimitGroups=
JobDependencies=
OnJobComplete=Nothing
InitialStatus=Active
Frames=1
ChunkSize=1

About Deadline

Deadline Monitor 10.3

A queue and network monitoring tool for the Deadline Render Management System

Deadline Client Version: 10.3.0.10 Release (ac90e7082)
FranticX Client Version: 2.4.0.0 Release (708beba6f)

License Mode:

Repository Version: 10.3.0.10 (ac90e7082)
Integration Version: 10.3.0.10 (ac90e7082)
3PL Settings Version: 24/08/2023

© 2002-2023 Thinkbox Software Inc

And I managing two database of deadline10db on same server machine.

DeadlineDatabase10
DeadlineDatabaseCm10
DeadlineRepository10
DeadlineRepositoryCm10

I used to submit command line job as a maintenance job such like install application to workers.
And weired thing is here;When I delete this job then monitor no more poping up that message.

Any Helps Thanks.
cheer staffs

Hello

If I understand correctly the crash happens when you submit the job? If yes then I need more information on how are you submitting the job?

I tried to reproduce the issue with the files you have shared here. I could not reproduce my job submits successfully and it renders while the Monitor does not crash. The job does fail because cmd /C is not rooted.

Is Monitor connected through the RCS?

What happens when you reopen the Monitor?

How do you delete the job to get rid of this error?

Share the Worker logs from here: Logs — Deadline 10.3.0.10 documentation stored locally on the machine which ran the job.

Hi.
Thanks for your reply.

Actually the Monitor doesn’t crash immediately at job submission.
The monitor poping a crash message after 4~5 seconds since job submission.

And I start new instance of Monitor, I can handle jobs in few seconds so I can delete the Job but monitor pop up crash message in few seconds.

Both of Repositories are connected through Direct Connection method.

Here’s the Monitor Log from Logs folder.

2023-09-22 14:33:42:  BEGIN - LSH0002229\leeseomhui
2023-09-22 14:33:42:  Operating System: Windows 10 Pro
2023-09-22 14:33:42:  CPU Architecture: x64
2023-09-22 14:33:42:  CPUs: 20
2023-09-22 14:33:42:  Video Card: NVIDIA GeForce RTX 3080
2023-09-22 14:33:42:  Deadline Monitor 10.3 [v10.3.0.10 Release (ac90e7082)]
2023-09-22 14:33:42:  Time to initialize: 62.000 ms
2023-09-22 14:33:47:  Auto Configuration: No auto configuration for Repository Path could be detected, using local configuration
2023-09-22 14:33:47:  Auto Configuration: Picking configuration based on: LSH0002229 / 10.1.80.47
2023-09-22 14:33:47:  Auto Configuration: No auto configuration could be detected, using local configuration
2023-09-22 14:33:47:  Time to connect to Repository: 562.000 ms
2023-09-22 14:33:47:  Time to check user account: 0.000 s
2023-09-22 14:33:47:  Time to purge old logs and temp files: 0.000 s
2023-09-22 14:33:47:  Time to synchronize plugin icons: 235.000 ms
2023-09-22 14:33:53:  Time to initialize main window: 1.485 s
2023-09-22 14:33:53:  Main Window shown
2023-09-22 14:33:53:  Python 3.10.12 | packaged by Thinkbox Software | (main, Jul  4 2023, 13:33:55) [MSC v.1933 64 bit (AMD64)]
2023-09-22 14:33:53:  Time to show main window: 140.000 ms
2023-09-22 14:34:48:  Exception on Startup: Object reference not set to an instance of an object. (FranticX.Scripting.PythonNetException)
2023-09-22 14:34:48:     at Deadline.Jobs.JobProperties.Equals(Object obj)
2023-09-22 14:34:48:     at Deadline.Jobs.Job.Equals(Object jobObject)
2023-09-22 14:34:48:     at Python.Runtime.ClassBase.tp_richcompare(BorrowedReference ob, BorrowedReference other, Int32 op) in C:\thinkbox-conda\conda-bld\dotnet_pythonnet_1688438502375\work\src\runtime\Types\ClassBase.cs:line 208
2023-09-22 14:34:48:     at Python.Runtime.Runtime.PyImport_ExecCodeModule(String name, BorrowedReference code) in C:\thinkbox-conda\conda-bld\dotnet_pythonnet_1688438502375\work\src\runtime\Runtime.cs:line 870
2023-09-22 14:34:48:     at Python.Runtime.PythonEngine.ModuleFromString(String name, String code, String fileName) in C:\thinkbox-conda\conda-bld\dotnet_pythonnet_1688438502375\work\src\runtime\PythonEngine.cs:line 579
2023-09-22 14:34:48:     at FranticX.Scripting.PythonNetScriptEngine.ExecuteFile(String scriptFile, String moduleName, Boolean optimizeCode)
2023-09-22 14:34:48:  Deadline Monitor will now exit.

And here’s the Submission window from Monitor Menu Scripts → Micelleneous → Command Line
Never mind cmd /C things.

The Executable bat file’s contents are;

@echo off
netsh advfirewall firewall delete rule name="Deadline Launcher 10.1"
netsh advfirewall firewall delete rule name="Deadline Worker 10.1"
netsh advfirewall firewall add rule name="Deadline Launcher 10.1" profile=domain protocol=tcp localport=any remoteport=any dir=in action=allow program="C:\program files\thinkbox\deadline10\bin\deadlinelauncher.exe" enable=yes
netsh advfirewall firewall add rule name="Deadline Launcher 10.1" profile=domain protocol=udp localport=any remoteport=any dir=in action=allow program="C:\program files\thinkbox\deadline10\bin\deadlinelauncher.exe" enable=yes
netsh advfirewall firewall add rule name="Deadline Worker 10.1" profile=domain protocol=tcp localport=any remoteport=any dir=in action=allow program="C:\program files\thinkbox\deadline10\bin\deadlineworker.exe" enable=yes
netsh advfirewall firewall add rule name="Deadline Worker 10.1" profile=domain protocol=udp localport=any remoteport=any dir=in action=allow program="C:\program files\thinkbox\deadline10\bin\deadlineworker.exe" enable=yes

Thanks in advance.
Best Regards,