[jboss-jira] [JBoss JIRA] (AS7-2574) setter declared in a superclass prevents SAR deployments from being deployed
Stuart Douglas (Assigned) (JIRA)
jira-events at lists.jboss.org
Sun Nov 13 03:44:40 EST 2011
[ https://issues.jboss.org/browse/AS7-2574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stuart Douglas reassigned AS7-2574:
-----------------------------------
Assignee: Richard Opalka
The main issue here appears to be the use of ClassReflectionIndex, which only has methods from the current class, not the superclass. This code should instead use DeploymentReflectionIndex, and iterate over the class heirachy.
In addition some of this code stores the index in the runtime Services (e.g. CreateDestroy service). This index is supposed to be a deployment time only construct, the methods should be resolved in a DUP and passed into the service.
> setter declared in a superclass prevents SAR deployments from being deployed
> ----------------------------------------------------------------------------
>
> Key: AS7-2574
> URL: https://issues.jboss.org/browse/AS7-2574
> Project: Application Server 7
> Issue Type: Bug
> Affects Versions: 7.0.2.Final
> Environment: jdk1.6.0_29, win7 32bit, cygwin
> Reporter: Radim Hanus
> Assignee: Richard Opalka
>
> java.lang.IllegalStateException: No such set method for property 'xxx' found on class XXX
> is thrown when the property setter is not declared in bean class but superclass
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list