[jboss-jira] [JBoss JIRA] Commented: (JBSEAM-323) NPE when calling WebRemote method returning interface
Shane Bryzak (JIRA)
jira-events at jboss.com
Wed Aug 2 21:46:11 EDT 2006
[ http://jira.jboss.com/jira/browse/JBSEAM-323?page=comments#action_12340463 ]
Shane Bryzak commented on JBSEAM-323:
-------------------------------------
I've changed the while-loop from this:
while (!c.equals(Object.class))
to this:
while (c != null && !c.equals(Object.class))
which should fix the NPE. Please let me know if this fixes your issue.
> NPE when calling WebRemote method returning interface
> -------------------------------------------------------
>
> Key: JBSEAM-323
> URL: http://jira.jboss.com/jira/browse/JBSEAM-323
> Project: JBoss Seam
> Issue Type: Bug
> Components: Remoting
> Affects Versions: 1.1
> Reporter: Michael Steiner
> Priority: Minor
>
> InterfaceGenerator calls c = c.getSuperclass(); for interaces it is null than calls !c.equals(Object.class) and this throws NullPointerException.
--
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