[
http://jira.jboss.com/jira/browse/JBAOP-585?page=comments#action_12415085 ]
Andrew Lee Rubinger commented on JBAOP-585:
-------------------------------------------
From Kabir:
You can add a test under
https://svn.jboss.org/repos/jbossas/projects/aop/trunk/aop/src/test/org/j...
These are not woven. And then add your test to the not-woven-tests target in
build-test-jdk50.xml
NPE in Dispatcher during Incorrect Cast
---------------------------------------
Key: JBAOP-585
URL:
http://jira.jboss.com/jira/browse/JBAOP-585
Project: JBoss AOP
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 2.0.0.CR10
Reporter: Andrew Lee Rubinger
Assigned To: Andrew Lee Rubinger
When attempting to cast into a type unsupported by a Proxy interface, the AOP Dispatcher
is erring out with NPE.
Caused by: java.lang.NullPointerException
at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:117)
at
org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:850)
at
org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:727)
at
org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:672)
at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:495)
at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:207)
at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:223)
at org.jboss.remoting.Client.invoke(Client.java:1708)
at org.jboss.remoting.Client.invoke(Client.java:612)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira