//log.error("paramType: "+paramType.getName());
if (paramType.isPrimitive() && t==null){
//cannot cast null to primitve
} else {
Object[] arguments = new Object[]{ t };
m.invoke(returnObject,arguments);
}
} else {
log.error("could not find a setter-method from Structured table. Is there a setter-method for " + fieldName + " in Class " + targetClass.getName());
}