[jboss-jira] [JBoss JIRA] (WFLY-9788) EJB over HTTP fails with Arrays in Request
jaikiran pai (JIRA)
issues at jboss.org
Tue Feb 13 05:15:00 EST 2018
[ https://issues.jboss.org/browse/WFLY-9788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13532160#comment-13532160 ]
jaikiran pai edited comment on WFLY-9788 at 2/13/18 5:14 AM:
-------------------------------------------------------------
Any chance you can try this against WildFly 11 or even WildFly master with this patch?
Just to clarify, the patch in my PR wasn't meant to address a CCE as I (now) see in your stacktrace. When I ran the tests against WildFly upstream without the patch, for a method accepting array as an argument, I ran into an issue where it wasn't finding the right method to invoke on. The patch in the PR addresses that. I haven't been able reproduce the CCE against WildFly upstream with/without my patch.
was (Author: jaikiran):
Any chance you can try this against WildFly 11 or even WildFly master with this patch?
> EJB over HTTP fails with Arrays in Request
> ------------------------------------------
>
> Key: WFLY-9788
> URL: https://issues.jboss.org/browse/WFLY-9788
> Project: WildFly
> Issue Type: Bug
> Components: EJB
> Affects Versions: 11.0.0.Final
> Reporter: Heiko Lettmann
> Attachments: Test.zip
>
>
> I stumbled over the issue WFLY-9573. Then I updated to wildfly-http-client-1.0.9.Final which made a few invocations work. There I discovered another issue. I attached a modified Quickstart version to demonstrate it!
> Exception is on the client side:
> Exception in thread "main" javax.ejb.EJBException: java.io.IOException: java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.String
> at org.jboss.as.ejb3.remote.AssociationImpl.receiveInvocationRequest(AssociationImpl.java:128)
> at org.wildfly.httpclient.ejb.HttpInvocationHandler.lambda$handleInternal$0(HttpInvocationHandler.java:130)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
> Caused by: java.io.IOException: java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.String
> at org.wildfly.httpclient.ejb.HttpInvocationHandler$1.getRequestContent(HttpInvocationHandler.java:204)
> at org.jboss.as.ejb3.remote.AssociationImpl.receiveInvocationRequest(AssociationImpl.java:126)
> ... 4 more
> Caused by: java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.String
> at org.wildfly.httpclient.ejb.HttpInvocationHandler$1.getRequestContent(HttpInvocationHandler.java:178)
> ... 5 more
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list