I have some code that is basically the following:
public Integer ejbHomeGetId() throws FinderException { return ejbSelectIdByLoginName(ctxt.getCallerPrincipal().getName()); }
You can create a bug report under the JBoss Application Server in JIRA at:
http://jira.jboss.com
It will be nice if you can attach a test deployment to the JIRA case that shows the error.