Tuesday, February 3, 2009

jboss deployment problem

I was getting an NPE like this one when I was trying to deploy a new .ear file. If I removed the @RemoteBinding off the bean, it worked fine.

at java.util.Arrays$ArrayList.(Arrays.java:3357)
at java.util.Arrays.asList(Arrays.java:3343)
at org.jboss.ejb3.stateless.StatelessRemoteProxyFactory


For about 5 minutes, I couldn't figure out what this pointless exception is until I realized I was missing the reference to the @Remote interface at the end of the bean. Since I couldn't find any other references to this on the net, I figured I'd add it here and file a bug with JBoss as well.

No comments: