After you accessed the object, and before you narrow it, print it out:
System.out.println(obj);
What type does it say it is?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984312#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...