As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
runtimeService.setVariable(executionId, "domainClassName", "com.vobject.User")
Does it actually store it as a java serialized string? If so, maybe the default variable types are not in the right order. Try debugging the code and putting a breakpoint in DefaultVariableTypes.findVariableType(Object)