[jboss-jira] [JBoss JIRA] Commented: (JBMETA-21) No context shown in: java.lang.IllegalArgumentException: No ejb local ref name
Alexey Loubyansky (JIRA)
jira-events at lists.jboss.org
Fri Apr 25 11:45:09 EDT 2008
[ http://jira.jboss.com/jira/browse/JBMETA-21?page=comments#action_12410761 ]
Alexey Loubyansky commented on JBMETA-21:
-----------------------------------------
That means the argument is null. The message can be changed to say that. It would be easier to check the argument for null before calling the method or catching the exception and re-throwing it adding to the message the missing context info. Since the AbstractMappedMetaData (and the environment metadata subclasses) can be referenced from various metadata classes representing ejb, war or client.
If you agree, I can fix the message and close the issue.
> No context shown in: java.lang.IllegalArgumentException: No ejb local ref name
> ------------------------------------------------------------------------------
>
> Key: JBMETA-21
> URL: http://jira.jboss.com/jira/browse/JBMETA-21
> Project: JBoss Metadata
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: Carlo de Wolf
> Assigned To: Alexey Loubyansky
>
> java.lang.IllegalArgumentException: No ejb local ref name
> at org.jboss.metadata.javaee.support.AbstractMappedMetaData.get(AbstractMappedMetaData.java:107)
--
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
More information about the jboss-jira
mailing list