[jboss-jira] [JBoss JIRA] Commented: (JBAS-8780) "No original methods found" error when deploying EJBs that extend base classes
Ales Justin (JIRA)
jira-events at lists.jboss.org
Wed Dec 29 08:03:18 EST 2010
[ https://issues.jboss.org/browse/JBAS-8780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12572464#comment-12572464 ]
Ales Justin commented on JBAS-8780:
-----------------------------------
OK, let me move this to MDR.
Was this introduced with Carlo's bridge check impl?
> "No original methods found" error when deploying EJBs that extend base classes
> ------------------------------------------------------------------------------
>
> Key: JBAS-8780
> URL: https://issues.jboss.org/browse/JBAS-8780
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Deployers
> Affects Versions: 6.0.0.Final
> Reporter: Richard Kennard
> Assignee: Ales Justin
> Priority: Critical
> Attachments: JBAS-8780.patch
>
>
> An error, new to JBoss 6 (works okay in JBoss 5.1.0)...
> "java.lang.IllegalStateException: No original methods found"
> ...halts deployment when you try to deploy an EJB that subclasses a base class with public methods.
> For example, if you have a base class 'PersistentEntityBean' that has a bunch of methods related to loading/saving/deleting, and then you extend that base class with 'EmployerBean' simply to override loading/saving (but without adding any extra methods), it will fail to deploy.
> A workaround (from the forum) appears to be to override *every* subclassed method and just call 'super'. However this error even occurs for public final methods, which clearly cannot be overridden.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list