Hi,
I'm trying to debug this problem:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=104450&a....
The exception is thrown from this aspect:
public Object handleCreateTextMessage(Invocation invocation) throws Throwable
| {
| JBossTextMessage jbm = new JBossTextMessage(0);
|
| MethodInvocation mi = (MethodInvocation)invocation;
|
| if (mi.getArguments() != null)
| {
| jbm.setText((String)mi.getArguments()[0]);
| }
|
| return new TextMessageProxy(jbm);
| }
|
What should MethodInvocation.getArguments() return when there are no arguments? Can it
ever return null? Do all AOP versions behave the same way or has this changed?
Thanks,
Sergey
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4031174#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...