[jboss-jira] [JBoss JIRA] (WFLY-8481) ClassCastException upon trying to invoke asynchronous method in bean running in EAP7.1 from 7.0 legacy EJB client
Stuart Douglas (JIRA)
issues at jboss.org
Thu Mar 30 23:43:00 EDT 2017
[ https://issues.jboss.org/browse/WFLY-8481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stuart Douglas moved JBEAP-10044 to WFLY-8481:
----------------------------------------------
Project: WildFly (was: JBoss Enterprise Application Platform)
Key: WFLY-8481 (was: JBEAP-10044)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: EJB
(was: EJB)
Affects Version/s: (was: 7.1.0.DR14)
> ClassCastException upon trying to invoke asynchronous method in bean running in EAP7.1 from 7.0 legacy EJB client
> -----------------------------------------------------------------------------------------------------------------
>
> Key: WFLY-8481
> URL: https://issues.jboss.org/browse/WFLY-8481
> Project: WildFly
> Issue Type: Bug
> Components: EJB
> Reporter: Stuart Douglas
> Assignee: Stuart Douglas
> Priority: Critical
>
> Upon asynchronous call from 7.0 client to bean deployed on 7.1 server, the following exception is produced:
> {code}Mar 17, 2017 7:25:36 AM org.jboss.as.quickstarts.ejb.asynchronous.client.AsynchronousClient fireAndForget
> INFO: The server log should contain a message at (about) Fri Mar 17 07:25:51 UTC 2017, indicating that the call to the asynchronous bean completed.
> Exception in thread "main" java.lang.ClassCastException: java.lang.String cannot be cast to java.util.concurrent.Future
> at com.sun.proxy.$Proxy0.longerRunning(Unknown Source)
> at org.jboss.as.quickstarts.ejb.asynchronous.client.AsynchronousClient.getResultAsync(AsynchronousClient.java:88)
> at org.jboss.as.quickstarts.ejb.asynchronous.client.AsynchronousClient.main(AsynchronousClient.java:159){code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list