You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apex.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/04/16 02:58:25 UTC
[jira] [Commented] (APEXCORE-434) ClassCastException when making
webservice calls to STRAM in secure mode
[ https://issues.apache.org/jira/browse/APEXCORE-434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15243915#comment-15243915 ]
ASF GitHub Bot commented on APEXCORE-434:
-----------------------------------------
GitHub user PramodSSImmaneni opened a pull request:
https://github.com/apache/incubator-apex-core/pull/310
APEXCORE-434 Workaround for Jersey Client method to check if a filter is already added
@davidyan74 please review
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/PramodSSImmaneni/incubator-apex-core APEXCORE-434
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-apex-core/pull/310.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #310
----
commit 9a385de8d91f037ad0b6dd2419450101fa1b7387
Author: Pramod Immaneni <pr...@datatorrent.com>
Date: 2016-04-16T00:53:59Z
APEXCORE-434 Alternate way of keeping track of filters that are already added by using a wrapper method since the original underlying method of checking for added filters from Jersey Client throws a ClassCastException
----
> ClassCastException when making webservice calls to STRAM in secure mode
> -----------------------------------------------------------------------
>
> Key: APEXCORE-434
> URL: https://issues.apache.org/jira/browse/APEXCORE-434
> Project: Apache Apex Core
> Issue Type: Bug
> Affects Versions: 3.3.0
> Reporter: Pramod Immaneni
> Assignee: Pramod Immaneni
>
> Started noticing this exception when making web service calls to STRAM in secure mode
> java.lang.ClassCastException: com.sun.jersey.client.apache4.ApacheHttpClient4Handler cannot be cast to com.sun.jersey.api.client.filter.ClientFilter
> at com.sun.jersey.api.client.filter.Filterable.isFilterPreset(Filterable.java:138)
> at com.datatorrent.stram.client.StramAgent.getStramWebURIBuilder(StramAgent.java:219)
> at com.datatorrent.stram.client.StramAgent.issueStramWebRequest(StramAgent.java:275)
> at com.datatorrent.stram.client.StramAgent.issueStramWebRequest(StramAgent.java:305)
> at com.datatorrent.stram.client.StramAgent.issueStramWebGetRequest(StramAgent.java:311)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)