Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.1.4
-
None
Description
Any @Asynchronous method that returns void and has an @LocalBean proxy results in:
java.lang.ClassCastException: org.apache.openejb.core.ivm.EjbObjectProxyHandler$FutureAdapter cannot be cast to java.lang.Void
at org.superbiz.accesstimeout.BusyBee$LocalBeanProxy.stayBusy(org/superbiz/accesstimeout/BusyBee.java)
at org.superbiz.accesstimeout.BusyBeeTest.test(BusyBeeTest.java:37)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at com.intellij.junit3.JUnit3IdeaTestRunner.doRun(JUnit3IdeaTestRunner.java:108)
at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:64)