Object synchronization method was called from an unsynchronized block of code

I see that quite a few others have reported this problem as well.  I’ve received this error after about 4-5 print calls.


Error Report for PDFCreator v2.2.2.1066

Exception:
System.ApplicationException: Object synchronization method was called from an unsynchronized block of code.
   at System.Threading.Mutex.ReleaseMutex()
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

Environment:
Microsoft Windows NT 6.2.9200.0

Environment variables:
COMPUTERNAME=CLUBAUTOMATION
USERPROFILE=C:\Users\xxxxx
HOMEPATH=\
LOCALAPPDATA=C:\Users\xxxxx\AppData\Local
PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\;c:\Program Files (x86)\Microsoft SQL Server\110\Tools\PowerShell\Modules\;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\PowerShell\Modules\
PROCESSOR_ARCHITECTURE=AMD64
Path=C:\ProgramData\Oracle\Java\javapath;C:\Program Files\ImageMagick-6.9.1-Q16;C:\Python27\;C:\Python27\Scripts;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\Java\jdk1.7.0_79\bin;C:\jython2.7b4;c:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\;c:\Program Files\Microsoft SQL Server\110\Tools\Binn\;c:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio\;c:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies\;c:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\;C:\PSTools;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files\Microsoft SQL Server\120\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\ManagementStudio\;C:\Program Files (x86)\Microsoft SQL Server\120\DTS\Binn\
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
ProgramFiles(x86)=C:\Program Files (x86)
PROCESSOR_LEVEL=6
LOGONSERVER=\\xxxxxAD1
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
HOMEDRIVE=U:
SystemRoot=C:\Windows
USERNAME=xxxxx
SESSIONNAME=RDP-Tcp#0
ALLUSERSPROFILE=C:\ProgramData
PUBLIC=C:\Users\Public
FP_NO_HOST_CHECK=NO
APPDATA=C:\Users\xxxxx\AppData\Roaming
PROCESSOR_REVISION=170a
xxxxxNETPath=C:\Program Files (x86)\xxxxx Software\xxxxx.NET\xxxxxNET.Main.exe
CommonProgramW6432=C:\Program Files\Common Files
CommonProgramFiles=C:\Program Files\Common Files
SESSIONID=2
HOMESHARE=\\main2\users\xxxxx
OS=Windows_NT
USERDOMAIN_ROAMINGPROFILE=SUPPORT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 23 Stepping 10, GenuineIntel
ComSpec=C:\Windows\system32\cmd.exe
SystemDrive=C:
TEMP=C:\Users\xxxx\AppData\Local\Temp\2
ProgramFiles=C:\Program Files
NUMBER_OF_PROCESSORS=2
CLASSPATH=C:/Sikulix1.1/sikulixapi.jar;C:/jython2.7b4/jython.jar;C:/sqljdbc_4.1/enu/sqljdbc4.jar;C:/Python27/Lib/site-packages
TMP=C:\Users\xxxxx\AppData\Local\Temp\2
ProgramData=C:\ProgramData
ProgramW6432=C:\Program Files
USERDOMAIN=SUPPORT
windir=C:\Windows
CLIENTNAME=xxxxx-PC