AWS Thinkbox Discussion Forums

System.ArgumentNullException after update to Deadline 10.1.2.2

Hi,

I’ve updated Deadline from 10.0.24.4 to 10.1.2.2, and haven’t been able to render a task since because of a System.ArgumentNullException error, of which I have no idea how to fix it.
I’ve tried to uninstall and reinstall the repository, the database and the clients, but without result.
I’m using Cinema 4D with redshift to render my jobs. I also tried submitting with and without the batch plugin, and also submitting manually from within the monitor. Every time the error is the same.

This is the job report:

=======================================================
Error

Value cannot be null.
Parameter name: encoding (System.ArgumentNullException)
at System.IO.StreamWriter…ctor(Stream stream, Encoding encoding, Int32 bufferSize, Boolean leaveOpen)
at System.IO.StreamWriter…ctor(Stream stream, Encoding encoding, Int32 bufferSize)
at FranticX.Processes.ChildProcess.i(String bx, String by, String bz)
at FranticX.Processes.ChildProcess.Launch(String executable, String arguments, String startupDirectory)
at FranticX.Processes.ManagedProcess.Execute(Boolean waitForExit)
at Deadline.Plugins.DeadlinePlugin.DoRenderTasks()
at Deadline.Plugins.PluginWrapper.RenderTasks(String taskId, Int32 startFrame, Int32 endFrame, String& outMessage, AbortLevel& abortLevel)
at Deadline.Plugins.PluginWrapper.RenderTasks(String taskId, Int32 startFrame, Int32 endFrame, String& outMessage, AbortLevel& abortLevel)

=======================================================
Type

RenderPluginException

=======================================================
Stack Trace

at Deadline.Plugins.Plugin.RenderTask(String taskId, Int32 startFrame, Int32 endFrame)
at Deadline.Slaves.SlaveRenderThread.c(TaskLogWriter adz)

=======================================================
Log

2020-01-01 16:26:53: 0: Loading Job’s Plugin timeout is Disabled
2020-01-01 16:26:53: 0: INFO: Executing plugin script ‘C:\Users\Thomas Minnaert.PACKMAN\AppData\Local\Thinkbox\Deadline10\slave\PACKMAN-WS1\plugins\5e0cb8d52d68b327ac43dd8d\Cinema4D.py’
2020-01-01 16:26:53: 0: INFO: About: Cinema 4D Plugin for Deadline
2020-01-01 16:26:53: 0: INFO: Render Job As User disabled, running as current user ‘Thomas Minnaert’
2020-01-01 16:26:53: 0: INFO: The job’s environment will be merged with the current environment before rendering
2020-01-01 16:26:53: 0: Start Job timeout is disabled.
2020-01-01 16:26:53: 0: Task timeout is disabled.
2020-01-01 16:26:53: 0: Loaded job: Lima Land Furikake (3 labels) - Lima Land Furikake Seaweed (5e0cb8d52d68b327ac43dd8d)
2020-01-01 16:26:53: 0: DEBUG: S3BackedCache Client is not installed.
2020-01-01 16:26:53: 0: INFO: Executing global asset transfer preload script ‘C:\Users\Thomas Minnaert.PACKMAN\AppData\Local\Thinkbox\Deadline10\slave\PACKMAN-WS1\plugins\5e0cb8d52d68b327ac43dd8d\GlobalAssetTransferPreLoad.py’
2020-01-01 16:26:53: 0: INFO: Looking for legacy (pre-10.0.26) AWS Portal File Transfer…
2020-01-01 16:26:53: 0: INFO: Looking for legacy (pre-10.0.26) File Transfer controller in C:/Program Files/Thinkbox/S3BackedCache/bin/task.py…
2020-01-01 16:26:53: 0: INFO: Could not find legacy (pre-10.0.26) AWS Portal File Transfer.
2020-01-01 16:26:53: 0: INFO: Legacy (pre-10.0.26) AWS Portal File Transfer is not installed on the system.
2020-01-01 16:26:53: 0: Plugin rendering frame(s): 0
2020-01-01 16:26:53: 0: INFO: Starting Cinema 4D Task
2020-01-01 16:26:53: 0: INFO: Stdout Redirection Enabled: True
2020-01-01 16:26:53: 0: INFO: Stdout Handling Enabled: True
2020-01-01 16:26:53: 0: INFO: Popup Handling Enabled: True
2020-01-01 16:26:53: 0: INFO: QT Popup Handling Enabled: False
2020-01-01 16:26:53: 0: INFO: WindowsForms10.Window.8.app.* Popup Handling Enabled: False
2020-01-01 16:26:53: 0: INFO: Using Process Tree: True
2020-01-01 16:26:53: 0: INFO: Hiding DOS Window: True
2020-01-01 16:26:53: 0: INFO: Creating New Console: False
2020-01-01 16:26:53: 0: INFO: Running as user: Thomas Minnaert
2020-01-01 16:26:53: 0: INFO: Not enforcing a build of Cinema 4D
2020-01-01 16:26:53: 0: INFO: Executable: “C:\Program Files\MAXON\CINEMA 4D R20\Commandline.exe”
2020-01-01 16:26:53: 0: INFO: Argument: -nogui -noopengl -render “Q:\Lima NV\LIM-2019-441-Limaland - Furikake\C4D\Lima Land Furikake (3 labels).c4d” -frame 0 0 -take “Lima Land Furikake Seaweed” -oresolution 4000 2250 -redshift-log-console Debug
2020-01-01 16:26:53: 0: INFO: Full Command: “C:\Program Files\MAXON\CINEMA 4D R20\Commandline.exe” -nogui -noopengl -render “Q:\Lima NV\LIM-2019-441-Limaland - Furikake\C4D\Lima Land Furikake (3 labels).c4d” -frame 0 0 -take “Lima Land Furikake Seaweed” -oresolution 4000 2250 -redshift-log-console Debug
2020-01-01 16:26:53: 0: INFO: Startup Directory: “C:\Program Files\MAXON\CINEMA 4D R20”

Any help in resolving this issue would be much appreciated.

Greetings,

Thomas

This is fixed by completely resetting the Windows 10 installation and reinstalling everything.

In your debugging before the full re-install did you try updating the .NET Runtime? That would wind up happening anyways once you re-install Windows, but it might be an option for anyone who comes across this in the future.

I did not try that, but I’ve kept a backup of the system’s state before the re-install.
If I can find some spare time in the next few days, I’ll try to update .net and report back.

Keep us posted if you get a chance! Its really the only thing that changed between the 10.0.x versions and 10.1.x, so it seems like a likely culprit.

Though it complaining about ‘encoding’ makes me wonder about there being some language issue? But I can’t find any evidence to support this suspicion.

Privacy | Site terms | Cookie preferences