-79850 UDT field count was not set in UDTMetaData
Explanation
Your application called UDTManager.createUDTClass() without first specifying the number of fields in the internal data structure that defines the opaque type.
User response
Specify the number of fields by calling UDTMetaData.setFieldCount().