Issue with spring-aop after upgrade to 6.6

I've just upgraded to 6.6 and I'm having an issue with an aspect (using spring-aop). If I comment out the aspect in the pu.xml my tests pass, but with the aspect in I get the following exception. This worked fine in 6.5.0.


SEVERE [org.openspaces.events.polling.SimplePollingEventListenerContainer]: [examplePollingEventContainer] Execution of event listener failed org.openspaces.events.adapter.ListenerExecutionFailedException: Listener event method 'exampleMethod' threw exception; nested exception is java.lang.ClassCastException: $Proxy20 at org.openspaces.events.adapter.AbstractReflectionEventListenerAdapter.onEventWithResult(AbstractReflectionEventListenerAdapter.java:164) at org.openspaces.events.adapter.AbstractResultEventListenerAdapter.onEvent(AbstractResultEventListenerAdapter.java:79) at org.openspaces.events.AbstractEventListenerContainer.invokeListener(AbstractEventListenerContainer.java:136) at org.openspaces.events.polling.AbstractPollingEventListenerContainer.doReceiveAndExecute(AbstractPollingEventListenerContainer.java:283) at org.openspaces.events.polling.AbstractPollingEventListenerContainer.receiveAndExecute(AbstractPollingEventListenerContainer.java:225) at org.openspaces.events.polling.SimplePollingEventListenerContainer$AsyncEventListenerInvoker.invokeListener(SimplePollingEventListenerContainer.java:676) at org.openspaces.events.polling.SimplePollingEventListenerContainer$AsyncEventListenerInvoker.run(SimplePollingEventListenerContainer.java:617) at java.lang.Thread.run(Thread.java:595) Caused by: java.lang.ClassCastException: $Proxy20 at com.gigaspaces.reflect.method.com.example.service.ExampleService.invoke2.invoke(Unknown Source) at org.openspaces.events.adapter.AbstractReflectionEventListenerAdapter.onEventWithResult(AbstractReflectionEventListenerAdapter.java:156)

... 7 more

I'm using the following pointcut expression:

execution(* com.example.service..(..)) and args(target, ..)

Any help would be great, even if it's go back to 6.5....

Thanks h4. Attachments

[sample-pu.zip|/upfiles/13759706888113844.zip]

{quote}This thread was imported from the previous forum. For your reference, the original is [available here|http://forum.openspaces.org/thread.jspa?threadID=2625]{quote}

asked 2008-09-29 11:28:10 -0600

nkeating gravatar image

updated 2013-08-08 09:52:00 -0600

jaissefsfex gravatar image
edit retag flag offensive close merge delete