I have a problem with the attributetransposer in a workspace that has a couple of httpcallers upstream. In case all the httpcallers get a rejected call (handled with an emailer) no input is going into the AttributeTransposer. I then see the following error showing in the log:
AttributeTransposer Input Input Collector (TeeFactory): Cloned 0 input feature(s) into 0 output feature(s)
AttributeTransposer_Input1509999976 Input Splitter (TeeFactory): Cloned 0 input feature(s) into 0 output feature(s)
AttributeTransposer_ParameterFetcher (TeeFactory): Cloned 0 input feature(s) into 0 output feature(s)
Python Exception <TypeError>: Input must be a string or unicode.
Traceback (most recent call last):
File "<string>", line 86, in close
TypeError: object of type 'NoneType' has no len()
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 99, in close
File "<string>", line 24, in throw
TypeError: Input must be a string or unicode.
AttributeTransposer_PythonCaller (PythonFactory): PythonFactory failed to close properly
AttributeTransposer_PythonCaller (PythonFactory): A fatal error has occurred. Check the logfile above for details
AttributeTransposer_PythonCaller (PythonFactory): A fatal error has occurred. Check the logfile above for details
I didn't expect a transformer to error if no input is coming in. I am probably overlooking something. Any tips to handle this?
Kind regards,
Steven