sergiogonzalez/liferay-portal — pull request #341 by matethurzo (2012-09-06 09:48:06+00:00)
Title: [TECH SUPPORT] LPS-29668 Service Builder fix for *LocalServiceClpInvoker classes

Hey Sergio, this is a very very tricky fix. It's not easy to reproduce but you can find steps for it in the ticket itself. The basic problem is that the *LocalSedrviceClpInvoker classes the Service Builder generates are not handling the methods with void return value well. Basically the invokeMethod method of the mentioned class will return with a return value if there is any but if the return value is void it will pass the execution on resulting that the execution will hit the throw new UnsupportedOperationException at the end of this method. The fix is simple: when we have void method return with a null and that's all. Thanks, Mate